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
Simon-Psenner authored Sep 12, 2024
2 parents 6e03599 + 73d8b96 commit 2753c2f
Show file tree
Hide file tree
Showing 1,284 changed files with 360,417 additions and 77,237 deletions.
22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
insert_final_newline = true

[*.{ps1, psd1, psm1}]
indent_size = 4
end_of_line = crlf
trim_trailing_whitespace = true

[*.json]
indent_size = 2
end_of_line = crlf
trim_trailing_whitespace = true

[*.{md, txt}]
end_of_line = crlf
max_line_length = off
trim_trailing_whitespace = false
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 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 - cippckdtz
name: Build and deploy Powershell project to Azure Function App - cipp4i6t3

on:
push:
Expand All @@ -24,7 +24,7 @@ jobs:
uses: Azure/functions-action@v1
id: fa
with:
app-name: 'cippckdtz'
app-name: 'cipp4i6t3'
slot-name: 'Production'
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_2101C7175BFB47E58240ABD1E72E81C2 }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_9D257A31ACA24925A112AF5FFC2BEAFE }}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 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 - cippy6oom
name: Build and deploy Powershell project to Azure Function App - cippkwn4s

on:
push:
Expand All @@ -15,16 +15,25 @@ env:
jobs:
deploy:
runs-on: windows-latest

permissions:
id-token: write #This is required for requesting the JWT

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


- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_B6BCC8886F40482FB8B43907FCDA6596 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_0D1C65B9099F48FABDF7F7052EA6887F }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_76518AE5ECB34375A414DEEE1119C161 }}

- name: 'Run Azure Functions Action'
uses: Azure/functions-action@v1
id: fa
with:
app-name: 'cippy6oom'
app-name: 'cippkwn4s'
slot-name: 'Production'
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_B9C635E19DF6459F8995BA602EFA638A }}

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 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 - cippeln4y
name: Build and deploy Powershell project to Azure Function App - cipplwwww

on:
push:
Expand All @@ -24,7 +24,7 @@ jobs:
uses: Azure/functions-action@v1
id: fa
with:
app-name: 'cippeln4y'
app-name: 'cipplwwww'
slot-name: 'Production'
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_B82C66E0F3BD4BDD9FFFB32FA83A68C9 }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_00A9A6DFE9244C2EA8952190FFF10F45 }}
29 changes: 0 additions & 29 deletions .github/workflows/dev_cipppwrro.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/ninjaone_cipp426ns.yml

This file was deleted.

5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"editorconfig.editorconfig"
]
}
9 changes: 0 additions & 9 deletions Activity_AddOrUpdateTableRows/function.json

This file was deleted.

12 changes: 0 additions & 12 deletions Activity_AddOrUpdateTableRows/run.ps1

This file was deleted.

9 changes: 0 additions & 9 deletions Activity_GetAllTableRows/function.json

This file was deleted.

6 changes: 0 additions & 6 deletions Activity_GetAllTableRows/run.ps1

This file was deleted.

2 changes: 1 addition & 1 deletion AddAlertSubscription_Queue/function.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"scriptFile": "../Modules/CippEntryPoints/CippEntryPoints.psm1",
"scriptFile": "../Modules/CippEntrypoints/CippEntrypoints.psm1",
"entryPoint": "Receive-CippQueueTrigger",
"bindings": [
{
Expand Down
24 changes: 0 additions & 24 deletions AddChocoApp_OrchestrationStarter/function.json

This file was deleted.

21 changes: 0 additions & 21 deletions AddChocoApp_OrchestrationStarter/run.ps1

This file was deleted.

16 changes: 2 additions & 14 deletions AddChocoApp_OrchestrationStarterTimer/run.ps1
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
param($Timer)

try {
if ($CurrentlyRunning) {
$Results = [pscustomobject]@{'Results' = 'Already running. Please wait for the current instance to finish' }
Write-LogMessage -API 'ChocoApps' -message 'Attempted to start upload but an instance was already running.' -sev Info
}
else {
$InstanceId = Start-NewOrchestration -FunctionName 'Applications_Orchestrator'
Write-Host "Started orchestration with ID = '$InstanceId'"
$Orchestrator = New-OrchestrationCheckStatusResponse -Request $Timer -InstanceId $InstanceId
Write-LogMessage -API 'ChocoApps' -message 'Started uploading applications to tenants' -sev Info
$Results = [pscustomobject]@{'Results' = 'Started running analysis' }
}
Write-Host ($Orchestrator | ConvertTo-Json)
}
catch {
Start-ApplicationOrchestrator
} catch {
Write-Host "AddChocoApp_OrchestratorStarterTimer Exception: $($_.Exception.Message)"
}
4 changes: 2 additions & 2 deletions AddMSPApp/Immybot.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"owner": " ",
"informationUrl": " ",
"privacyInformationUrl": " ",
"fileName": "ninjarmm.intunewin",
"fileName": "immybot.intunewin",
"@odata.type": "#microsoft.graph.win32LobApp",
"applicableArchitectures": "x86, x64",

Expand All @@ -19,7 +19,7 @@
"detectionRules": [
{
"@odata.type": "#microsoft.graph.win32LobAppFileSystemDetection",
"path": "%ProgramData%\\Immyboy\\Bin",
"path": "%ProgramData%\\Immybot\\Bin",
"fileOrFolderName": "Immybot.exe",
"check32BitOn64System": false,
"detectionType": "exists"
Expand Down
4 changes: 2 additions & 2 deletions AddMSPApp/ninjarmm.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"detectionRules": [
{
"@odata.type": "#microsoft.graph.win32LobAppFileSystemDetection",
"path": "%ProgramData%\\Syncro\\Bin",
"fileOrFolderName": "Syncro.Overmind.Service.exe",
"path": "%ProgramData%\\NinjaRMMAgent",
"fileOrFolderName": "ninjarmm-cli.exe",
"check32BitOn64System": false,
"detectionType": "exists"
}
Expand Down
9 changes: 0 additions & 9 deletions Applications_GetQueue/function.json

This file was deleted.

6 changes: 0 additions & 6 deletions Applications_GetQueue/run.ps1

This file was deleted.

9 changes: 0 additions & 9 deletions Applications_Orchestrator/function.json

This file was deleted.

25 changes: 0 additions & 25 deletions Applications_Orchestrator/run.ps1

This file was deleted.

9 changes: 0 additions & 9 deletions Applications_Upload/function.json

This file was deleted.

Loading

0 comments on commit 2753c2f

Please sign in to comment.