-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying AL-Go from main (91a563be484eeff8ccde7f39b3622991cc8931f0) …
…to main (#37) Deploying AL-Go from main (91a563be484eeff8ccde7f39b3622991cc8931f0) to main Co-authored-by: microsoft <[email protected]>
- Loading branch information
1 parent
01fbe1e
commit f33f8f6
Showing
21 changed files
with
186 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"artifact": "////nextmajor/{INSIDERSASTOKEN}", | ||
"artifact": "////nextmajor", | ||
"cacheImageName": "", | ||
"versioningStrategy": 15 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"artifact": "////nextminor/{INSIDERSASTOKEN}", | ||
"artifact": "////nextminor", | ||
"cacheImageName": "", | ||
"versioningStrategy": 15 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,14 +45,14 @@ jobs: | |
|
||
- name: Initialize the workflow | ||
id: init | ||
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v3.3 | ||
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v4.0 | ||
with: | ||
shell: powershell | ||
eventId: "DO0091" | ||
|
||
- name: Read settings | ||
id: ReadSettings | ||
uses: microsoft/AL-Go-Actions/ReadSettings@v3.3 | ||
uses: microsoft/AL-Go-Actions/ReadSettings@v4.0 | ||
with: | ||
shell: powershell | ||
get: type | ||
|
@@ -64,30 +64,30 @@ jobs: | |
- name: Determine Projects To Build | ||
id: determineProjectsToBuild | ||
uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v3.3 | ||
uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v4.0 | ||
with: | ||
shell: powershell | ||
maxBuildDepth: ${{ env.workflowDepth }} | ||
|
||
- name: Determine Delivery Target Secrets | ||
id: DetermineDeliveryTargetSecrets | ||
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v3.3 | ||
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v4.0 | ||
with: | ||
shell: powershell | ||
projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}' | ||
checkContextSecrets: 'N' | ||
|
||
- name: Read secrets | ||
id: ReadSecrets | ||
uses: microsoft/AL-Go-Actions/ReadSecrets@v3.3 | ||
uses: microsoft/AL-Go-Actions/ReadSecrets@v4.0 | ||
with: | ||
shell: powershell | ||
gitHubSecrets: ${{ toJson(secrets) }} | ||
getSecrets: ${{ steps.DetermineDeliveryTargetSecrets.outputs.ContextSecrets }} | ||
|
||
- name: Determine Delivery Targets | ||
id: DetermineDeliveryTargets | ||
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v3.3 | ||
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v4.0 | ||
env: | ||
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' | ||
with: | ||
|
@@ -97,7 +97,7 @@ jobs: | |
|
||
- name: Determine Deployment Environments | ||
id: DetermineDeploymentEnvironments | ||
uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v3.3 | ||
uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v4.0 | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
|
@@ -113,13 +113,13 @@ jobs: | |
uses: actions/checkout@v3 | ||
|
||
- name: Read settings | ||
uses: microsoft/AL-Go-Actions/ReadSettings@v3.3 | ||
uses: microsoft/AL-Go-Actions/ReadSettings@v4.0 | ||
with: | ||
shell: powershell | ||
get: templateUrl | ||
|
||
- name: Check for updates to AL-Go system files | ||
uses: microsoft/AL-Go-Actions/CheckForUpdates@v3.3 | ||
uses: microsoft/AL-Go-Actions/CheckForUpdates@v4.0 | ||
with: | ||
shell: powershell | ||
parentTelemetryScopeJson: ${{ needs.Initialization.outputs.telemetryScopeJson }} | ||
|
@@ -143,7 +143,7 @@ jobs: | |
projectName: ${{ matrix.projectName }} | ||
buildMode: ${{ matrix.buildMode }} | ||
projectDependenciesJson: ${{ needs.Initialization.outputs.projectDependenciesJson }} | ||
secrets: 'licenseFileUrl,insiderSasToken,codeSignCertificateUrl,*codeSignCertificatePassword,keyVaultCertificateUrl,*keyVaultCertificatePassword,keyVaultClientId,gitHubPackagesContext,applicationInsightsConnectionString' | ||
secrets: 'licenseFileUrl,codeSignCertificateUrl,*codeSignCertificatePassword,keyVaultCertificateUrl,*keyVaultCertificatePassword,keyVaultClientId,gitHubPackagesContext,applicationInsightsConnectionString' | ||
publishThisBuildArtifacts: ${{ needs.Initialization.outputs.workflowDepth > 1 }} | ||
publishArtifacts: ${{ github.ref_name == 'main' || startswith(github.ref_name, 'release/') || needs.Initialization.outputs.deliveryTargetsJson != '[]' || needs.Initialization.outputs.environmentCount > 0 }} | ||
signArtifacts: true | ||
|
@@ -157,6 +157,7 @@ jobs: | |
name: Deploy to ${{ matrix.environment }} | ||
environment: | ||
name: ${{ matrix.environment }} | ||
url: ${{ steps.Deploy.outputs.environmentUrl }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
@@ -167,7 +168,7 @@ jobs: | |
path: '.artifacts' | ||
|
||
- name: Read settings | ||
uses: microsoft/AL-Go-Actions/ReadSettings@v3.3 | ||
uses: microsoft/AL-Go-Actions/ReadSettings@v4.0 | ||
with: | ||
shell: powershell | ||
|
||
|
@@ -180,14 +181,15 @@ jobs: | |
- name: Read secrets | ||
id: ReadSecrets | ||
uses: microsoft/AL-Go-Actions/ReadSecrets@v3.3 | ||
uses: microsoft/AL-Go-Actions/ReadSecrets@v4.0 | ||
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 | ||
uses: microsoft/AL-Go-Actions/[email protected] | ||
id: Deploy | ||
uses: microsoft/AL-Go-Actions/[email protected] | ||
env: | ||
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' | ||
with: | ||
|
@@ -216,20 +218,20 @@ jobs: | |
path: '.artifacts' | ||
|
||
- name: Read settings | ||
uses: microsoft/AL-Go-Actions/ReadSettings@v3.3 | ||
uses: microsoft/AL-Go-Actions/ReadSettings@v4.0 | ||
with: | ||
shell: powershell | ||
|
||
- name: Read secrets | ||
id: ReadSecrets | ||
uses: microsoft/AL-Go-Actions/ReadSecrets@v3.3 | ||
uses: microsoft/AL-Go-Actions/ReadSecrets@v4.0 | ||
with: | ||
shell: powershell | ||
gitHubSecrets: ${{ toJson(secrets) }} | ||
getSecrets: '${{ matrix.deliveryTarget }}Context' | ||
|
||
- name: Deliver | ||
uses: microsoft/AL-Go-Actions/Deliver@v3.3 | ||
uses: microsoft/AL-Go-Actions/Deliver@v4.0 | ||
env: | ||
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' | ||
with: | ||
|
@@ -249,7 +251,7 @@ jobs: | |
|
||
- name: Finalize the workflow | ||
id: PostProcess | ||
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v3.3 | ||
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v4.0 | ||
with: | ||
shell: powershell | ||
eventId: "DO0091" | ||
|
Oops, something went wrong.