Skip to content

Commit 769724c

Browse files
Updated AL GO settings (#3)
* Update AL-Go-Settings.json * Update settings.json * [feature/al-go-settings] Update AL-Go System Files from microsoft/AL-Go-PTE@main - ba4fc723e4c024674baa6a53ef1777402cfbaab0 * New Version number 25.0 * Update settings.json Added "alDoc" to pipeline * Update settings.json * Update README.md * Update AL-Go-Settings.json added "CICDPushBranches" parameter * Added CODEOWNERS file * Remove deprecated settings.json file * [feature/al-go-settings] Update AL-Go System Files from microsoft/AL-Go-PTE@main - ba4fc723e4c024674baa6a53ef1777402cfbaab0 * Add XML documentation comments to various components and procedures --------- Co-authored-by: juliandittmann <juliandittmann@users.noreply.github.com>
1 parent ffebb1d commit 769724c

37 files changed

+274
-234
lines changed

.AL-Go/settings.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
{
22
"country": "us",
3-
"appFolders": [ "App"],
4-
"testFolders": [ "Demo", "Test"],
5-
"bcptTestFolders": []
3+
"alDoc": {
4+
"continuousDeployment": true,
5+
"groupByProject": true
6+
},
7+
"appFolders": [
8+
"App"
9+
],
10+
"testFolders": [
11+
"Test",
12+
"Demo"
13+
],
14+
"bcptTestFolders": [],
15+
"repoVersion": "25.0"
616
}

.github/AL-Go-Settings.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"type": "PTE",
33
"templateUrl": "https://github.com/microsoft/AL-Go-PTE@main",
4-
"templateSha": "ba4fc723e4c024674baa6a53ef1777402cfbaab0"
4+
"templateSha": "ba4fc723e4c024674baa6a53ef1777402cfbaab0",
5+
"runs-on": "ubuntu-latest",
6+
"CICDPushBranches": [
7+
"main",
8+
"release/*"
9+
]
510
}

.github/workflows/AddExistingAppOrTestApp.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ permissions:
2929

3030
defaults:
3131
run:
32-
shell: powershell
32+
shell: pwsh
3333

3434
env:
3535
ALGoOrgSettings: ${{ vars.ALGoOrgSettings }}
@@ -38,12 +38,12 @@ env:
3838
jobs:
3939
AddExistingAppOrTestApp:
4040
needs: [ ]
41-
runs-on: [ windows-latest ]
41+
runs-on: [ ubuntu-latest ]
4242
steps:
4343
- name: Dump Workflow Information
4444
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v6.3
4545
with:
46-
shell: powershell
46+
shell: pwsh
4747

4848
- name: Checkout
4949
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -52,26 +52,26 @@ jobs:
5252
id: init
5353
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v6.3
5454
with:
55-
shell: powershell
55+
shell: pwsh
5656

5757
- name: Read settings
5858
uses: microsoft/AL-Go-Actions/ReadSettings@v6.3
5959
with:
60-
shell: powershell
60+
shell: pwsh
6161

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

7171
- name: Add existing app
7272
uses: microsoft/AL-Go-Actions/AddExistingApp@v6.3
7373
with:
74-
shell: powershell
74+
shell: pwsh
7575
token: ${{ steps.ReadSecrets.outputs.TokenForPush }}
7676
project: ${{ github.event.inputs.project }}
7777
url: ${{ github.event.inputs.url }}
@@ -83,6 +83,6 @@ jobs:
8383
env:
8484
GITHUB_TOKEN: ${{ github.token }}
8585
with:
86-
shell: powershell
86+
shell: pwsh
8787
telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }}
8888
currentJobContext: ${{ toJson(job) }}

.github/workflows/CICD.yaml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ on:
77
- '**.md'
88
- '.github/workflows/*.yaml'
99
- '!.github/workflows/CICD.yaml'
10-
branches: [ 'main', 'release/*', 'feature/*' ]
10+
branches: [ 'main', 'release/*' ]
1111

1212
defaults:
1313
run:
14-
shell: powershell
14+
shell: pwsh
1515

1616
permissions:
1717
actions: read
@@ -27,7 +27,7 @@ env:
2727
jobs:
2828
Initialization:
2929
needs: [ ]
30-
runs-on: [ windows-latest ]
30+
runs-on: [ ubuntu-latest ]
3131
outputs:
3232
telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }}
3333
environmentsMatrixJson: ${{ steps.DetermineDeploymentEnvironments.outputs.EnvironmentsMatrixJson }}
@@ -47,7 +47,7 @@ jobs:
4747
- name: Dump Workflow Information
4848
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v6.3
4949
with:
50-
shell: powershell
50+
shell: pwsh
5151

5252
- name: Checkout
5353
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -58,21 +58,21 @@ jobs:
5858
id: init
5959
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v6.3
6060
with:
61-
shell: powershell
61+
shell: pwsh
6262

6363
- name: Read settings
6464
id: ReadSettings
6565
uses: microsoft/AL-Go-Actions/ReadSettings@v6.3
6666
with:
67-
shell: powershell
67+
shell: pwsh
6868
get: type,powerPlatformSolutionFolder,useGitSubmodules
6969

7070
- name: Read submodules token
7171
id: ReadSubmodulesToken
7272
if: env.useGitSubmodules != 'false' && env.useGitSubmodules != ''
7373
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.3
7474
with:
75-
shell: powershell
75+
shell: pwsh
7676
gitHubSecrets: ${{ toJson(secrets) }}
7777
getSecrets: '-gitSubmodulesToken'
7878

@@ -93,7 +93,7 @@ jobs:
9393
id: determineProjectsToBuild
9494
uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v6.3
9595
with:
96-
shell: powershell
96+
shell: pwsh
9797
maxBuildDepth: ${{ env.workflowDepth }}
9898

9999
- name: Determine PowerPlatform Solution Folder
@@ -106,15 +106,15 @@ jobs:
106106
id: DetermineDeliveryTargetSecrets
107107
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v6.3
108108
with:
109-
shell: powershell
109+
shell: pwsh
110110
projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}'
111111
checkContextSecrets: 'false'
112112

113113
- name: Read secrets
114114
id: ReadSecrets
115115
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.3
116116
with:
117-
shell: powershell
117+
shell: pwsh
118118
gitHubSecrets: ${{ toJson(secrets) }}
119119
getSecrets: ${{ steps.DetermineDeliveryTargetSecrets.outputs.ContextSecrets }}
120120

@@ -124,7 +124,7 @@ jobs:
124124
env:
125125
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
126126
with:
127-
shell: powershell
127+
shell: pwsh
128128
projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}'
129129
checkContextSecrets: 'true'
130130

@@ -134,27 +134,27 @@ jobs:
134134
env:
135135
GITHUB_TOKEN: ${{ github.token }}
136136
with:
137-
shell: powershell
137+
shell: pwsh
138138
getEnvironments: '*'
139139
type: 'CD'
140140

141141
CheckForUpdates:
142142
needs: [ Initialization ]
143-
runs-on: [ windows-latest ]
143+
runs-on: [ ubuntu-latest ]
144144
steps:
145145
- name: Checkout
146146
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
147147

148148
- name: Read settings
149149
uses: microsoft/AL-Go-Actions/ReadSettings@v6.3
150150
with:
151-
shell: powershell
151+
shell: pwsh
152152
get: templateUrl
153153

154154
- name: Check for updates to AL-Go system files
155155
uses: microsoft/AL-Go-Actions/CheckForUpdates@v6.3
156156
with:
157-
shell: powershell
157+
shell: pwsh
158158
templateUrl: ${{ env.templateUrl }}
159159
downloadLatest: true
160160

@@ -182,7 +182,7 @@ jobs:
182182
DeployALDoc:
183183
needs: [ Initialization, Build ]
184184
if: (!cancelled()) && needs.Build.result == 'Success' && needs.Initialization.outputs.generateALDocArtifact == 1 && github.ref_name == 'main'
185-
runs-on: [ windows-latest ]
185+
runs-on: [ ubuntu-latest ]
186186
name: Deploy Reference Documentation
187187
permissions:
188188
contents: read
@@ -204,7 +204,7 @@ jobs:
204204
- name: Read settings
205205
uses: microsoft/AL-Go-Actions/ReadSettings@v6.3
206206
with:
207-
shell: powershell
207+
shell: pwsh
208208

209209
- name: Setup Pages
210210
if: needs.Initialization.outputs.deployALDocArtifact == 1
@@ -213,7 +213,7 @@ jobs:
213213
- name: Build Reference Documentation
214214
uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v6.3
215215
with:
216-
shell: powershell
216+
shell: pwsh
217217
artifacts: '.artifacts'
218218

219219
- name: Upload pages artifact
@@ -286,7 +286,7 @@ jobs:
286286
env:
287287
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
288288
with:
289-
shell: powershell
289+
shell: pwsh
290290
environmentName: ${{ matrix.environment }}
291291
artifactsFolder: '.artifacts'
292292
deploymentEnvironmentsJson: ${{ needs.Initialization.outputs.deploymentEnvironmentsJson }}
@@ -298,7 +298,7 @@ jobs:
298298
matrix:
299299
deliveryTarget: ${{ fromJson(needs.Initialization.outputs.deliveryTargetsJson) }}
300300
fail-fast: false
301-
runs-on: [ windows-latest ]
301+
runs-on: [ ubuntu-latest ]
302302
name: Deliver to ${{ matrix.deliveryTarget }}
303303
steps:
304304
- name: Checkout
@@ -312,13 +312,13 @@ jobs:
312312
- name: Read settings
313313
uses: microsoft/AL-Go-Actions/ReadSettings@v6.3
314314
with:
315-
shell: powershell
315+
shell: pwsh
316316

317317
- name: Read secrets
318318
id: ReadSecrets
319319
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.3
320320
with:
321-
shell: powershell
321+
shell: pwsh
322322
gitHubSecrets: ${{ toJson(secrets) }}
323323
getSecrets: '${{ matrix.deliveryTarget }}Context'
324324

@@ -327,7 +327,7 @@ jobs:
327327
env:
328328
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
329329
with:
330-
shell: powershell
330+
shell: pwsh
331331
type: 'CD'
332332
projects: ${{ needs.Initialization.outputs.projects }}
333333
deliveryTarget: ${{ matrix.deliveryTarget }}
@@ -336,7 +336,7 @@ jobs:
336336
PostProcess:
337337
needs: [ Initialization, Build, Deploy, Deliver, DeployALDoc ]
338338
if: (!cancelled())
339-
runs-on: [ windows-latest ]
339+
runs-on: [ ubuntu-latest ]
340340
steps:
341341
- name: Checkout
342342
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -347,6 +347,6 @@ jobs:
347347
env:
348348
GITHUB_TOKEN: ${{ github.token }}
349349
with:
350-
shell: powershell
350+
shell: pwsh
351351
telemetryScopeJson: ${{ needs.Initialization.outputs.telemetryScopeJson }}
352352
currentJobContext: ${{ toJson(job) }}

.github/workflows/CreateApp.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ permissions:
3939

4040
defaults:
4141
run:
42-
shell: powershell
42+
shell: pwsh
4343

4444
env:
4545
ALGoOrgSettings: ${{ vars.ALGoOrgSettings }}
@@ -48,12 +48,12 @@ env:
4848
jobs:
4949
CreateApp:
5050
needs: [ ]
51-
runs-on: [ windows-latest ]
51+
runs-on: [ ubuntu-latest ]
5252
steps:
5353
- name: Dump Workflow Information
5454
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v6.3
5555
with:
56-
shell: powershell
56+
shell: pwsh
5757

5858
- name: Checkout
5959
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -62,27 +62,27 @@ jobs:
6262
id: init
6363
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v6.3
6464
with:
65-
shell: powershell
65+
shell: pwsh
6666

6767
- name: Read settings
6868
uses: microsoft/AL-Go-Actions/ReadSettings@v6.3
6969
with:
70-
shell: powershell
70+
shell: pwsh
7171
get: type
7272

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

8282
- name: Creating a new app
8383
uses: microsoft/AL-Go-Actions/CreateApp@v6.3
8484
with:
85-
shell: powershell
85+
shell: pwsh
8686
token: ${{ steps.ReadSecrets.outputs.TokenForPush }}
8787
project: ${{ github.event.inputs.project }}
8888
type: ${{ env.type }}
@@ -98,6 +98,6 @@ jobs:
9898
env:
9999
GITHUB_TOKEN: ${{ github.token }}
100100
with:
101-
shell: powershell
101+
shell: pwsh
102102
telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }}
103103
currentJobContext: ${{ toJson(job) }}

0 commit comments

Comments
 (0)