Skip to content

Commit

Permalink
Merge branch 'KelvinTegelaar:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
jephens authored Oct 8, 2024
2 parents d9a69f8 + 669d084 commit ef9766f
Show file tree
Hide file tree
Showing 171 changed files with 3,233 additions and 1,903 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/dev_cippkkxvm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action
# More GitHub Actions for Azure: https://github.com/Azure/actions

name: Build and deploy Powershell project to Azure Function App - cippkkxvm

on:
push:
branches:
- dev
workflow_dispatch:

env:
AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root

jobs:
deploy:
runs-on: windows-latest

steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@v4

- name: 'Run Azure Functions Action'
uses: Azure/functions-action@v1
id: fa
with:
app-name: 'cippkkxvm'
slot-name: 'Production'
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_171C3E2B1E2346AAA333905DFCA62F2D }}
30 changes: 30 additions & 0 deletions .github/workflows/dev_cippkwn4s-auditlog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action
# More GitHub Actions for Azure: https://github.com/Azure/actions

name: Build and deploy Powershell project to Azure Function App - cippkwn4s-auditlog

on:
push:
branches:
- dev
workflow_dispatch:

env:
AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root

jobs:
deploy:
runs-on: windows-latest

steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@v4

- name: 'Run Azure Functions Action'
uses: Azure/functions-action@v1
id: fa
with:
app-name: 'cippkwn4s-auditlog'
slot-name: 'Production'
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_4CBFBE8BE62240D789C371767B49278E }}
30 changes: 30 additions & 0 deletions .github/workflows/dev_cipplwwww-proc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action
# More GitHub Actions for Azure: https://github.com/Azure/actions

name: Build and deploy Powershell project to Azure Function App - cipplwwww-proc

on:
push:
branches:
- dev
workflow_dispatch:

env:
AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root

jobs:
deploy:
runs-on: windows-latest

steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@v4

- name: 'Run Azure Functions Action'
uses: Azure/functions-action@v1
id: fa
with:
app-name: 'cipplwwww-proc'
slot-name: 'Production'
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_B8CE64E970E74E6AB2D6655823D95B1A }}
12 changes: 0 additions & 12 deletions AddAlertSubscription_Queue/function.json

This file was deleted.

15 changes: 0 additions & 15 deletions AddChocoApp_OrchestrationStarterTimer/function.json

This file was deleted.

7 changes: 0 additions & 7 deletions AddChocoApp_OrchestrationStarterTimer/run.ps1

This file was deleted.

15 changes: 0 additions & 15 deletions BestPracticeAnalyser_OrchestrationStarterTimer/function.json

This file was deleted.

3 changes: 0 additions & 3 deletions BestPracticeAnalyser_OrchestrationStarterTimer/run.ps1

This file was deleted.

12 changes: 0 additions & 12 deletions Z_CIPPHttpTrigger/function.json → CIPPHttpTrigger/function.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@
"name": "Subscription",
"queueName": "AlertSubscriptions"
},
{
"type": "queue",
"direction": "out",
"name": "mailboxstats",
"queueName": "generalAllTenantQueue"
},
{
"type": "queue",
"direction": "out",
Expand All @@ -45,12 +39,6 @@
"name": "alertqueue",
"queueName": "alertqueue"
},
{
"type": "queue",
"direction": "out",
"name": "gdapqueue",
"queueName": "gdapqueue"
},
{
"type": "queue",
"direction": "out",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"scriptFile": "../Modules/CippEntrypoints/CippEntrypoints.psm1",
"entryPoint": "Receive-CippTimerTrigger",
"bindings": [
{
"name": "Timer",
"schedule": "0 0 */2 * * *",
"schedule": "0 0/15 * * * *",
"direction": "in",
"type": "timerTrigger"
},
Expand Down
122 changes: 122 additions & 0 deletions CIPPTimers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
[
{
"Command": "Start-UserTasksOrchestrator",
"Description": "Orchestrator to process user scheduled tasks",
"Cron": "0 */15 * * * *",
"Priority": 1,
"RunOnProcessor": true,
"PreferredProcessor": "usertasks"
},
{
"Command": "Start-CIPPProcessorQueue",
"Description": "Timer to handle user initiated tasks",
"Cron": "0 */15 * * * *",
"Priority": 1,
"RunOnProcessor": true
},
{
"Command": "Start-AuditLogOrchestrator",
"Description": "Orchestrator to process audit logs",
"Cron": "0 */15 * * * *",
"Priority": 2,
"RunOnProcessor": true,
"PreferredProcessor": "auditlog",
"IsSystem": true
},
{
"Command": "Start-WebhookOrchestrator",
"Description": "Orchestrator to process webhooks",
"Cron": "0 */15 * * * *",
"Priority": 3,
"RunOnProcessor": true
},
{
"Command": "Start-StandardsOrchestrator",
"Description": "Orchestrator to process standards",
"Cron": "0 0 */4 * * *",
"Priority": 4,
"RunOnProcessor": true,
"PreferredProcessor": "standards"
},
{
"Command": "Start-CIPPGraphSubscriptionCleanupTimer",
"Description": "Orchestrator to cleanup old Graph subscriptions",
"Cron": "0 0 0 * * *",
"Priority": 5,
"RunOnProcessor": true
},
{
"Command": "Start-SchedulerOrchestrator",
"Description": "Orchestrator to process system scheduled tasks",
"Cron": "0 0 * * * *",
"Priority": 6,
"RunOnProcessor": true
},
{
"Command": "Set-CIPPGDAPInviteGroups",
"Description": "Orchestrator to map the groups for GDAP invites",
"Cron": "0 0 */3 * * *",
"Priority": 5,
"RunOnProcessor": true
},
{
"Command": "Start-UpdateTokensTimer",
"Description": "Orchestrator to update tokens",
"Cron": "0 0 0 * * 0",
"Priority": 7,
"RunOnProcessor": true,
"IsSystem": true
},
{
"Command": "Start-CIPPGraphSubscriptionRenewalTimer",
"Description": "Orchestrator to renew Graph subscriptions",
"Cron": "0 15 * * * *",
"Priority": 8,
"RunOnProcessor": true,
"IsSystem": true
},
{
"Command": "Start-DomainOrchestrator",
"Description": "Orchestrator to process domains",
"Cron": "0 0 0 * * *",
"Priority": 10,
"RunOnProcessor": true
},
{
"Command": "Start-UpdatePermissionsOrchestrator",
"Description": "Orchestrator to update CPV permissions",
"Cron": "0 0 0 * * *",
"Priority": 10,
"RunOnProcessor": true,
"IsSystem": true
},
{
"Command": "Start-BillingTimer",
"Description": "Timer to process billing",
"Cron": "0 0 0 * * *",
"Priority": 12,
"RunOnProcessor": true
},
{
"Command": "Start-BPAOrchestrator",
"Description": "Orchestrator to process BPA reports",
"Cron": "0 0 3 * * *",
"Priority": 10,
"RunOnProcessor": true
},
{
"Command": "Start-ExtensionOrchestrator",
"Description": "Orchestrator to process extensions",
"Cron": "0 0 */2 * * *",
"Priority": 12,
"RunOnProcessor": true
},
{
"Command": "Start-CIPPStatsTimer",
"Description": "Timer to process CIPP stats",
"Cron": "0 0 0 * * *",
"Priority": 15,
"RunOnProcessor": true,
"IsSystem": true
}
]
15 changes: 0 additions & 15 deletions Cleanup_OldAuditLogs/function.json

This file was deleted.

9 changes: 0 additions & 9 deletions Cleanup_OldAuditLogs/run.ps1

This file was deleted.

Loading

0 comments on commit ef9766f

Please sign in to comment.