Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update AL-Go System Files #769

Merged
merged 1 commit into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
152 changes: 76 additions & 76 deletions .github/AL-Go-Settings.json
Original file line number Diff line number Diff line change
@@ -1,78 +1,78 @@
{
"type": "PTE",
"templateUrl": "https://github.com/microsoft/AL-Go-PTE@preview",
"bcContainerHelperVersion": "preview",
"runs-on": "windows-latest",
"cacheImageName": "",
"UsePsSession": false,
"artifact": "https://bcinsider.azureedge.net/sandbox/25.0.17516.0/base",
"country": "base",
"useProjectDependencies": true,
"repoVersion": "25.0",
"cleanModePreprocessorSymbols": [
"CLEAN17",
"CLEAN18",
"CLEAN19",
"CLEAN20",
"CLEAN21",
"CLEAN22",
"CLEAN23",
"CLEAN24",
"CLEAN25"
],
"unusedALGoSystemFiles": [
"AddExistingAppOrTestApp.yaml",
"CreateApp.yaml",
"CreateOnlineDevelopmentEnvironment.yaml",
"CreatePerformanceTestApp.yaml",
"CreateRelease.yaml",
"CreateTestApp.yaml",
"Current.yaml",
"IncrementVersionNumber.yaml",
"NextMajor.yaml",
"NextMinor.yaml",
"PublishToEnvironment.yaml",
"Test Current.settings.json"
],
"excludeEnvironments": [
"Official-Build"
],
"buildModes": [
"Default",
"Clean"
],
"CICDPushBranches": [
"main",
"releases/*"
],
"CICDPullRequestBranches": [
"main",
"releases/*",
"features/*"
],
"enableCodeCop": true,
"enableAppSourceCop": true,
"enablePerTenantExtensionCop": true,
"enableUICop": true,
"enableCodeAnalyzersOnTestApps": true,
"rulesetFile": "..\\..\\..\\src\\rulesets\\ruleset.json",
"skipUpgrade": true,
"PartnerTelemetryConnectionString": "InstrumentationKey=403ba4d3-ad2b-4ca1-8602-b7746de4c048;IngestionEndpoint=https://swedencentral-0.in.applicationinsights.azure.com/",
"fullBuildPatterns": [
"build/*",
"src/rulesets/*",
".github/workflows/PullRequestHandler.yaml",
".github/workflows/_BuildALGoProject.yaml"
],
"PullRequestTrigger": "pull_request",
"ALDoc": {
"maxReleases": 0,
"continuousDeployment": true,
"groupByProject": false,
"excludeProjects": [
"build_projects_System Application Modules"
]
},
"UpdateALGoSystemFilesEnvironment": "Official-Build",
"templateSha": "3cc6fcecbe3916c40e0e8bee473b9a51feaa9dfb"
"type": "PTE",
"templateUrl": "https://github.com/microsoft/AL-Go-PTE@preview",
"bcContainerHelperVersion": "preview",
"runs-on": "windows-latest",
"cacheImageName": "",
"UsePsSession": false,
"artifact": "https://bcinsider.azureedge.net/sandbox/25.0.17516.0/base",
"country": "base",
"useProjectDependencies": true,
"repoVersion": "25.0",
"cleanModePreprocessorSymbols": [
"CLEAN17",
"CLEAN18",
"CLEAN19",
"CLEAN20",
"CLEAN21",
"CLEAN22",
"CLEAN23",
"CLEAN24",
"CLEAN25"
],
"unusedALGoSystemFiles": [
"AddExistingAppOrTestApp.yaml",
"CreateApp.yaml",
"CreateOnlineDevelopmentEnvironment.yaml",
"CreatePerformanceTestApp.yaml",
"CreateRelease.yaml",
"CreateTestApp.yaml",
"Current.yaml",
"IncrementVersionNumber.yaml",
"NextMajor.yaml",
"NextMinor.yaml",
"PublishToEnvironment.yaml",
"Test Current.settings.json"
],
"excludeEnvironments": [
"Official-Build"
],
"buildModes": [
"Default",
"Clean"
],
"CICDPushBranches": [
"main",
"releases/*"
],
"CICDPullRequestBranches": [
"main",
"releases/*",
"features/*"
],
"enableCodeCop": true,
"enableAppSourceCop": true,
"enablePerTenantExtensionCop": true,
"enableUICop": true,
"enableCodeAnalyzersOnTestApps": true,
"rulesetFile": "..\\..\\..\\src\\rulesets\\ruleset.json",
"skipUpgrade": true,
"PartnerTelemetryConnectionString": "InstrumentationKey=403ba4d3-ad2b-4ca1-8602-b7746de4c048;IngestionEndpoint=https://swedencentral-0.in.applicationinsights.azure.com/",
"fullBuildPatterns": [
"build/*",
"src/rulesets/*",
".github/workflows/PullRequestHandler.yaml",
".github/workflows/_BuildALGoProject.yaml"
],
"PullRequestTrigger": "pull_request",
"ALDoc": {
"maxReleases": 0,
"continuousDeployment": true,
"groupByProject": false,
"excludeProjects": [
"build_projects_System Application Modules"
]
},
"UpdateALGoSystemFilesEnvironment": "Official-Build",
"templateSha": "b484765df7d5ee113f8f5de1a3219d40bcaf0563"
}
38 changes: 19 additions & 19 deletions .github/workflows/CICD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
workflowDepth: ${{ steps.DetermineWorkflowDepth.outputs.WorkflowDepth }}
steps:
- name: Dump Workflow Information
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
with:
shell: powershell

Expand All @@ -53,14 +53,14 @@ jobs:

- name: Initialize the workflow
id: init
uses: microsoft/AL-Go/Actions/WorkflowInitialize@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/WorkflowInitialize@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
with:
shell: powershell
eventId: "DO0091"

- name: Read settings
id: ReadSettings
uses: microsoft/AL-Go/Actions/ReadSettings@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/ReadSettings@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
with:
shell: powershell
get: type
Expand All @@ -72,30 +72,30 @@ jobs:

- name: Determine Projects To Build
id: determineProjectsToBuild
uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
with:
shell: powershell
maxBuildDepth: ${{ env.workflowDepth }}

- name: Determine Delivery Target Secrets
id: DetermineDeliveryTargetSecrets
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
with:
shell: powershell
projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}'
checkContextSecrets: 'false'

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/ReadSecrets@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: ${{ steps.DetermineDeliveryTargetSecrets.outputs.ContextSecrets }}

- name: Determine Delivery Targets
id: DetermineDeliveryTargets
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand All @@ -105,7 +105,7 @@ jobs:

- name: Determine Deployment Environments
id: DetermineDeploymentEnvironments
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand All @@ -121,13 +121,13 @@ jobs:
uses: actions/checkout@v4

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/ReadSettings@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
with:
shell: powershell
get: templateUrl

- name: Check for updates to AL-Go system files
uses: microsoft/AL-Go/Actions/CheckForUpdates@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/CheckForUpdates@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
with:
shell: powershell
templateUrl: ${{ env.templateUrl }}
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
path: '.artifacts'

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/ReadSettings@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
with:
shell: powershell

Expand All @@ -213,7 +213,7 @@ jobs:
uses: actions/configure-pages@v4

- name: Build Reference Documentation
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
with:
shell: powershell
artifacts: '.artifacts'
Expand Down Expand Up @@ -247,7 +247,7 @@ jobs:
path: '.artifacts'

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/ReadSettings@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
with:
shell: powershell

Expand All @@ -260,15 +260,15 @@ jobs:

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/ReadSecrets@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: '${{ steps.envName.outputs.envName }}-AuthContext,${{ steps.envName.outputs.envName }}_AuthContext,AuthContext,${{ steps.envName.outputs.envName }}-EnvironmentName,${{ steps.envName.outputs.envName }}_EnvironmentName,EnvironmentName,projects'

- name: Deploy
id: Deploy
uses: microsoft/AL-Go/Actions/Deploy@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/Deploy@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand Down Expand Up @@ -297,20 +297,20 @@ jobs:
path: '.artifacts'

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/ReadSettings@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
with:
shell: powershell

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/ReadSecrets@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: '${{ matrix.deliveryTarget }}Context'

- name: Deliver
uses: microsoft/AL-Go/Actions/Deliver@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/Deliver@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand All @@ -330,7 +330,7 @@ jobs:

- name: Finalize the workflow
id: PostProcess
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
with:
shell: powershell
eventId: "DO0091"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/DeployReferenceDocumentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@ jobs:

- name: Initialize the workflow
id: init
uses: microsoft/AL-Go/Actions/WorkflowInitialize@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/WorkflowInitialize@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
with:
shell: powershell
eventId: "DO0097"

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/ReadSettings@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
with:
shell: powershell

- name: Determine Deployment Environments
id: DetermineDeploymentEnvironments
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand All @@ -55,7 +55,7 @@ jobs:
uses: actions/configure-pages@v4

- name: Build Reference Documentation
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@e9f4cc63d149d341172cebfc8112e825123683d8
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@8dfde66bdf7b91d0d56d9a97f6f1688e444e067d
with:
shell: powershell
artifacts: 'latest'
Expand Down
Loading
Loading