Skip to content

Commit cbf84b3

Browse files
committed
[main] Update AL-Go System Files from microsoft/AL-Go-PTE@main - 36999e29e31ad83a6a856ee6ef59cd1602c84df5
1 parent d1b8ffe commit cbf84b3

21 files changed

+240
-186
lines changed

.AL-Go/cloudDevEnv.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ Write-Host -ForegroundColor Yellow @'
4242

4343
$tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())"
4444
New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null
45-
$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v6.0/Github-Helper.psm1' -folder $tmpFolder
46-
$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v6.0/AL-Go-Helper.ps1' -folder $tmpFolder
47-
DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v6.0/Packages.json' -folder $tmpFolder | Out-Null
45+
$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v6.1/Github-Helper.psm1' -folder $tmpFolder
46+
$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v6.1/AL-Go-Helper.ps1' -folder $tmpFolder
47+
DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v6.1/Packages.json' -folder $tmpFolder | Out-Null
4848

4949
Import-Module $GitHubHelperPath
5050
. $ALGoHelperPath -local

.AL-Go/localDevEnv.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ Write-Host -ForegroundColor Yellow @'
4646

4747
$tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())"
4848
New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null
49-
$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v6.0/Github-Helper.psm1' -folder $tmpFolder
50-
$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v6.0/AL-Go-Helper.ps1' -folder $tmpFolder
51-
DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v6.0/Packages.json' -folder $tmpFolder | Out-Null
49+
$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v6.1/Github-Helper.psm1' -folder $tmpFolder
50+
$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v6.1/AL-Go-Helper.ps1' -folder $tmpFolder
51+
DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v6.1/Packages.json' -folder $tmpFolder | Out-Null
5252

5353
Import-Module $GitHubHelperPath
5454
. $ALGoHelperPath -local

.github/AL-Go-Settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"nextMinorSchedule": "0 0 15 * *",
55
"UpdateGitHubGoSystemFilesSchedule": "0 0 1,15 * *",
66
"templateUrl": "https://github.com/microsoft/AL-Go-PTE@main",
7-
"templateSha": "aa12d5ac4df1db8e8849ac68aa1000260fa3b7f4"
7+
"templateSha": "36999e29e31ad83a6a856ee6ef59cd1602c84df5"
88
}

.github/RELEASENOTES.copy.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
1+
## v6.1
2+
3+
### Issues
4+
5+
- Issue 1241 Increment Version Number might produce wrong app.json
6+
- When auto discovering appFolders, testFolders and bcptTestFolders - if a BCPT Test app has a dependency to a test framework app, it is added to testFolders as well as bcptTestFolders and will cause a failure.
7+
8+
### New Project Settings
9+
10+
- `pageScriptingTests` should be an array of page scripting test file specifications, relative to the AL-Go project. Examples of file specifications: `recordings/my*.yml` (for all yaml files in the recordings subfolder matching my\*.yml), `recordings` (for all \*.yml files in the recordings subfolder) or `recordings/test.yml` (for a single yml file)
11+
- `doNotRunPageScriptingTests` can force the pipeline to NOT run the page scripting tests specified in pageScriptingTests. Note this setting can be set in a [workflow specific settings file](#where-are-the-settings-located) to only apply to that workflow
12+
- `restoreDatabases` should be an array of events, indicating when you want to start with clean databases in the container. Possible events are: `BeforeBcpTests`, `BeforePageScriptingTests`, `BeforeEachTestApp`, `BeforeEachBcptTestApp`, `BeforeEachPageScriptingTest`
13+
14+
### New Repository Settings
15+
16+
- `trustedSigning` is a structure defining `Account`, `EndPoint` and `CertificateProfile` if you want to use trusted signing. Note that your Azure_Credentials secret (Microsoft Entra ID App or Managed identity) still needs to provide access to your azure subscription and be assigned the `Trusted Signing Certificate Profile Signer` role in the Trusted Signing Account.
17+
- `deployTo<environment>` now has an additional property called DependencyInstallMode, which determines how dependencies are deployed if GenerateDependencyArtifact is true. Default value is `install` to install dependencies if not already installed. Other values are `ignore` for ignoring dependencies, `upgrade` for upgrading dependencies if possible and `forceUpgrade` for force upgrading dependencies.
18+
19+
### Support for Azure Trusted Signing
20+
21+
Read https://learn.microsoft.com/en-us/azure/trusted-signing/ for more information about Trusted Signing and how to set it up. After setting up your trusted signing account and certificate profile, you need to create a setting called [trustedSigning](https://aka.ms/algosettings#trustedSigning) for AL-Go to sign your apps using Azure Trusted Signing.
22+
23+
### Support for Page Scripting Tests
24+
25+
Page Scripting tests are now supported as part of CI/CD. By specifying pageScriptingTests in your project settings file, AL-Go for GitHub will automatically run these page scripting tests as part of your CI/CD workflow, generating the following build artifacts:
26+
27+
- `PageScriptingTestResults` is a JUnit test results file with all results combined.
28+
- `PageScriptingTestResultDetails` are the detailed test results (including videos) when any of the page scripting tests have failures. If the page scripting tests succeed - the details are not published.
29+
30+
### Experimental support for Git submodule
31+
32+
[Git submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules) is now supported as part of CI/CD on your project.
33+
134
## v6.0
235

336
### Issues
@@ -648,7 +681,7 @@ Setting the repo setting "runs-on" to "Ubuntu-Latest", followed by running Updat
648681
### CI/CD and Publish To New Environment
649682

650683
- Base functionality for selecting a specific GitHub runner for an environment
651-
- Include dependencies artifacts when deploying (if generateDependencyArtifacts is true)
684+
- Include dependencies artifacts when deploying (if generateDependencyArtifact is true)
652685

653686
### localDevEnv.ps1 and cloudDevEnv.ps1
654687

.github/workflows/AddExistingAppOrTestApp.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,35 +41,35 @@ jobs:
4141
runs-on: [ windows-latest ]
4242
steps:
4343
- name: Dump Workflow Information
44-
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v6.0
44+
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v6.1
4545
with:
4646
shell: powershell
4747

4848
- name: Checkout
49-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
49+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5050

5151
- name: Initialize the workflow
5252
id: init
53-
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v6.0
53+
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v6.1
5454
with:
5555
shell: powershell
5656

5757
- name: Read settings
58-
uses: microsoft/AL-Go-Actions/ReadSettings@v6.0
58+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.1
5959
with:
6060
shell: powershell
6161

6262
- name: Read secrets
6363
id: ReadSecrets
64-
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.0
64+
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.1
6565
with:
6666
shell: powershell
6767
gitHubSecrets: ${{ toJson(secrets) }}
6868
getSecrets: 'TokenForPush'
6969
useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}'
7070

7171
- name: Add existing app
72-
uses: microsoft/AL-Go-Actions/AddExistingApp@v6.0
72+
uses: microsoft/AL-Go-Actions/AddExistingApp@v6.1
7373
with:
7474
shell: powershell
7575
token: ${{ steps.ReadSecrets.outputs.TokenForPush }}
@@ -79,7 +79,7 @@ jobs:
7979

8080
- name: Finalize the workflow
8181
if: always()
82-
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v6.0
82+
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v6.1
8383
env:
8484
GITHUB_TOKEN: ${{ github.token }}
8585
with:

.github/workflows/CICD.yaml

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -45,24 +45,25 @@ jobs:
4545
workflowDepth: ${{ steps.DetermineWorkflowDepth.outputs.WorkflowDepth }}
4646
steps:
4747
- name: Dump Workflow Information
48-
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v6.0
48+
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v6.1
4949
with:
5050
shell: powershell
5151

5252
- name: Checkout
53-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
53+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5454
with:
5555
lfs: true
56+
submodules: recursive
5657

5758
- name: Initialize the workflow
5859
id: init
59-
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v6.0
60+
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v6.1
6061
with:
6162
shell: powershell
6263

6364
- name: Read settings
6465
id: ReadSettings
65-
uses: microsoft/AL-Go-Actions/ReadSettings@v6.0
66+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.1
6667
with:
6768
shell: powershell
6869
get: type, powerPlatformSolutionFolder
@@ -74,7 +75,7 @@ jobs:
7475
7576
- name: Determine Projects To Build
7677
id: determineProjectsToBuild
77-
uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v6.0
78+
uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v6.1
7879
with:
7980
shell: powershell
8081
maxBuildDepth: ${{ env.workflowDepth }}
@@ -87,23 +88,23 @@ jobs:
8788
8889
- name: Determine Delivery Target Secrets
8990
id: DetermineDeliveryTargetSecrets
90-
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v6.0
91+
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v6.1
9192
with:
9293
shell: powershell
9394
projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}'
9495
checkContextSecrets: 'false'
9596

9697
- name: Read secrets
9798
id: ReadSecrets
98-
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.0
99+
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.1
99100
with:
100101
shell: powershell
101102
gitHubSecrets: ${{ toJson(secrets) }}
102103
getSecrets: ${{ steps.DetermineDeliveryTargetSecrets.outputs.ContextSecrets }}
103104

104105
- name: Determine Delivery Targets
105106
id: DetermineDeliveryTargets
106-
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v6.0
107+
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v6.1
107108
env:
108109
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
109110
with:
@@ -113,7 +114,7 @@ jobs:
113114

114115
- name: Determine Deployment Environments
115116
id: DetermineDeploymentEnvironments
116-
uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v6.0
117+
uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v6.1
117118
env:
118119
GITHUB_TOKEN: ${{ github.token }}
119120
with:
@@ -126,16 +127,16 @@ jobs:
126127
runs-on: [ windows-latest ]
127128
steps:
128129
- name: Checkout
129-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
130+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
130131

131132
- name: Read settings
132-
uses: microsoft/AL-Go-Actions/ReadSettings@v6.0
133+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.1
133134
with:
134135
shell: powershell
135136
get: templateUrl
136137

137138
- name: Check for updates to AL-Go system files
138-
uses: microsoft/AL-Go-Actions/CheckForUpdates@v6.0
139+
uses: microsoft/AL-Go-Actions/CheckForUpdates@v6.1
139140
with:
140141
shell: powershell
141142
templateUrl: ${{ env.templateUrl }}
@@ -179,15 +180,15 @@ jobs:
179180
url: ${{ steps.deployment.outputs.page_url }}
180181
steps:
181182
- name: Checkout
182-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
183+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
183184

184185
- name: Download artifacts
185186
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
186187
with:
187188
path: '.artifacts'
188189

189190
- name: Read settings
190-
uses: microsoft/AL-Go-Actions/ReadSettings@v6.0
191+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.1
191192
with:
192193
shell: powershell
193194

@@ -196,7 +197,7 @@ jobs:
196197
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
197198

198199
- name: Build Reference Documentation
199-
uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v6.0
200+
uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v6.1
200201
with:
201202
shell: powershell
202203
artifacts: '.artifacts'
@@ -225,15 +226,15 @@ jobs:
225226
url: ${{ steps.Deploy.outputs.environmentUrl }}
226227
steps:
227228
- name: Checkout
228-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
229+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
229230

230231
- name: Download artifacts
231232
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
232233
with:
233234
path: '.artifacts'
234235

235236
- name: Read settings
236-
uses: microsoft/AL-Go-Actions/ReadSettings@v6.0
237+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.1
237238
with:
238239
shell: ${{ matrix.shell }}
239240
get: type,powerPlatformSolutionFolder
@@ -247,15 +248,15 @@ jobs:
247248
248249
- name: Read secrets
249250
id: ReadSecrets
250-
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.0
251+
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.1
251252
with:
252253
shell: ${{ matrix.shell }}
253254
gitHubSecrets: ${{ toJson(secrets) }}
254255
getSecrets: '${{ steps.envName.outputs.envName }}-AuthContext,${{ steps.envName.outputs.envName }}_AuthContext,AuthContext'
255256

256257
- name: Deploy to Business Central
257258
id: Deploy
258-
uses: microsoft/AL-Go-Actions/Deploy@v6.0
259+
uses: microsoft/AL-Go-Actions/Deploy@v6.1
259260
env:
260261
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
261262
with:
@@ -267,7 +268,7 @@ jobs:
267268

268269
- name: Deploy to Power Platform
269270
if: env.type == 'PTE' && env.powerPlatformSolutionFolder != ''
270-
uses: microsoft/AL-Go-Actions/DeployPowerPlatform@v6.0
271+
uses: microsoft/AL-Go-Actions/DeployPowerPlatform@v6.1
271272
env:
272273
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
273274
with:
@@ -287,28 +288,28 @@ jobs:
287288
name: Deliver to ${{ matrix.deliveryTarget }}
288289
steps:
289290
- name: Checkout
290-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
291+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
291292

292293
- name: Download artifacts
293294
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
294295
with:
295296
path: '.artifacts'
296297

297298
- name: Read settings
298-
uses: microsoft/AL-Go-Actions/ReadSettings@v6.0
299+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.1
299300
with:
300301
shell: powershell
301302

302303
- name: Read secrets
303304
id: ReadSecrets
304-
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.0
305+
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.1
305306
with:
306307
shell: powershell
307308
gitHubSecrets: ${{ toJson(secrets) }}
308309
getSecrets: '${{ matrix.deliveryTarget }}Context'
309310

310311
- name: Deliver
311-
uses: microsoft/AL-Go-Actions/Deliver@v6.0
312+
uses: microsoft/AL-Go-Actions/Deliver@v6.1
312313
env:
313314
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
314315
with:
@@ -324,11 +325,11 @@ jobs:
324325
runs-on: [ windows-latest ]
325326
steps:
326327
- name: Checkout
327-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
328+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
328329

329330
- name: Finalize the workflow
330331
id: PostProcess
331-
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v6.0
332+
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v6.1
332333
env:
333334
GITHUB_TOKEN: ${{ github.token }}
334335
with:

.github/workflows/CreateApp.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,36 +51,36 @@ jobs:
5151
runs-on: [ windows-latest ]
5252
steps:
5353
- name: Dump Workflow Information
54-
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v6.0
54+
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v6.1
5555
with:
5656
shell: powershell
5757

5858
- name: Checkout
59-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
59+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6060

6161
- name: Initialize the workflow
6262
id: init
63-
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v6.0
63+
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v6.1
6464
with:
6565
shell: powershell
6666

6767
- name: Read settings
68-
uses: microsoft/AL-Go-Actions/ReadSettings@v6.0
68+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.1
6969
with:
7070
shell: powershell
7171
get: type
7272

7373
- name: Read secrets
7474
id: ReadSecrets
75-
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.0
75+
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.1
7676
with:
7777
shell: powershell
7878
gitHubSecrets: ${{ toJson(secrets) }}
7979
getSecrets: 'TokenForPush'
8080
useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}'
8181

8282
- name: Creating a new app
83-
uses: microsoft/AL-Go-Actions/CreateApp@v6.0
83+
uses: microsoft/AL-Go-Actions/CreateApp@v6.1
8484
with:
8585
shell: powershell
8686
token: ${{ steps.ReadSecrets.outputs.TokenForPush }}
@@ -94,7 +94,7 @@ jobs:
9494

9595
- name: Finalize the workflow
9696
if: always()
97-
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v6.0
97+
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v6.1
9898
env:
9999
GITHUB_TOKEN: ${{ github.token }}
100100
with:

0 commit comments

Comments
 (0)