Giter Site home page Giter Site logo

microsoft / al-go Goto Github PK

View Code? Open in Web Editor NEW
233.0 23.0 107.0 26.82 MB

The plug-and-play DevOps solution for Business Central app development on GitHub

License: MIT License

PowerShell 99.61% AL 0.39%
devops al-go github microsoft business-central msdyn365bc al businesscentral

al-go's Introduction

AL-Go for GitHub

AL-Go for GitHub is a set of GitHub templates and actions, which can be used to setup and maintain professional DevOps processes for your Business Central AL projects.

The goal is that people who have created their GitHub repositories based on the AL-Go templates, can maintain these repositories and stay current just by running a workflow, which updates their repositories. This includes necessary changes to scripts and workflows to cope with new features and functions in Business Central.

The roadmap for AL-Go for GitHub can be found here: https://aka.ms/ALGoRoadmap

The template repositories to use as starting point are:

AL-Go Workshop

Try out the AL-Go workshop for an in-depth workshop on AL-Go for GitHub functionality or examine the below usage scenarios, which explains how to get started and how to perform the most common tasks.

Usage scenarios

  1. Create a new per-tenant extension (like AL Go) and start developing in VS Code
  2. Add a test app to an existing project
  3. Register a customer sandbox environment for Continuous Deployment using S2S
  4. Create a release of your application
  5. Register a customer production environment for Manual Deployment
  6. Update AL-Go system files
  7. Use Azure KeyVault for secrets with AL-Go
  8. Create Online Development Environment from VS Code
  9. Create Online Development Environment from GitHub
  10. Set up CI/CD for an existing per tenant extension (BingMaps)
  11. Set up CI/CD for an existing AppSource App
  12. Enable KeyVault access for your AppSource App during development and/or tests
  13. Set up your own GitHub runner to increase build performance
  14. Introducing a dependency to another GitHub repository
  15. Enabling Telemetry for AL-Go workflows and actions
  16. Add a performance test app to an existing project

Migration scenarios

A. Migrate a repository from Azure DevOps to AL-Go for GitHub without history
B. Migrate a repository from Azure DevOps to AL-Go for GitHub with history

Note: Please refer to this description to learn about the settings file and how you can modify default behaviors.

This project

This project in the main source repository for AL-Go for GitHub. This project is deployed on every release to a branch in the following repositories:

Contributing

Please read this document to understand how to contribute to AL-Go for GitHub.

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

See also

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

al-go's People

Contributors

a-phuel avatar aholstrup1 avatar akoniecki avatar andrzejkokoszka avatar ashirokikh avatar buzzwick avatar bw-pa avatar cegekajg avatar dependabot[bot] avatar freddydk avatar justlucdewit avatar mazhelez avatar microsoft-github-operations[bot] avatar microsoftopensource avatar pooyakharamesh avatar pzentner avatar spesotskiy avatar susannewindfeldpedersen avatar tino-teuber avatar tyurm avatar zpeters avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

al-go's Issues

Initialize fails on latest version

I have updated the AL Go Files system and since the update I am not able to run any pipeline anymore:
image

Raw Logs. Click to expand!
2022-05-09T08:43:12.3122865Z Requested labels: windows-latest
2022-05-09T08:43:12.3122918Z Job defined at: Accelerynt-Security/Affy-Tapple-BC/.github/workflows/CICD.yaml@refs/heads/main
2022-05-09T08:43:12.3122940Z Waiting for a runner to pick up this job...
2022-05-09T08:43:12.8318679Z Job is waiting for a hosted runner to come online.
2022-05-09T08:43:26.5379824Z Job is about to start running on the hosted runner: Hosted Agent (hosted)
2022-05-09T08:43:32.3230986Z Current runner version: '2.291.1'
2022-05-09T08:43:32.3260436Z ##[group]Operating System
2022-05-09T08:43:32.3261128Z Microsoft Windows Server 2022
2022-05-09T08:43:32.3261427Z 10.0.20348
2022-05-09T08:43:32.3261644Z Datacenter
2022-05-09T08:43:32.3261963Z ##[endgroup]
2022-05-09T08:43:32.3263033Z ##[group]Virtual Environment
2022-05-09T08:43:32.3267277Z Environment: windows-2022
2022-05-09T08:43:32.3267653Z Version: 20220503.1
2022-05-09T08:43:32.3268268Z Included Software: https://github.com/actions/virtual-environments/blob/win22/20220503.1/images/win/Windows2022-Readme.md
2022-05-09T08:43:32.3268949Z Image Release: https://github.com/actions/virtual-environments/releases/tag/win22%2F20220503.1
2022-05-09T08:43:32.3269541Z ##[endgroup]
2022-05-09T08:43:32.3269921Z ##[group]Virtual Environment Provisioner
2022-05-09T08:43:32.3270329Z 1.0.0.0-main-20220421-1
2022-05-09T08:43:32.3270645Z ##[endgroup]
2022-05-09T08:43:32.3271406Z ##[group]GITHUB_TOKEN Permissions
2022-05-09T08:43:32.3272265Z Contents: read
2022-05-09T08:43:32.3272638Z Metadata: read
2022-05-09T08:43:32.3273139Z ##[endgroup]
2022-05-09T08:43:32.3278365Z Secret source: Actions
2022-05-09T08:43:32.3278805Z Prepare workflow directory
2022-05-09T08:43:32.4659327Z Prepare all required actions
2022-05-09T08:43:32.4926195Z Getting action download info
2022-05-09T08:43:32.9562309Z Download action repository 'actions/checkout@v2' (SHA:7884fcad6b5d53d10323aee724dc68d8b9096a2e)
2022-05-09T08:43:33.4176966Z Download action repository 'microsoft/[email protected]' (SHA:0a69fc99d4987f0b01139528fff254ad8fc44420)
2022-05-09T08:43:34.1669919Z ##[group]Run actions/checkout@v2
2022-05-09T08:43:34.1670591Z with:
2022-05-09T08:43:34.1671230Z   repository: Accelerynt-Security/Affy-Tapple-BC
2022-05-09T08:43:34.1671850Z   token: ***
2022-05-09T08:43:34.1672166Z   ssh-strict: true
2022-05-09T08:43:34.1672527Z   persist-credentials: true
2022-05-09T08:43:34.1672796Z   clean: true
2022-05-09T08:43:34.1673152Z   fetch-depth: 1
2022-05-09T08:43:34.1673463Z   lfs: false
2022-05-09T08:43:34.1673702Z   submodules: false
2022-05-09T08:43:34.1674033Z   set-safe-directory: true
2022-05-09T08:43:34.1674449Z ##[endgroup]
2022-05-09T08:43:41.7820335Z Syncing repository: Accelerynt-Security/Affy-Tapple-BC
2022-05-09T08:43:41.8321439Z ##[group]Getting Git version info
2022-05-09T08:43:41.8322340Z Working directory is 'D:\a\Affy-Tapple-BC\Affy-Tapple-BC'
2022-05-09T08:43:41.8785154Z [command]"C:\Program Files\Git\bin\git.exe" version
2022-05-09T08:43:42.5715005Z git version 2.35.1.windows.2
2022-05-09T08:43:42.5875209Z ##[endgroup]
2022-05-09T08:43:42.5924827Z Temporarily overriding HOME='D:\a\_temp\87228b28-72d2-427b-a752-911b130a0ac5' before making global git config changes
2022-05-09T08:43:42.5926910Z Adding repository directory to the temporary git global config as a safe directory
2022-05-09T08:43:42.5937072Z [command]"C:\Program Files\Git\bin\git.exe" config --global --add safe.directory D:\a\Affy-Tapple-BC\Affy-Tapple-BC
2022-05-09T08:43:42.6873376Z Deleting the contents of 'D:\a\Affy-Tapple-BC\Affy-Tapple-BC'
2022-05-09T08:43:42.6896539Z ##[group]Initializing the repository
2022-05-09T08:43:42.6914809Z [command]"C:\Program Files\Git\bin\git.exe" init D:\a\Affy-Tapple-BC\Affy-Tapple-BC
2022-05-09T08:43:42.8181698Z Initialized empty Git repository in D:/a/Affy-Tapple-BC/Affy-Tapple-BC/.git/
2022-05-09T08:43:42.8211840Z [command]"C:\Program Files\Git\bin\git.exe" remote add origin https://github.com/Accelerynt-Security/Affy-Tapple-BC
2022-05-09T08:43:42.8753695Z ##[endgroup]
2022-05-09T08:43:42.8754772Z ##[group]Disabling automatic garbage collection
2022-05-09T08:43:42.8789525Z [command]"C:\Program Files\Git\bin\git.exe" config --local gc.auto 0
2022-05-09T08:43:42.9051198Z ##[endgroup]
2022-05-09T08:43:42.9052213Z ##[group]Setting up auth
2022-05-09T08:43:42.9066533Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp core\.sshCommand
2022-05-09T08:43:42.9333273Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2022-05-09T08:43:45.2393689Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2022-05-09T08:43:45.2658840Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2022-05-09T08:43:46.4106725Z [command]"C:\Program Files\Git\bin\git.exe" config --local http.https://github.com/.extraheader "AUTHORIZATION: basic ***"
2022-05-09T08:43:46.4619586Z ##[endgroup]
2022-05-09T08:43:46.4638216Z ##[group]Fetching the repository
2022-05-09T08:43:46.4794745Z [command]"C:\Program Files\Git\bin\git.exe" -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +375948ff45949be19834a970aaabc60b3cce6fa7:refs/remotes/origin/main
2022-05-09T08:43:48.3974619Z remote: Enumerating objects: 167, done.        
2022-05-09T08:43:48.3975277Z remote: Counting objects:   0% (1/167)        
2022-05-09T08:43:48.3975777Z remote: Counting objects:   1% (2/167)        
2022-05-09T08:43:48.3976159Z remote: Counting objects:   2% (4/167)        
2022-05-09T08:43:48.3976588Z remote: Counting objects:   3% (6/167)        
2022-05-09T08:43:48.3976914Z remote: Counting objects:   4% (7/167)        
2022-05-09T08:43:48.3978923Z remote: Counting objects:   5% (9/167)        
2022-05-09T08:43:48.3979672Z remote: Counting objects:   6% (11/167)        
2022-05-09T08:43:48.3980177Z remote: Counting objects:   7% (12/167)        
2022-05-09T08:43:48.3980603Z remote: Counting objects:   8% (14/167)        
2022-05-09T08:43:48.3981196Z remote: Counting objects:   9% (16/167)        
2022-05-09T08:43:48.3981739Z remote: Counting objects:  10% (17/167)        
2022-05-09T08:43:48.3982232Z remote: Counting objects:  11% (19/167)        
2022-05-09T08:43:48.3982645Z remote: Counting objects:  12% (21/167)        
2022-05-09T08:43:48.3983213Z remote: Counting objects:  13% (22/167)        
2022-05-09T08:43:48.3983733Z remote: Counting objects:  14% (24/167)        
2022-05-09T08:43:48.3984225Z remote: Counting objects:  15% (26/167)        
2022-05-09T08:43:48.3984643Z remote: Counting objects:  16% (27/167)        
2022-05-09T08:43:48.3985276Z remote: Counting objects:  17% (29/167)        
2022-05-09T08:43:48.3985733Z remote: Counting objects:  18% (31/167)        
2022-05-09T08:43:48.3986157Z remote: Counting objects:  19% (32/167)        
2022-05-09T08:43:48.3986638Z remote: Counting objects:  20% (34/167)        
2022-05-09T08:43:48.3988285Z remote: Counting objects:  21% (36/167)        
2022-05-09T08:43:48.3989517Z remote: Counting objects:  22% (37/167)        
2022-05-09T08:43:48.3990102Z remote: Counting objects:  23% (39/167)        
2022-05-09T08:43:48.3990409Z remote: Counting objects:  24% (41/167)        
2022-05-09T08:43:48.3990777Z remote: Counting objects:  25% (42/167)        
2022-05-09T08:43:48.3991289Z remote: Counting objects:  26% (44/167)        
2022-05-09T08:43:48.3991598Z remote: Counting objects:  27% (46/167)        
2022-05-09T08:43:48.3991958Z remote: Counting objects:  28% (47/167)        
2022-05-09T08:43:48.3992317Z remote: Counting objects:  29% (49/167)        
2022-05-09T08:43:48.3992624Z remote: Counting objects:  30% (51/167)        
2022-05-09T08:43:48.3993231Z remote: Counting objects:  31% (52/167)        
2022-05-09T08:43:48.3993632Z remote: Counting objects:  32% (54/167)        
2022-05-09T08:43:48.3994094Z remote: Counting objects:  33% (56/167)        
2022-05-09T08:43:48.3994416Z remote: Counting objects:  34% (57/167)        
2022-05-09T08:43:48.3995046Z remote: Counting objects:  35% (59/167)        
2022-05-09T08:43:48.3995457Z remote: Counting objects:  36% (61/167)        
2022-05-09T08:43:48.3995773Z remote: Counting objects:  37% (62/167)        
2022-05-09T08:43:48.3997501Z remote: Counting objects:  38% (64/167)        
2022-05-09T08:43:48.3998106Z remote: Counting objects:  39% (66/167)        
2022-05-09T08:43:48.3998492Z remote: Counting objects:  40% (67/167)        
2022-05-09T08:43:48.3998796Z remote: Counting objects:  41% (69/167)        
2022-05-09T08:43:48.3999459Z remote: Counting objects:  42% (71/167)        
2022-05-09T08:43:48.4000227Z remote: Counting objects:  43% (72/167)        
2022-05-09T08:43:48.4001383Z remote: Counting objects:  44% (74/167)        
2022-05-09T08:43:48.4002356Z remote: Counting objects:  45% (76/167)        
2022-05-09T08:43:48.4003656Z remote: Counting objects:  46% (77/167)        
2022-05-09T08:43:48.4003981Z remote: Counting objects:  47% (79/167)        
2022-05-09T08:43:48.4004339Z remote: Counting objects:  48% (81/167)        
2022-05-09T08:43:48.4004769Z remote: Counting objects:  49% (82/167)        
2022-05-09T08:43:48.4005164Z remote: Counting objects:  50% (84/167)        
2022-05-09T08:43:48.4005516Z remote: Counting objects:  51% (86/167)        
2022-05-09T08:43:48.4005906Z remote: Counting objects:  52% (87/167)        
2022-05-09T08:43:48.4006283Z remote: Counting objects:  53% (89/167)        
2022-05-09T08:43:48.4006584Z remote: Counting objects:  54% (91/167)        
2022-05-09T08:43:48.4007014Z remote: Counting objects:  55% (92/167)        
2022-05-09T08:43:48.4007629Z remote: Counting objects:  56% (94/167)        
2022-05-09T08:43:48.4007983Z remote: Counting objects:  57% (96/167)        
2022-05-09T08:43:48.4009566Z remote: Counting objects:  58% (97/167)        
2022-05-09T08:43:48.4010039Z remote: Counting objects:  59% (99/167)        
2022-05-09T08:43:48.4010362Z remote: Counting objects:  60% (101/167)        
2022-05-09T08:43:48.4010748Z remote: Counting objects:  61% (102/167)        
2022-05-09T08:43:48.4011178Z remote: Counting objects:  62% (104/167)        
2022-05-09T08:43:48.4011575Z remote: Counting objects:  63% (106/167)        
2022-05-09T08:43:48.4011940Z remote: Counting objects:  64% (107/167)        
2022-05-09T08:43:48.4012310Z remote: Counting objects:  65% (109/167)        
2022-05-09T08:43:48.4012705Z remote: Counting objects:  66% (111/167)        
2022-05-09T08:43:48.4013023Z remote: Counting objects:  67% (112/167)        
2022-05-09T08:43:48.4013457Z remote: Counting objects:  68% (114/167)        
2022-05-09T08:43:48.4013849Z remote: Counting objects:  69% (116/167)        
2022-05-09T08:43:48.4014161Z remote: Counting objects:  70% (117/167)        
2022-05-09T08:43:48.4014528Z remote: Counting objects:  71% (119/167)        
2022-05-09T08:43:48.4014899Z remote: Counting objects:  72% (121/167)        
2022-05-09T08:43:48.4015209Z remote: Counting objects:  73% (122/167)        
2022-05-09T08:43:48.4015594Z remote: Counting objects:  74% (124/167)        
2022-05-09T08:43:48.4015952Z remote: Counting objects:  75% (126/167)        
2022-05-09T08:43:48.4016311Z remote: Counting objects:  76% (127/167)        
2022-05-09T08:43:48.4016631Z remote: Counting objects:  77% (129/167)        
2022-05-09T08:43:48.4017024Z remote: Counting objects:  78% (131/167)        
2022-05-09T08:43:48.4017587Z remote: Counting objects:  79% (132/167)        
2022-05-09T08:43:48.4017895Z remote: Counting objects:  80% (134/167)        
2022-05-09T08:43:48.4018266Z remote: Counting objects:  81% (136/167)        
2022-05-09T08:43:48.4018631Z remote: Counting objects:  82% (137/167)        
2022-05-09T08:43:48.4018957Z remote: Counting objects:  83% (139/167)        
2022-05-09T08:43:48.4019328Z remote: Counting objects:  84% (141/167)        
2022-05-09T08:43:48.4019761Z remote: Counting objects:  85% (142/167)        
2022-05-09T08:43:48.4020082Z remote: Counting objects:  86% (144/167)        
2022-05-09T08:43:48.4020513Z remote: Counting objects:  87% (146/167)        
2022-05-09T08:43:48.4021265Z remote: Counting objects:  88% (147/167)        
2022-05-09T08:43:48.4021919Z remote: Counting objects:  89% (149/167)        
2022-05-09T08:43:48.4022479Z remote: Counting objects:  90% (151/167)        
2022-05-09T08:43:48.4024299Z remote: Counting objects:  91% (152/167)        
2022-05-09T08:43:48.4024848Z remote: Counting objects:  92% (154/167)        
2022-05-09T08:43:48.4025269Z remote: Counting objects:  93% (156/167)        
2022-05-09T08:43:48.4026387Z remote: Counting objects:  94% (157/167)        
2022-05-09T08:43:48.4027583Z remote: Counting objects:  95% (159/167)        
2022-05-09T08:43:48.4028811Z remote: Counting objects:  96% (161/167)        
2022-05-09T08:43:48.4029332Z remote: Counting objects:  97% (162/167)        
2022-05-09T08:43:48.4029910Z remote: Counting objects:  98% (164/167)        
2022-05-09T08:43:48.4031277Z remote: Counting objects:  99% (166/167)        
2022-05-09T08:43:48.4031833Z remote: Counting objects: 100% (167/167)        
2022-05-09T08:43:48.4032347Z remote: Counting objects: 100% (167/167), done.        
2022-05-09T08:43:48.4033566Z remote: Compressing objects:   0% (1/141)        
2022-05-09T08:43:48.4034155Z remote: Compressing objects:   1% (2/141)        
2022-05-09T08:43:48.4034697Z remote: Compressing objects:   2% (3/141)        
2022-05-09T08:43:48.4035167Z remote: Compressing objects:   3% (5/141)        
2022-05-09T08:43:48.4035607Z remote: Compressing objects:   4% (6/141)        
2022-05-09T08:43:48.4036075Z remote: Compressing objects:   5% (8/141)        
2022-05-09T08:43:48.4036534Z remote: Compressing objects:   6% (9/141)        
2022-05-09T08:43:48.4037158Z remote: Compressing objects:   7% (10/141)        
2022-05-09T08:43:48.4037625Z remote: Compressing objects:   8% (12/141)        
2022-05-09T08:43:48.4038127Z remote: Compressing objects:   9% (13/141)        
2022-05-09T08:43:48.4040131Z remote: Compressing objects:  10% (15/141)        
2022-05-09T08:43:48.4040846Z remote: Compressing objects:  11% (16/141)        
2022-05-09T08:43:48.4041348Z remote: Compressing objects:  12% (17/141)        
2022-05-09T08:43:48.4041877Z remote: Compressing objects:  13% (19/141)        
2022-05-09T08:43:48.4059867Z remote: Compressing objects:  14% (20/141)        
2022-05-09T08:43:48.4118485Z remote: Compressing objects:  15% (22/141)        
2022-05-09T08:43:48.4143424Z remote: Compressing objects:  16% (23/141)        
2022-05-09T08:43:48.4198287Z remote: Compressing objects:  17% (24/141)        
2022-05-09T08:43:48.4251632Z remote: Compressing objects:  18% (26/141)        
2022-05-09T08:43:48.4268388Z remote: Compressing objects:  19% (27/141)        
2022-05-09T08:43:48.4282820Z remote: Compressing objects:  20% (29/141)        
2022-05-09T08:43:48.4318495Z remote: Compressing objects:  21% (30/141)        
2022-05-09T08:43:48.4319022Z remote: Compressing objects:  22% (32/141)        
2022-05-09T08:43:48.4319530Z remote: Compressing objects:  23% (33/141)        
2022-05-09T08:43:48.4332253Z remote: Compressing objects:  24% (34/141)        
2022-05-09T08:43:48.4347912Z remote: Compressing objects:  25% (36/141)        
2022-05-09T08:43:48.4348550Z remote: Compressing objects:  26% (37/141)        
2022-05-09T08:43:48.4349033Z remote: Compressing objects:  27% (39/141)        
2022-05-09T08:43:48.4349411Z remote: Compressing objects:  28% (40/141)        
2022-05-09T08:43:48.4349737Z remote: Compressing objects:  29% (41/141)        
2022-05-09T08:43:48.4350131Z remote: Compressing objects:  30% (43/141)        
2022-05-09T08:43:48.4350705Z remote: Compressing objects:  31% (44/141)        
2022-05-09T08:43:48.4351231Z remote: Compressing objects:  32% (46/141)        
2022-05-09T08:43:48.4351724Z remote: Compressing objects:  33% (47/141)        
2022-05-09T08:43:48.4352203Z remote: Compressing objects:  34% (48/141)        
2022-05-09T08:43:48.4352694Z remote: Compressing objects:  35% (50/141)        
2022-05-09T08:43:48.4353120Z remote: Compressing objects:  36% (51/141)        
2022-05-09T08:43:48.4353713Z remote: Compressing objects:  37% (53/141)        
2022-05-09T08:43:48.4354225Z remote: Compressing objects:  38% (54/141)        
2022-05-09T08:43:48.4354943Z remote: Compressing objects:  39% (55/141)        
2022-05-09T08:43:48.5971198Z remote: Compressing objects:  40% (57/141)        
2022-05-09T08:43:48.5971924Z remote: Compressing objects:  41% (58/141)        
2022-05-09T08:43:48.5972714Z remote: Compressing objects:  42% (60/141)        
2022-05-09T08:43:48.5973431Z remote: Compressing objects:  43% (61/141)        
2022-05-09T08:43:48.5973969Z remote: Compressing objects:  44% (63/141)        
2022-05-09T08:43:48.5975492Z remote: Compressing objects:  45% (64/141)        
2022-05-09T08:43:48.5975883Z remote: Compressing objects:  46% (65/141)        
2022-05-09T08:43:48.5976231Z remote: Compressing objects:  47% (67/141)        
2022-05-09T08:43:48.5976562Z remote: Compressing objects:  48% (68/141)        
2022-05-09T08:43:48.5976917Z remote: Compressing objects:  49% (70/141)        
2022-05-09T08:43:48.5977307Z remote: Compressing objects:  50% (71/141)        
2022-05-09T08:43:48.5977667Z remote: Compressing objects:  51% (72/141)        
2022-05-09T08:43:48.5977952Z remote: Compressing objects:  52% (74/141)        
2022-05-09T08:43:48.5978229Z remote: Compressing objects:  53% (75/141)        
2022-05-09T08:43:48.5978654Z remote: Compressing objects:  54% (77/141)        
2022-05-09T08:43:48.5979611Z remote: Compressing objects:  55% (78/141)        
2022-05-09T08:43:48.5979999Z remote: Compressing objects:  56% (79/141)        
2022-05-09T08:43:48.5980912Z remote: Compressing objects:  57% (81/141)        
2022-05-09T08:43:48.5981677Z remote: Compressing objects:  58% (82/141)        
2022-05-09T08:43:48.5982255Z remote: Compressing objects:  59% (84/141)        
2022-05-09T08:43:48.5982803Z remote: Compressing objects:  60% (85/141)        
2022-05-09T08:43:48.5983288Z remote: Compressing objects:  61% (87/141)        
2022-05-09T08:43:48.5983701Z remote: Compressing objects:  62% (88/141)        
2022-05-09T08:43:48.5984061Z remote: Compressing objects:  63% (89/141)        
2022-05-09T08:43:48.5984956Z remote: Compressing objects:  64% (91/141)        
2022-05-09T08:43:48.5985250Z remote: Compressing objects:  65% (92/141)        
2022-05-09T08:43:48.5985535Z remote: Compressing objects:  66% (94/141)        
2022-05-09T08:43:48.5985815Z remote: Compressing objects:  67% (95/141)        
2022-05-09T08:43:48.5986114Z remote: Compressing objects:  68% (96/141)        
2022-05-09T08:43:48.5986461Z remote: Compressing objects:  69% (98/141)        
2022-05-09T08:43:48.5986747Z remote: Compressing objects:  70% (99/141)        
2022-05-09T08:43:48.5987168Z remote: Compressing objects:  71% (101/141)        
2022-05-09T08:43:48.5987843Z remote: Compressing objects:  72% (102/141)        
2022-05-09T08:43:48.5988136Z remote: Compressing objects:  73% (103/141)        
2022-05-09T08:43:48.5988441Z remote: Compressing objects:  74% (105/141)        
2022-05-09T08:43:48.5988752Z remote: Compressing objects:  75% (106/141)        
2022-05-09T08:43:48.5989059Z remote: Compressing objects:  76% (108/141)        
2022-05-09T08:43:48.5989343Z remote: Compressing objects:  77% (109/141)        
2022-05-09T08:43:48.5990704Z remote: Compressing objects:  78% (110/141)        
2022-05-09T08:43:48.5991092Z remote: Compressing objects:  79% (112/141)        
2022-05-09T08:43:48.5991467Z remote: Compressing objects:  80% (113/141)        
2022-05-09T08:43:48.5991842Z remote: Compressing objects:  81% (115/141)        
2022-05-09T08:43:48.5992206Z remote: Compressing objects:  82% (116/141)        
2022-05-09T08:43:48.5992587Z remote: Compressing objects:  83% (118/141)        
2022-05-09T08:43:48.5992955Z remote: Compressing objects:  84% (119/141)        
2022-05-09T08:43:48.5994134Z remote: Compressing objects:  85% (120/141)        
2022-05-09T08:43:48.5994521Z remote: Compressing objects:  86% (122/141)        
2022-05-09T08:43:48.5994895Z remote: Compressing objects:  87% (123/141)        
2022-05-09T08:43:48.5996061Z remote: Compressing objects:  88% (125/141)        
2022-05-09T08:43:48.5997430Z remote: Compressing objects:  89% (126/141)        
2022-05-09T08:43:48.5997816Z remote: Compressing objects:  90% (127/141)        
2022-05-09T08:43:48.5998264Z remote: Compressing objects:  91% (129/141)        
2022-05-09T08:43:48.5998630Z remote: Compressing objects:  92% (130/141)        
2022-05-09T08:43:48.5998998Z remote: Compressing objects:  93% (132/141)        
2022-05-09T08:43:48.5999361Z remote: Compressing objects:  94% (133/141)        
2022-05-09T08:43:48.5999734Z remote: Compressing objects:  95% (134/141)        
2022-05-09T08:43:48.6000109Z remote: Compressing objects:  96% (136/141)        
2022-05-09T08:43:48.6000479Z remote: Compressing objects:  97% (137/141)        
2022-05-09T08:43:48.6000844Z remote: Compressing objects:  98% (139/141)        
2022-05-09T08:43:48.6001211Z remote: Compressing objects:  99% (140/141)        
2022-05-09T08:43:48.6001578Z remote: Compressing objects: 100% (141/141)        
2022-05-09T08:43:48.6001978Z remote: Compressing objects: 100% (141/141), done.        
2022-05-09T08:43:48.6081122Z Receiving objects:   0% (1/167)
2022-05-09T08:43:48.6083978Z Receiving objects:   1% (2/167)
2022-05-09T08:43:48.6084243Z Receiving objects:   2% (4/167)
2022-05-09T08:43:48.6084493Z Receiving objects:   3% (6/167)
2022-05-09T08:43:48.6094768Z Receiving objects:   4% (7/167)
2022-05-09T08:43:48.6095529Z Receiving objects:   5% (9/167)
2022-05-09T08:43:48.6095854Z Receiving objects:   6% (11/167)
2022-05-09T08:43:48.6097890Z Receiving objects:   7% (12/167)
2022-05-09T08:43:48.6099134Z Receiving objects:   8% (14/167)
2022-05-09T08:43:48.6106136Z Receiving objects:   9% (16/167)
2022-05-09T08:43:48.6106639Z Receiving objects:  10% (17/167)
2022-05-09T08:43:48.6106984Z Receiving objects:  11% (19/167)
2022-05-09T08:43:48.6107309Z Receiving objects:  12% (21/167)
2022-05-09T08:43:48.6107631Z Receiving objects:  13% (22/167)
2022-05-09T08:43:48.6107954Z Receiving objects:  14% (24/167)
2022-05-09T08:43:48.6108278Z Receiving objects:  15% (26/167)
2022-05-09T08:43:48.6108605Z Receiving objects:  16% (27/167)
2022-05-09T08:43:48.6125028Z Receiving objects:  17% (29/167)
2022-05-09T08:43:48.6125435Z Receiving objects:  18% (31/167)
2022-05-09T08:43:48.6129653Z Receiving objects:  19% (32/167)
2022-05-09T08:43:48.6532798Z Receiving objects:  20% (34/167)
2022-05-09T08:43:48.6533993Z Receiving objects:  21% (36/167)
2022-05-09T08:43:48.6608238Z Receiving objects:  22% (37/167)
2022-05-09T08:43:48.6609594Z Receiving objects:  23% (39/167)
2022-05-09T08:43:48.6611328Z Receiving objects:  24% (41/167)
2022-05-09T08:43:48.6632407Z Receiving objects:  25% (42/167)
2022-05-09T08:43:48.6640691Z Receiving objects:  26% (44/167)
2022-05-09T08:43:48.6647657Z Receiving objects:  27% (46/167)
2022-05-09T08:43:48.6648016Z Receiving objects:  28% (47/167)
2022-05-09T08:43:48.6651006Z Receiving objects:  29% (49/167)
2022-05-09T08:43:48.6651816Z Receiving objects:  30% (51/167)
2022-05-09T08:43:48.6652149Z Receiving objects:  31% (52/167)
2022-05-09T08:43:48.6652482Z Receiving objects:  32% (54/167)
2022-05-09T08:43:48.6652805Z Receiving objects:  33% (56/167)
2022-05-09T08:43:48.6653294Z Receiving objects:  34% (57/167)
2022-05-09T08:43:48.6653890Z Receiving objects:  35% (59/167)
2022-05-09T08:43:48.6654377Z Receiving objects:  36% (61/167)
2022-05-09T08:43:48.6654785Z Receiving objects:  37% (62/167)
2022-05-09T08:43:48.6655100Z Receiving objects:  38% (64/167)
2022-05-09T08:43:48.6656485Z Receiving objects:  39% (66/167)
2022-05-09T08:43:48.6657258Z Receiving objects:  40% (67/167)
2022-05-09T08:43:48.6657586Z Receiving objects:  41% (69/167)
2022-05-09T08:43:48.6658052Z Receiving objects:  42% (71/167)
2022-05-09T08:43:48.6658537Z Receiving objects:  43% (72/167)
2022-05-09T08:43:48.6658859Z Receiving objects:  44% (74/167)
2022-05-09T08:43:48.6659178Z Receiving objects:  45% (76/167)
2022-05-09T08:43:48.6659474Z Receiving objects:  46% (77/167)
2022-05-09T08:43:48.6659792Z Receiving objects:  47% (79/167)
2022-05-09T08:43:48.6660388Z Receiving objects:  48% (81/167)
2022-05-09T08:43:48.6660692Z Receiving objects:  49% (82/167)
2022-05-09T08:43:48.6661096Z Receiving objects:  50% (84/167)
2022-05-09T08:43:48.6661414Z Receiving objects:  51% (86/167)
2022-05-09T08:43:48.6691921Z Receiving objects:  52% (87/167)
2022-05-09T08:43:48.6692521Z Receiving objects:  53% (89/167)
2022-05-09T08:43:48.6692875Z Receiving objects:  54% (91/167)
2022-05-09T08:43:48.6722250Z Receiving objects:  55% (92/167)
2022-05-09T08:43:48.6723690Z Receiving objects:  56% (94/167)
2022-05-09T08:43:48.6724457Z Receiving objects:  57% (96/167)
2022-05-09T08:43:48.6725357Z Receiving objects:  58% (97/167)
2022-05-09T08:43:48.6830384Z Receiving objects:  59% (99/167)
2022-05-09T08:43:48.6837346Z Receiving objects:  60% (101/167)
2022-05-09T08:43:48.6838145Z Receiving objects:  61% (102/167)
2022-05-09T08:43:48.6839023Z Receiving objects:  62% (104/167)
2022-05-09T08:43:48.6842247Z Receiving objects:  63% (106/167)
2022-05-09T08:43:48.6843948Z Receiving objects:  64% (107/167)
2022-05-09T08:43:48.6844462Z Receiving objects:  65% (109/167)
2022-05-09T08:43:48.6844810Z Receiving objects:  66% (111/167)
2022-05-09T08:43:48.6845124Z Receiving objects:  67% (112/167)
2022-05-09T08:43:48.6845750Z Receiving objects:  68% (114/167)
2022-05-09T08:43:48.6846079Z Receiving objects:  69% (116/167)
2022-05-09T08:43:48.6846402Z Receiving objects:  70% (117/167)
2022-05-09T08:43:48.6846879Z Receiving objects:  71% (119/167)
2022-05-09T08:43:48.6847638Z Receiving objects:  72% (121/167)
2022-05-09T08:43:48.6848123Z Receiving objects:  73% (122/167)
2022-05-09T08:43:48.6848476Z Receiving objects:  74% (124/167)
2022-05-09T08:43:48.6848797Z Receiving objects:  75% (126/167)
2022-05-09T08:43:48.6849097Z Receiving objects:  76% (127/167)
2022-05-09T08:43:48.6849404Z Receiving objects:  77% (129/167)
2022-05-09T08:43:48.6849716Z Receiving objects:  78% (131/167)
2022-05-09T08:43:48.6850183Z Receiving objects:  79% (132/167)
2022-05-09T08:43:48.6850528Z Receiving objects:  80% (134/167)
2022-05-09T08:43:48.6850846Z Receiving objects:  81% (136/167)
2022-05-09T08:43:48.6851248Z Receiving objects:  82% (137/167)
2022-05-09T08:43:48.6851554Z Receiving objects:  83% (139/167)
2022-05-09T08:43:48.6851874Z Receiving objects:  84% (141/167)
2022-05-09T08:43:48.6852200Z Receiving objects:  85% (142/167)
2022-05-09T08:43:48.6852519Z Receiving objects:  86% (144/167)
2022-05-09T08:43:48.6852818Z Receiving objects:  87% (146/167)
2022-05-09T08:43:48.6853219Z Receiving objects:  88% (147/167)
2022-05-09T08:43:48.6853660Z Receiving objects:  89% (149/167)
2022-05-09T08:43:48.6853972Z Receiving objects:  90% (151/167)
2022-05-09T08:43:48.6854288Z Receiving objects:  91% (152/167)
2022-05-09T08:43:48.6854609Z Receiving objects:  92% (154/167)
2022-05-09T08:43:48.6854922Z Receiving objects:  93% (156/167)
2022-05-09T08:43:48.6855223Z Receiving objects:  94% (157/167)
2022-05-09T08:43:48.6855986Z remote: Total 167 (delta 69), reused 76 (delta 22), pack-reused 0        
2022-05-09T08:43:48.6856433Z Receiving objects:  95% (159/167)
2022-05-09T08:43:48.6856819Z Receiving objects:  96% (161/167)
2022-05-09T08:43:48.6857219Z Receiving objects:  97% (162/167)
2022-05-09T08:43:48.6857542Z Receiving objects:  98% (164/167)
2022-05-09T08:43:48.6857864Z Receiving objects:  99% (166/167)
2022-05-09T08:43:48.6858164Z Receiving objects: 100% (167/167)
2022-05-09T08:43:48.6858525Z Receiving objects: 100% (167/167), 2.28 MiB | 21.06 MiB/s, done.
2022-05-09T08:43:48.6858887Z Resolving deltas:   0% (0/69)
2022-05-09T08:43:48.6859216Z Resolving deltas:   1% (1/69)
2022-05-09T08:43:48.6859516Z Resolving deltas:   2% (2/69)
2022-05-09T08:43:48.6859834Z Resolving deltas:   4% (3/69)
2022-05-09T08:43:48.6860148Z Resolving deltas:   5% (4/69)
2022-05-09T08:43:48.6860450Z Resolving deltas:   7% (5/69)
2022-05-09T08:43:48.6860817Z Resolving deltas:   8% (6/69)
2022-05-09T08:43:48.6861197Z Resolving deltas:  10% (7/69)
2022-05-09T08:43:48.6861529Z Resolving deltas:  11% (8/69)
2022-05-09T08:43:48.6861994Z Resolving deltas:  13% (9/69)
2022-05-09T08:43:48.6862262Z Resolving deltas:  14% (10/69)
2022-05-09T08:43:48.6862596Z Resolving deltas:  15% (11/69)
2022-05-09T08:43:48.6863837Z Resolving deltas:  17% (12/69)
2022-05-09T08:43:48.6864316Z Resolving deltas:  18% (13/69)
2022-05-09T08:43:48.6864638Z Resolving deltas:  20% (14/69)
2022-05-09T08:43:48.6865128Z Resolving deltas:  21% (15/69)
2022-05-09T08:43:48.6865693Z Resolving deltas:  23% (16/69)
2022-05-09T08:43:48.6866021Z Resolving deltas:  24% (17/69)
2022-05-09T08:43:48.6866390Z Resolving deltas:  26% (18/69)
2022-05-09T08:43:48.6866703Z Resolving deltas:  27% (19/69)
2022-05-09T08:43:48.6867023Z Resolving deltas:  28% (20/69)
2022-05-09T08:43:48.6867338Z Resolving deltas:  30% (21/69)
2022-05-09T08:43:48.6867650Z Resolving deltas:  31% (22/69)
2022-05-09T08:43:48.6867956Z Resolving deltas:  33% (23/69)
2022-05-09T08:43:48.6868269Z Resolving deltas:  34% (24/69)
2022-05-09T08:43:48.6869045Z Resolving deltas:  36% (25/69)
2022-05-09T08:43:48.6870144Z Resolving deltas:  37% (26/69)
2022-05-09T08:43:48.6870494Z Resolving deltas:  39% (27/69)
2022-05-09T08:43:48.6870934Z Resolving deltas:  40% (28/69)
2022-05-09T08:43:48.6871281Z Resolving deltas:  42% (29/69)
2022-05-09T08:43:48.6871580Z Resolving deltas:  43% (30/69)
2022-05-09T08:43:48.6871894Z Resolving deltas:  44% (31/69)
2022-05-09T08:43:48.6872211Z Resolving deltas:  46% (32/69)
2022-05-09T08:43:48.6872526Z Resolving deltas:  47% (33/69)
2022-05-09T08:43:48.6872826Z Resolving deltas:  49% (34/69)
2022-05-09T08:43:48.6873489Z Resolving deltas:  50% (35/69)
2022-05-09T08:43:48.6873849Z Resolving deltas:  52% (36/69)
2022-05-09T08:43:48.6874159Z Resolving deltas:  53% (37/69)
2022-05-09T08:43:48.6874475Z Resolving deltas:  55% (38/69)
2022-05-09T08:43:48.6874787Z Resolving deltas:  56% (39/69)
2022-05-09T08:43:48.6875098Z Resolving deltas:  57% (40/69)
2022-05-09T08:43:48.6875396Z Resolving deltas:  59% (41/69)
2022-05-09T08:43:48.6875724Z Resolving deltas:  60% (42/69)
2022-05-09T08:43:48.6876038Z Resolving deltas:  62% (43/69)
2022-05-09T08:43:48.6876338Z Resolving deltas:  63% (44/69)
2022-05-09T08:43:48.6876724Z Resolving deltas:  65% (45/69)
2022-05-09T08:43:48.6877040Z Resolving deltas:  66% (46/69)
2022-05-09T08:43:48.6877353Z Resolving deltas:  68% (47/69)
2022-05-09T08:43:48.6877648Z Resolving deltas:  69% (48/69)
2022-05-09T08:43:48.6877962Z Resolving deltas:  71% (49/69)
2022-05-09T08:43:48.6878274Z Resolving deltas:  72% (50/69)
2022-05-09T08:43:48.6878811Z Resolving deltas:  73% (51/69)
2022-05-09T08:43:48.6879119Z Resolving deltas:  75% (52/69)
2022-05-09T08:43:48.6879408Z Resolving deltas:  76% (53/69)
2022-05-09T08:43:48.6879710Z Resolving deltas:  78% (54/69)
2022-05-09T08:43:48.6880615Z Resolving deltas:  79% (55/69)
2022-05-09T08:43:48.6881287Z Resolving deltas:  81% (56/69)
2022-05-09T08:43:48.6881789Z Resolving deltas:  82% (57/69)
2022-05-09T08:43:48.6882128Z Resolving deltas:  84% (58/69)
2022-05-09T08:43:48.6882457Z Resolving deltas:  85% (59/69)
2022-05-09T08:43:48.6882964Z Resolving deltas:  86% (60/69)
2022-05-09T08:43:48.6884244Z Resolving deltas:  88% (61/69)
2022-05-09T08:43:48.6884598Z Resolving deltas:  89% (62/69)
2022-05-09T08:43:48.6884932Z Resolving deltas:  91% (63/69)
2022-05-09T08:43:48.6885255Z Resolving deltas:  92% (64/69)
2022-05-09T08:43:48.6885601Z Resolving deltas:  94% (65/69)
2022-05-09T08:43:48.6886255Z Resolving deltas:  95% (66/69)
2022-05-09T08:43:48.6886674Z Resolving deltas:  97% (67/69)
2022-05-09T08:43:48.6886980Z Resolving deltas:  98% (68/69)
2022-05-09T08:43:48.6887301Z Resolving deltas: 100% (69/69)
2022-05-09T08:43:48.6887621Z Resolving deltas: 100% (69/69), done.
2022-05-09T08:43:48.7673466Z From https://github.com/Accelerynt-Security/Affy-Tapple-BC
2022-05-09T08:43:48.7674462Z  * [new ref]         375948ff45949be19834a970aaabc60b3cce6fa7 -> origin/main
2022-05-09T08:43:48.7875648Z ##[endgroup]
2022-05-09T08:43:48.7876140Z ##[group]Determining the checkout info
2022-05-09T08:43:48.7886360Z ##[endgroup]
2022-05-09T08:43:48.7886894Z ##[group]Checking out the ref
2022-05-09T08:43:48.7891655Z [command]"C:\Program Files\Git\bin\git.exe" checkout --progress --force -B main refs/remotes/origin/main
2022-05-09T08:43:48.9368530Z branch 'main' set up to track 'origin/main'.
2022-05-09T08:43:48.9370177Z Switched to a new branch 'main'
2022-05-09T08:43:48.9415614Z ##[endgroup]
2022-05-09T08:43:48.9746317Z [command]"C:\Program Files\Git\bin\git.exe" log -1 --format='%H'
2022-05-09T08:43:49.0014272Z '375948ff45949be19834a970aaabc60b3cce6fa7'
2022-05-09T08:43:49.0714719Z ##[group]Run microsoft/AL-Go-Actions/[email protected]
2022-05-09T08:43:49.0715251Z with:
2022-05-09T08:43:49.0715453Z   eventId: DO0091
2022-05-09T08:43:49.0715661Z ##[endgroup]
2022-05-09T08:43:49.1298511Z ##[group]Run try { D:\a\_actions\microsoft\AL-Go-Actions\v1.4\WorkflowInitialize/WorkflowInitialize.ps1 -eventId 'DO0091' } catch { Write-Host "::Error::Unexpected error when running action ($($_.Exception.Message))"; exit 1 }
2022-05-09T08:43:49.1299413Z �[36;1mtry { D:\a\_actions\microsoft\AL-Go-Actions\v1.4\WorkflowInitialize/WorkflowInitialize.ps1 -eventId 'DO0091' } catch { Write-Host "::Error::Unexpected error when running action ($($_.Exception.Message))"; exit 1 }�[0m
2022-05-09T08:43:49.1350962Z shell: C:\Windows\System32\WindowsPowerShell\v1.0\PowerShell.EXE -command ". '{0}'"
2022-05-09T08:43:49.1351334Z ##[endgroup]
2022-05-09T08:43:51.7289205Z ##[error]Invalid JSON primitive: .
2022-05-09T08:43:57.8620773Z ##[error]Unexpected error when running action (The variable '$bcContainerHelperPath' cannot be retrieved because it has not been set.)
2022-05-09T08:43:57.9140103Z ##[error]Process completed with exit code 1.
2022-05-09T08:43:57.9441920Z Post job cleanup.
2022-05-09T08:44:01.3064539Z [command]"C:\Program Files\Git\bin\git.exe" version
2022-05-09T08:44:01.3334003Z git version 2.35.1.windows.2
2022-05-09T08:44:01.3407545Z Temporarily overriding HOME='D:\a\_temp\e2a67f6a-2bdb-4041-8cc5-ac8b06ad0369' before making global git config changes
2022-05-09T08:44:01.3411542Z Adding repository directory to the temporary git global config as a safe directory
2022-05-09T08:44:01.3419825Z [command]"C:\Program Files\Git\bin\git.exe" config --global --add safe.directory D:\a\Affy-Tapple-BC\Affy-Tapple-BC
2022-05-09T08:44:01.3801328Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp core\.sshCommand
2022-05-09T08:44:01.4140071Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2022-05-09T08:44:02.1087301Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2022-05-09T08:44:02.1334511Z http.https://github.com/.extraheader
2022-05-09T08:44:02.1373295Z [command]"C:\Program Files\Git\bin\git.exe" config --local --unset-all http.https://github.com/.extraheader
2022-05-09T08:44:02.1673521Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2022-05-09T08:44:02.8725817Z Evaluate and set job outputs
2022-05-09T08:44:02.8745509Z Cleaning up orphan processes

CI for multi country App Source

Hi Freddy,

Could you advice settings for existing multi country App Source CI/CD - to arrange CI loop test for all listed countries? ...

Thanks a lot,
Milos Mikulasek

PublishToEnvironment not recognizing environment from settings in private repo

In a private repo the environments configured in the .AL-Go\settings.json are not recognized in the Publish-To-Environment-action in a private repo.

Settings are configured this way:

image

ReadSettings finds the environment but does not pass it to the deploy step.

image

In the case of a public repo, it recognizes both, the repo's environment and the environment from the settings:

image

localDevEnv.ps1: Error when running: ALTER DATABASE [CRONUS] SET ONLINE

Scenario 1, Step 10

F5 in VS Code:

  _                     _   _____             ______
 | |                   | | |  __ \           |  ____|
 | |     ___   ___ __ _| | | |  | | _____   __ |__   _ ____   __
 | |    / _ \ / __/ _` | | | |  | |/ _ \ \ / /  __| | '_ \ \ / /
 | |____ (_) | (__ (_| | | | |__| |  __/\ V /| |____| | | \ V /
 |______\___/ \___\__,_|_| |_____/ \___| \_/ |______|_| |_|\_/

This script will create a docker based local development environment for your project.

NOTE: You need to have Docker installed, configured and be able to create Business Central containers for this to work.
If this fails, you can setup a cloud based development environment by running cloudDevEnv.ps1

All apps and test apps will be compiled and published to the environment in the development scope.
The script will also modify launch.json to have a Local Sandbox configuration point to your environment.

Checking .github\AL-Go-Settings.json
Reading .github\AL-Go-Settings.json
Checking .AL-Go\settings.json
Reading .AL-Go\settings.json
Checking .github\.settings.json
Checking .AL-Go\.settings.json
Checking .AL-Go\ataeschner.settings.json
Checking System Requirements

Container name
--------------
Please enter the name of the container to create (default bcserver) algo
algo selected

Authentication mechanism for container
--------------------------------------
a Windows Authentication
b Username/Password authentication

Select authentication mechanism for container (default b)
Username/Password authentication selected

LicenseFileUrl
--------------
When developing PTEs, you can optionally specify a developer licensefile with permissions to object IDs of your dependant apps

Local path or a secure download URL to license file  (default none)
none selected

Downloading BcContainerHelper latest version
Using 7zip
BcContainerHelper version 3.0.7
BcContainerHelper emits usage statistics telemetry to Microsoft
Checking .github\AL-Go-Settings.json
Reading .github\AL-Go-Settings.json
Checking .AL-Go\settings.json
Reading .AL-Go\settings.json
Checking .github\localDevEnv.settings.json
Checking .AL-Go\localDevEnv.settings.json
Checking .AL-Go\ataeschner.settings.json
Checking type
Checking appFolders and testFolders
Application Dependency 19.0.0.0
Checking artifact setting
Downloading artifacts from https://bcartifacts.azureedge.net/sandbox/20.0.37253.40114/us
Updating app- and test Dependencies
Analyzing Test App Dependencies
WARNING: No test apps found in testFolders in .AL-Go\settings.json
  _____                               _
 |  __ \                             | |
 | |__) |_ _ _ __ __ _ _ __ ___   ___| |_ ___ _ __ ___
 |  ___/ _` | '__/ _` | '_ ` _ \ / _ \ __/ _ \ '__/ __|
 | |  | (_| | | | (_| | | | | | |  __/ |_  __/ |  \__ \
 |_|   \__,_|_|  \__,_|_| |_| |_|\___|\__\___|_|  |___/

Pipeline name               localDevEnv
Container name              algo
Image name
ArtifactUrl                 https://bcartifacts.azureedge.net/sandbox/20.0.37253.40114/us
SasToken                    Not Specified
BcAuthContext               Not Specified
Environment
ReUseContainer              False
KeepContainer               True
Auth                        UserPassword
Credential                  Specified
CompanyName
MemoryLimit                 8G
Enable Task Scheduler       False
Assign Premium Plan         False
Install Test Runner         False
Install Test Framework      False
Install Test Libraries      False
Install Perf. Toolkit       False
InstallOnlyReferencedApps   True
generateDependencyArtifact  False
CopySymbolsFromContainer    False
enableCodeCop               False
enableAppSourceCop          False
enableUICop                 False
enablePerTenantExtensionCop True
doNotPerformUpgrade         False
uninstallRemovedApps        False
escapeFromCops              False
doNotBuildTests             False
doNotRunTests               True
doNotRunBcptTests           False
useDefaultAppSourceRuleSet  False
rulesetFile
azureDevOps                 False
gitLab                      False
gitHubActions               False
License file                Not specified
CodeSignCertPfxFile         Not specified
CodeSignCertPfxPassword     Not specified
CodeSignCertIsSelfSigned    False
KeyVaultCertPfxFile         Not specified
KeyVaultCertPfxPassword     Not specified
KeyVaultClientId
BuildOutputFile             C:\Users\ataeschner\Documents\AL\shiny-octo-computing-machine\BuildOutput.txt
TestResultsFile             C:\Users\ataeschner\Documents\AL\shiny-octo-computing-machine\TestResults.xml
BcptTestResultsFile         C:\Users\ataeschner\Documents\AL\shiny-octo-computing-machine\bcptTestResults.json
TestResultsFormat           JUnit
AdditionalCountries
PackagesFolder
OutputFolder
BuildArtifactFolder
CreateRuntimePackages       False
AppVersion
AppBuild                    0
AppRevision                 0
Install Apps
- None
Install Test Apps
- None
Previous Apps
- None
Application folders
- C:\Users\ataeschner\Documents\AL\shiny-octo-computing-machine\MySpecialApp
Test application folders
- None
BCPT Test application folders
- None
Custom CodeCops
- None

  _____       _ _ _                                          _        _
 |  __ \     | | (_)                                        (_)      (_)
 | |__) |   _| | |_ _ __   __ _    __ _  ___ _ __   ___ _ __ _  ___   _ _ __ ___   __ _  __ _  ___
 |  ___/ | | | | | | '_ \ / _` |  / _` |/ _ \ '_ \ / _ \ '__| |/ __| | | '_ ` _ \ / _` |/ _` |/ _ \
 | |   | |_| | | | | | | | (_| | | (_| |  __/ | | |  __/ |  | | (__  | | | | | | | (_| | (_| |  __/
 |_|    \__,_|_|_|_|_| |_|\__, |  \__, |\___|_| |_|\___|_|  |_|\___| |_|_| |_| |_|\__,_|\__, |\___|
                           __/ |   __/ |                                                 __/ |
                          |___/   |___/                                                 |___/

Pulling mcr.microsoft.com/businesscentral:10.0.20348.643

Pulling generic image took 2 seconds

   _____                _   _                               _        _
  / ____|              | | (_)                             | |      (_)
 | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __
 | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
 | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |
  \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|
                                     __/ |
                                    |___/

BcContainerHelper is version 3.0.7
BcContainerHelper is running as administrator
Hyper-V is Enabled
Host is Microsoft Windows 11 Enterprise - 21H2
Docker Client Version is 20.10.13
Docker Server Version is 20.10.13
Removing container algo
Removing algo from container hosts file
Removing algo-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\algo
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.643
Creating Container algo
Style: sandbox
Multitenant: Yes
Version: 20.0.37253.40114
Platform: 20.0.37114.40052
Generic Tag: 1.0.2.1
Container OS Version: 10.0.20348.643 (ltsc2022)
Host OS Version: 10.0.22000.613 (21H2)
Using process isolation
Using locale en-US
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Additional Parameters:
--volume "C:\Users\ataeschner\Documents\AL\shiny-octo-computing-machine:c:\sources"
--env customNavSettings=EnableTaskScheduler=False
Files in C:\ProgramData\BcContainerHelper\Extensions\algo\my:
- AdditionalOutput.ps1
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container algo from image mcr.microsoft.com/businesscentral:10.0.20348.643
13efafcf541a721bb3cb236216a1ad5b5bf69713f4d4028d42e00a6a89904033
Waiting for container algo to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40114/us
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40114\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40114\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40114\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40114\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation from c:\dl\sandbox\20.0.37253.40114\us\BusinessCentral-US.bak
Initializing...
Setting host.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is algo
PublicDnsName is algo
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Copying Database on localhost\SQLEXPRESS from CRONUS to tenant
Taking database CRONUS offline
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Putting database CRONUS back online
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET ONLINE
User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
at Invoke-SqlCmdWithRetry, C:\Run\HelperFunctions.ps1: line 434
at Copy-NavDatabase, C:\Run\HelperFunctions.ps1: line 203
at <ScriptBlock>, C:\Run\SetupDatabase.ps1: line 166
at <ScriptBlock>, C:\Run\navstart.ps1: line 122
at <ScriptBlock>, C:\Run\start.ps1: line 363
at <ScriptBlock>, <No file>: line 1Error
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40114/us
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40114\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40114\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40114\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40114\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation from c:\dl\sandbox\20.0.37253.40114\us\BusinessCentral-US.bak
Initializing...
Setting host.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is algo
PublicDnsName is algo
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Copying Database on localhost\SQLEXPRESS from CRONUS to tenant
Taking database CRONUS offline
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Putting database CRONUS back online
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET ONLINE
User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
at Invoke-SqlCmdWithRetry, C:\Run\HelperFunctions.ps1: line 434
at Copy-NavDatabase, C:\Run\HelperFunctions.ps1: line 203
at <ScriptBlock>, C:\Run\SetupDatabase.ps1: line 166
at <ScriptBlock>, C:\Run\navstart.ps1: line 122
at <ScriptBlock>, C:\Run\start.ps1: line 363
at <ScriptBlock>, <No file>: line 1
New-BcContainer Telemetry Correlation Id: 3367781c-2e3e-4b8c-b9df-3b56ee41f0bc
Run-AlPipeline Telemetry Correlation Id: a548a9e5-4182-48fe-a105-574897d800c6
Removing BcContainerHelper
Press ENTER to close this window:

I can create other BC containers, this script works fine:

$accept_eula = $true

$auth = "UserPassword"
$credential = get-credential -UserName $env:USERNAME -Message "Using $auth Authentication. Please enter your Windows credentials."
$artifactUrl = Get-BCArtifactUrl -country de 
$containerName = "runtest4"
$licenseFile = "##############"
New-BcContainer -accept_eula `
                -containerName $containerName `
                -artifactUrl $artifactUrl `
                -auth $auth `
                -credential $credential `
                -licenseFile $licenseFile `
                -updateHosts `
                -isolation hyperv `
                -assignPremiumPlan `
                -multitenant:$false 

[Parameter Request] Please expose RulesetFile

Not all rules that are checked by the code analyzers always need to apply, especially when developing a PTE.
To be able to disable certain rules or to lower severity, the parameter RulesetFile of Run-AlPipeline needs to be added to .AL-GO/settings.json

Question - Schedule for running next major / minor version

We are currently using Azure DevOps where all our customer have scheduled jobs to check all PTE apps against the next versions. I will start to move customer over to GitHub soon and cant figure out how to set up the same schedule here.

Do I need to create my own workflow or am I missing something? I see there are workflows I can run manual but do not see any way to automate it.

"Could not find a part of the path..."

Making another attempt to get past Step 1, since it looks like we may be deploying to the cloud soon. Still cannot complete the first workflow, "Add existing app or test app." Here is the log; is it really something wrong with the path to the .zip file of the DevOps repository?

Run microsoft/AL-Go-Actions/[email protected]
Run try { D:\a_actions\microsoft\AL-Go-Actions\v1.5\AddExistingApp/AddExistingApp.ps1 -actor 'buzzwick' -token '***' -parentTelemetryScopeJson '{"Parameters":{},"Emitted":false,"CorrelationId":"215667aa-2b8e-4693-bc21-eb8d845a8451","ParentId":"","AllParameters":{},"TopId":"215667aa-2b8e-4693-bc21-eb8d845a8451","Name":"AL-Go workflow ran: AddExistingAppOrTestApp","StartTime":"/Date(1658955287189)/","Properties":{"eventId":"DO0090","bcContainerHelperVersion":"3.0.11","isAdministrator":"True","stackTrace":"[\n InitTelemetryScope at TelemetryHelper.ps1: line 212\n CreateScope at TelemetryHelper.psm1: line 44\n WorkflowInitialize.ps1 at WorkflowInitialize.ps1: line 37\n a9514981-30d8-4bf1-9ab8-074f1689a418.ps1 at a9514981-30d8-4bf1-9ab8-074f1689a418.ps1: line 1\n \u003cScriptBlock\u003e at \u003cNo file\u003e\n]","repository":"66CD3F8766B3351220F7BF694C6D0E51ED306B365A98B3C63ABE7A4B51643077","runAttempt":"1","runNumber":"13","runId":"2749578613"},"EventId":"DO0090"}' -project '.' -url 'C:_Clients\UpstateClone.zip' -directCommit ('N' -eq 'Y') } catch { Write-Host "::Error::Unexpected error when running action ($($_.Exception.Message))"; exit 1 }
git config --global user.email [email protected]
git config --global user.name buzzwick
git config --global hub.protocol https
git clone ***github.com/buzzwick/Upstate-Coin
Cloning into 'Upstate-Coin'...
git checkout -b s4nxhmy2.42w
Switched to a new branch 's4nxhmy2.42w'
Downloading BcContainerHelper latest version
BcContainerHelper version 3.0.11
BcContainerHelper emits usage statistics telemetry to Microsoft
Reading .github\AL-Go-Settings.json
Reading .AL-Go\settings.json
Downloading C:\Users\RUNNER~1\AppData\Local\Temp\c6d69562-d2b4-446f-8ac6-c25495d14ca9.app
Error downloading..., retrying in 5 seconds...
Error: Couldn't add an existing app.
Exception calling "DownloadFile" with "2" argument(s): "Could not find a part of the path 'C:_Clients\UpstateClone.zip'."

AL-Go action ran: AddExistingApp Telemetry Correlation Id: 6ad65775-ed19-48ae-8798-3bbb0962c5a4
Removing BcContainerHelper
Error: Process completed with exit code 1.

Create Release - Store in Azure Storage Blob

I have configured the AppSource App (the same I had the other issues with) to publish the apps to an Azure Storage Blob during the creation of a release. When I am adding the storage context to the repo as a secret, it runs through and publishes it correctly.

However, when I don't define the secret, but define it in the settings file (having the storage context in a key vault), it does not work.

From what I can see, the CreateRelease.yaml has in PublishToStorage as the first line "if ($ENV:StorageContext)" and I would assume that this is not set/updated from the key vault, but only filled when using the secret.

Error when loading dependencies from releases

I am currently seeing problems with the download of dependencies within the same repo but different project.

The appDependencyProbingPaths is set like this.
(I tried to add "latestBuild" but that made it even worse)

image

The log look like this:
image

Judging from the comments, the script fails in this line:

$release.assets | Where-Object { $_.name -like "$project*$mask*.zip" } | ForEach-Object {

AL-Go-PTE CI/CD workflow issue

Hi @freddydk

Most likely I am doing something wrong as I am still new to your AL-Go project and still trying to figure things out.

As per our organization's current use case, as of now we want to use AL-Go only to deploy apps on our customer tenants. We are not currently planning to move the remaining development processes to GitHub/AL-Go yet.

With that in mind, I created a template from microsoft/AL-Go-PTE repository, added a pre-compiled application from our Azure Blob Storage using the work flow AddExistingAppOrTestApp.yaml. The workflow decompiled the application back to source code and added the folder to the repository.

Then I ran the CICD.yaml workflow to publish the artifacts that could be used later on by workflow PublishToEnvironment.yaml.

I am getting this error in CD/CD workflow.

Using Version 2020.10.12.0
  Using Symbols Folder: D:\a\ATRC\ATRC\.packages
  Downloading symbols: Microsoft_Application_20.2.41144.42022.app
  Url : http://172.27.140.104:7049/BC/dev/packages?publisher=Microsoft&appName=Application&versionText=17.0.0.0&tenant=default
  Adding dependency to System Application from Microsoft
  Adding dependency to Base Application from Microsoft
  Downloading symbols: Microsoft_System_20.0.41086.41991.app
  Url : http://172.27.140.104:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=17.0.0.0&tenant=default
  Downloading symbols: Microsoft_System Application_20.2.41144.42022.app
  Url : http://172.27.140.104:7049/BC/dev/packages?publisher=Microsoft&appName=System%20Application&versionText=20.2.0.0&tenant=default
  Downloading symbols: Microsoft_Base Application_20.2.41144.42022.app
  Url : http://172.27.140.104:7049/BC/dev/packages?publisher=Microsoft&appName=Base%20Application&versionText=20.2.0.0&tenant=default
  Compiling...
  .\alc.exe /project:"c:\sources\YIBASE - Base App" /packagecachepath:"c:\sources\.packages" /out:"c:\sources\.output\iNECTA LLC_YIBASE - Base App_2020.10.12.0.app" /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.PerTenantExtensionCop.dll /assemblyprobingpaths:"C:\Program Files (x86)\Microsoft Dynamics NAV\200\RoleTailored Client","C:\Program Files\Microsoft Dynamics NAV\200\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Windows\Microsoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies"
  Microsoft (R) AL Compiler version 9.2.9.37800
  Copyright (C) Microsoft Corporation. All rights reserved
  
  Compilation started for project 'YIBASE - Base App' containing '1079' files at '16:10:00.453'.
  
  warning PTE0014: The XML file 'c:\sources\YIBASE - Base App\file0_extensionsPermissionSet.xml' should not contain Permissions or Permission Sets. Instead, use the dedicated AL object 'PermissionSet'.
  
  Compilation ended at '16:10:29.298'.
  
  D:\a\ATRC\ATRC\.output\iNECTA LLC_YIBASE - Base App_2020.10.12.0.app successfully created in 54 seconds
  iNECTA LLC_YIBASE - Base App_2020.10.12.0.app copied to D:\a\ATRC\ATRC\.packages
  Using Version 16.0.12.0
  Using Symbols Folder: D:\a\ATRC\ATRC\.packages
  Downloading symbols: iNECTA LLC_YIBASE - Base App_2020.10.12.3.app
  Url : http://172.27.140.104:7049/BC/dev/packages?publisher=iNECTA%20LLC&appName=YIBASE%20-%20Base%20App&versionText=2020.10.12.3&tenant=default
  ERROR The remote server returned an error: (404) Not Found.
  Compile-AppInBcContainer Telemetry Correlation Id: 55374dd3-908f-4d9e-a068-bed26efd97c8
Removing Container
Run-AlPipeline Telemetry Correlation Id: 8ed8cc57-609f-415a-bd67-ff510e52ad65
Error: The remote server returned an error: (404) Not Found. No published package matches the provided arguments.
AL-Go action ran: RunPipeline Telemetry Correlation Id: 71601ac0-6c13-4ec9-9e61-fda63e2f7178
Removing BcContainerHelper
Error: Process completed with exit code 1.

Is it possible to skip CI/CD when you commit code change to main, feature or release branch ?

Is it possible to skip CI/CD when you commit code change to main, feature or release branch ?
I would like to control if I want to kick of CI/CD or if I want to schedule it instead. Is this possible ?
As I understand I can skip CI/CD if I create a branch with another name like "user/feature" or "user/bugix"...
Is it possible to add in settings "DoNotCDCD" or "SkipCICD" ?

App Version is not taken from App.json

Good morning,

I am testing the scenario 11. Set up CI/CD for an existing AppSource App

I added existing Source App and tune the workflow to run with no issues
Then I added Source App Test to the project and now I am stuck with error at [Build] - [Run pipeline] - [Compiling test apps]
Using Version 1.0.9.1 Using Symbols Folder: D:\a\app3\app3\.packages Downloading symbols: Astral 365_Astral Apply_1.0.19.0.app Url : http://172.24.244.187:7049/BC/dev/packages?publisher=Astral%20365&appName=Astral%20Apply&versionText=1.0.19.0&tenant=default ERROR The remote server returned an error: (404) Not Found.

Even I do have specified at App.json file
"version": "1.0.19.0",
The system generates it's own ...
Using Version 1.0.9.1

Could you advice please, how can force it to use the version as is at App.json?

Thank you,
Milos Mikulasek

Build job fails on a hosted runner when app is being published

Hi folks,

About 5 mins after starting publishing the app during the Build job, the following error is thrown:

An unexpected error occurred after a database command was cancelled.

image

An unexpected error occurred after a database command was cancelled.
  at <ScriptBlock>, <No file>: line 41
  at Invoke-ScriptInBcContainer, C:\Users\runneradmin\AppData\Local\Temp\2cdf2102-97d0-437c-8754-b61235d26036\BcContainerHelper\ContainerHandling\Invoke-ScriptInNavContainer.ps1: line 43
  at <ScriptBlock>, C:\Users\runneradmin\AppData\Local\Temp\2cdf2102-97d0-437c-8754-b61235d26036\BcContainerHelper\AppHandling\Publish-NavContainerApp.ps1: line 278
  at Publish-BcContainerApp, C:\Users\runneradmin\AppData\Local\Temp\2cdf2102-97d0-437c-8754-b61235d26036\BcContainerHelper\AppHandling\Publish-NavContainerApp.ps1: line 132
  at <ScriptBlock>, C:\Users\runneradmin\AppData\Local\Temp\2cdf2102-97d0-437c-8754-b61235d26036\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 646
  at <ScriptBlock>, C:\Users\runneradmin\AppData\Local\Temp\2cdf2102-97d0-437c-8754-b61235d26036\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1661
  at <ScriptBlock>, C:\Users\runneradmin\AppData\Local\Temp\2cdf2102-97d0-437c-8754-b61235d26036\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1631
  at <ScriptBlock>, C:\Users\runneradmin\AppData\Local\Temp\2cdf2102-97d0-437c-8754-b61235d26036\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1620
  at <ScriptBlock>, C:\Users\runneradmin\AppData\Local\Temp\2cdf2102-97d0-437c-8754-b61235d26036\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 732
  at Run-AlPipeline, C:\Users\runneradmin\AppData\Local\Temp\2cdf2102-97d0-437c-8754-b61235d26036\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 697
  at <ScriptBlock>, D:\a\_actions\microsoft\AL-Go-Actions\v1.4\RunPipeline\runpipeline.ps1: line 233
  at <ScriptBlock>, D:\a\_temp\168e4bec-56aa-496d-994d-65e447195f99.ps1: line 1
  at <ScriptBlock>, <No file>: line 1
  Publish-BcContainerApp Telemetry Correlation Id: 5841115a-c2fe-44ab-9fd1-279ea2933eea

I've tried custom settings in the NewBcContainer override script (which adds extra add-ins) but no luck.

Param([Hashtable]$parameters) 

$addins = Join-Path $PSScriptRoot "add-ins"
$parameters.additionalParameters += @("--volume ""$($addins):c:\run\add-ins""")
$parameters.additionalParameters += @("--env customNavSettings=NavHttpClientMaxTimeout=00:15:00,SqlConnectionIdleTimeout=00:15:00,SqlConnectionTimeout=00:15:00")
$parameters.useGenericImage = "$(Get-BestGenericImageName)-dev"

New-BcContainer @parameters;     
Invoke-ScriptInBcContainer $parameters.ContainerName -scriptblock { $progressPreference = 'SilentlyContinue' } 

Not sure what else can be done to pinpoint the cause, the error message doesn't seem to help much.

No issues on a self-hosted runner.

Thanks

Question - considering of git clone to add existing app

Hello Freddy,

I can see you are using secure URL approach to get the remote content. Have you been considering using git clone to achieve that goal? Maybe I am missing something, maybe there are some valid reasons for using (only) the existing manner.

Thanks!!!

Error when i run localDevEnv.ps1

I get the error below when i run the localDevEnv.ps1 step
I tried to run the Import-Module Microsoft.PowerShell.Archive but that did noe help me.,
Any ideas about what is causing my problem?

Downloading BcContainerHelper latest version
Using Expand-Archive
Expand-7zipArchive : The 'Expand-Archive' command was found in the module 'Microsoft.PowerShell.Archive', but the module could not be loaded. For more information, run 'Import-Module Microsoft.PowerShell.Archive'.
At C:\Users\bruviki\AppData\Local\Temp\tmp30E3.tmp.ps1:253 char:9

  •     Expand-7zipArchive -Path "$tempName.zip" -DestinationPath $te ...
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (Expand-Archive:String) [Expand-7zipArchive], CommandNotFoundException
    • FullyQualifiedErrorId : CouldNotAutoloadMatchingModule,Expand-7zipArchive

Step 2, Add test app, always ended up failed when running the workflow

Hi,

I use the forked PTE Repo for this issue https://github.com/microsoft/AL-Go-PTE

I've been stuck for couple days figures it out why test app workflow always ended up failed.
I followed this step: https://github.com/microsoft/AL-Go/blob/main/Scenarios/AddATestApp.md

Here's my HelloWorld.al commit which altered the string in the message:
v3ux/app1-bc@2778350

The HelloWorld.Test.al which should reflect to the altered string in the message
v3ux/app1-bc@64ebe0d

The workflow throwed an error
https://github.com/v3ux/app1-bc/actions/runs/2781385436

The code was failing. I've checked the logic and it should pass.

I didn't know why the test code failed, but it seems the code inside HelloWorldMessageHandler was never run thus always faling the test. I tried to add another intentional error (throw error whenever message string is greater than 0), and it also failed
Commit here: v3ux/app1-bc@08b7bad
Workflow here: https://github.com/v3ux/app1-bc/runs/7684397389

I was curious, so I looked under the workflow logs, I can't find the base app. Was it supposed to be included in the compile process?
I mean, test app (HelloWorld.Test) depends on the base app (HelloWorld), so it could run correctly right? Was it supposed something in here like workflow compling the base app so the test app could run correctly?
image

For the record if I published the app from first 2 commit, it passed in my sandbox environment
image

cloudDevEnv.ps1 for existing Sandbox environment?

Having cloned a github AL-Go repository to local drive and opened in VS Code, can we use cloudDevEnv.ps1 to connect to an existing Azure BC sandbox environment? As it is, when we run the script it only executes outside VS Code--not in the Terminal session--runs the Powershell profile, and then errors out so fast we can't see it. But we are not sure if we need to, if we already have the environment created in the cloud. Do we?

Here is all we get in the Terminal:

`. "c:\Users<user>\xxx\AL\PROJECTS\Elemet.AL-Go\cloudDevEnv.ps1"

. "c:\Users<user>\xxx\AL\PROJECTS\Elemet.AL-Go\cloudDevEnv.ps1"`

Deploy to multiple tenants with same environment names

How can I deploy to multiple tenants, when the environments have the same name?

In Github I can create an environment "sandbox" and add a secret AUTHCONTEXT which includes the tenant id. For the next tenant I would have to create another environment "sandbox". I tried to give it another name, but then deploy fails, because the environment can't be found. How can I set the environmentName to something different than the name of the Github environment?

Analyze Job fails on first run of CI/CD in new repo based on AL-Go-PTE with error 404

After creating a new repo from the AL-Go-PTE template the first CI/CD run started with the first push fails with error 404 in the step "ReadSettings".

In scenario No. 1 I followed the intructions until step 14.

The action started with the push but failed at Job "Analyze"

image

Are there any settings missing? Preconditions of scenario No. 1 are met.

Default job time out can cause problems

GitHub seems to have a job timeout of 6 hours.

When running the test current/next minor/next major agains all 49 countries each country build has only 7,3 minutes of time.
In my case the job did not make it and failed.

Would it be possbile to have the timeout available as a setting to overwrite it?
https://stackoverflow.com/questions/59073731/set-default-timeout-on-github-action-pipeline

Also, it was not that easy to find out which countries are availble since not every country has a localization.
Some need to pull w1 artifacts, I think it was DZ. The build fails because it wants to pull artifacts for that country instead of w1.
Not sure if there is an easy solution for this, or if this is even a problem.
For me it would be easiest to have a "all countries" setting, but thats just a nice to have I guess :)

Error when running pipeline for AppSource App with Preview template

I am currently using the preview template of the AppSource app AL Go, because of the local dev environment change. I am not sure what other changes are happening in there, but I am running in a new error, which happened only with this repo so far. The error is

Error: RunPipeline action failed. Error: An item with the specified name C:\github-01-1_work\repo\app\output already exists. Stacktrace: at , C:\github-01-1_work_actions\microsoft\AL-Go-Actions\preview\RunPipeline\runpipeline.ps1: line 229 at , C:\github-01-1_work_temp\1e0daef1-1c8c-4462-8dd7-a03b8481f69a.ps1: line 1 at , : line 1

Looking at the script, it fails at:

New-Item $buildArtifactFolder -ItemType Directory | Out-Null

The easiest fix would probably be to test, if it exists before creating it, but I don't know, if anything underlying is causing this different behavior.

[Parameter Request] Please expose failOn

In most projects I like my pipelines to fail on warning. Currently the failOn Parameter of Run-ALPipeline is set to error.

To change this, the parameter failOn of Run-AlPipeline needs to be added to .AL-GO/settings.json

versioningStrategy 2 seems to not use 24h format

when running a build in the morning and in the after noon the second build fails because the version no is lower that the one in the morning:

this revision no should be 132032

image

Also, the format should always be HHMMSS. I think that in this example the leading zero is cut off

[Question] Selection of Apps when creating a Release

I am wondering how the release action selects the apps to include in that release in a multi Project repository.
Sometimes I have multiple changes on 2 of the 3 projects but only one apps gets included in the release.
I was not really able to find any logic on how the apps get selected yet.

[Parameter Request] Please expose applicationInsightsConnectionString

In public projects I dont want to publish the applicationInsightsConnectionString. Currently the applicationInsightsConnectionString Parameter of Run-ALPipeline cannot be set .

To change this, the parameter applicationInsightsConnectionString of Run-AlPipeline needs to be added to $secretsJson

Apply to existing repo

Can I just put the files and folders into an existing repo to "apply" the template? Or is there something about having created the repo from a template that would be missing?

Questions about Al-Go-PTE

Hello,

First of all, thanks for these two samples for CI\CD, it makes my life easier for CI-CD. :)

It's not an issue but a question : i want to push some apps on AppSource but some of my customers wants to have these apps on BC sandboxes (and porduction)

For now, i installed with ranges 50000..99999 on customers tenant with AL-Go-PTE but i want to install them with their "appsource" ranges before they are available in AppSource (just to avoid to lose data because the ranges are not the same)

Is there any possibilities to publish these apps (with appsource ranges) on customer tenants (sandbox and production) with the AL-Go-PTE ?

I tried but i have an error message :

Run microsoft/AL-Go-Actions/[email protected]
Run D:\a_actions\microsoft\AL-Go-Actions\v0.2\RunPipeline/runpipeline.ps1 -actor 'Steven-Bale' -token '' -parentTelemetryScopeJson '{"Parameters":{},"Emitted":false,"CorrelationId":"7f264268-03a2-4881-b26c-d3ad4a68538a","ParentId":"","AllParameters":{},"TopId":"7f264268-03a2-4881-b26c-d3ad4a68538a","Name":"AL-Go workflow ran: CiCd","StartTime":"/Date(1647865971408)/","Properties":{"eventId":"DO0091","bcContainerHelperVersion":"3.0.3","isAdministrator":"True","stackTrace":"[\n InitTelemetryScope at TelemetryHelper.ps1: line 204\n CreateScope at TelemetryHelper.psm1: line 44\n WorkflowInitialize.ps1 at WorkflowInitialize.ps1: line 17\n 0833bd42-d139-47ee-b546-e56b5688c612.ps1 at 0833bd42-d139-47ee-b546-e56b5688c612.ps1: line 1\n \u003cScriptBlock\u003e at \u003cNo file\u003e\n]"},"EventId":"DO0091"}' -project '.' -settingsJson '{"testDependencies":[],"ghTokenWorkflowSecretName":"GhTokenWorkflow","cacheKeepDays":3,"skipUpgrade":false,"templateUrl":"https://github.com/microsoft/[email protected]","SendExtendedTelemetryToMicrosoft":false,"appFolders":["app"],"installTestApps":[],"failOn":"error","templateBranch":"","keyVaultCertificateUrlSecretName":"","repoVersion":"1.0","githubRunner":"windows-latest","keyVaultClientIdSecretName":"","artifact":"","licenseFileUrlSecretName":"LicenseFileUrl","customCodeCops":[],"storageContextSecretName":"StorageContext","keyVaultName":"","runNumberOffset":0,"installPerformanceToolkit":false,"appSourceCopMandatoryAffixes":[],"keyVaultCertificatePasswordSecretName":"","additionalCountries":[],"doNotBuildTests":false,"applicationDependency":"18.0.0.0","appRevision":0,"alwaysBuildAllProjects":false,"installOnlyReferencedApps":true,"installTestFramework":false,"country":"fr","enableCodeCop":false,"appDependencies":[],"installTestLibraries":false,"memoryLimit":"","testFolders":[],"repoName":"Project1","codeSignCertificateUrlSecretName":"CodeSignCertificateUrl","installTestRunner":false,"rulesetFile":"","cacheImageName":"my","type":"PTE","PartnerTelemetryConnectionString":"","codeSignCertificatePasswordSecretName":"CodeSignCertificatePassword","companyName":"","adminCenterApiCredentialsSecretName":"AdminCenterApiCredentials","doNotRunTests":false,"enableUICop":false,"appDependencyProbingPaths":[{"projects":"*","release_status":"release","repo":"https://github.com/salaniko/SBSI-Spare-Brained-Licensing.git","version":"1.0"}],"installApps":[],"insiderSasTokenSecretName":"InsiderSasToken","MicrosoftTelemetryConnectionString":"InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/","versioningStrategy":0,"appBuild":4}' -secretsJson '{"licenseFileUrl":"","insiderSasToken":"","CodeSignCertificateUrl":"","CodeSignCertificatePassword":"","KeyVaultCertificateUrl":"","KeyVaultCertificatePassword":"","KeyVaultClientId":"","StorageContext":""}'
Downloading BcContainerHelper latest version
BcContainerHelper version 3.0.3
BcContainerHelper emits usage statistics telemetry to Microsoft
use settings and secrets
Analyzing repository
Downloading dependencies ...
Getting all the artifacts from probing paths
Getting releases from https://github.com/salaniko/SBSI-Spare-Brained-Licensing.git
Analyzing releases https://api.github.com/repos/salaniko/SBSI-Spare-Brained-Licensing/releases
Downloading release 1.0
project '
'
https://api.github.com/repos/salaniko/SBSI-Spare-Brained-Licensing/releases/assets/59857176
Getting all the artifacts from probing paths
Getting releases from https://github.com/salaniko/SBSI-Spare-Brained-Licensing.git
Analyzing releases https://api.github.com/repos/salaniko/SBSI-Spare-Brained-Licensing/releases
Downloading release 1.0
project '
'
Analyzing releases https://api.github.com/repos/sbsi-salaniko/Project1/releases
Using 1.0 as previous release
Downloading release 1.0
project '
'
https://api.github.com/repos/sbsi-salaniko/Project1/releases/assets/60109387
D:\a\Project1\Project1\artifacts\Project1-Apps-1.0.1.0.zip
Invoke Run-AlPipeline
Parameters
Pulling Generic Image
Creating Container
Resolving dependencies
Installing apps
Compiling apps
Removing Container
Run-AlPipeline Telemetry Correlation Id: 96f321f2-7b99-45c9-b667-69fe6eede481
Error: App generation failed with exit code 1
AL-Go action ran: RunPipeline Telemetry Correlation Id: 5d51ce9f-4172-4e8b-b25e-a34a1f21637e
Removing BcContainerHelper
Error: Process completed with exit code 1.

Thanks.
Steven.

Create localDevEnv with appDependencyProbingPaths

I have setup a dependency to another app in another repo using the appDependencyProbingPaths. When I am running the localDevEnv.ps1 to create a new container, I am getting an error - after the container is created - that it can't download the dependency.

I have been reviewing the code and it seems that the downloading of the dependencies through the appDependencyProbingPaths is happening in the RunPipeline.ps1, but this isn't called from localDevEnv.ps1. The localDevEnv.ps1 calls the CreateDevEnv function and that does not seem to process the app dependencies.

I have made sure that the latest version of all the files is being used (I actually just created the repo). Am I doing something wrong or is this an issue?

localDevEnv.ps1 errors

I've been following the guide from https://github.com/microsoft/AL-Go/blob/main/Scenarios/GetStarted.md
But the powershell crashes on the "Start-Process" line.
I'm not sure what it's supposed to do.

Another thing is that, when i comment that part out, it runs untill the command "Get-Service docker".
My docker service is called "com.docker.service" instead of simply "docker".
image

When i change that part it runs for a while, asks me the settings, but it still crashes:
Related issue: microsoft/navcontainerhelper#2237

New-NavContainer.p 
s1:481 char:9
+         throw "Docker Service not found. Docker is not started, not i ...

It should probably be renamed to docker with asterisks in front and after it, in the ps1.

The part that is causing the crash at the start:

$pshost = Get-Host
if ($pshost.Name -eq "Visual Studio Code Host") {
    $pslink = Join-Path $env:APPDATA "Microsoft\Windows\Start Menu\Programs\Windows PowerShell\Windows PowerShell.lnk"
    if (!(Test-Path $pslink)) {
        $pslink = "powershell.exe"
    }
    $credstr = ""
    if ($credential) {
        $credstr = " -credential (New-Object PSCredential '$($credential.UserName)', ('$($credential.Password | ConvertFrom-SecureString)' | ConvertTo-SecureString))"
    }
    Start-Process -Verb runas $pslink @("-Command ""$($MyInvocation.InvocationName)"" -fromVSCode -containerName '$containerName' -auth '$auth' -licenseFileUrl '$licenseFileUrl' -insiderSasToken '$insiderSasToken'$credstr")
    return
}

the part that is crashing at Get-Service:

    Write-Host "Checking System Requirements"
    $dockerService = Get-Service com.docker.service -ErrorAction SilentlyContinue
    if (-not $dockerService -or $dockerService.Status -ne "Running") {
        throw "Creating a local development enviroment requires you to have Docker installed and running."
    }

Commit Message for "Increment Version Number" workflow

I used +0.1 to only increment the minor version.

commit

The commit message reads 'New Version number 0.1' when it should read 'New Version number 1.1'.

('New Version number +0.1' might be acceptable as well.)

Also, the .json files is are formatted differently from the VS Code formatter. It looks like the change is much bigger than it actually is.

Creating Service Principal "Use Azure KeyVault for secrets with AL-Go"

In #7 (Use Azure KeyVault for secrets with AL-Go) the prerequisite actions to Use Key Vault secrets in GitHub Actions workflows asks us to Define a service principal. The command we are supposed to run is:

az ad sp create-for-rbac --name {myApp} --role contributor --scopes /subscriptions/{subscription-id}/resourceGroups/{MyResourceGroup} --sdk-auth

I've replaced the relevant values like this:
az ad sp create-for-rbac --name "github-app" --role contributor --scopes /subscriptions/*********/resourceGroups/********** --sdk-auth

Instead of the expected JSON output, I receive the following error:

Changing "github-app" to a valid URI of "http://github-app", which is the required format used for service principal names
Values of identifierUris property must use a verified domain of the organization or its subdomain: 'http://github-app'

Is there an updated procedure to create the Service Principal?

Keyvaultsecrets with umlauts are passed incorrectly and unmasked

Steps to reproduce:

  • Create a secret with umlauts (ö,ä,ü, ... )
  • Run CI/CD workflow

Note: I used a keyvault.

The secrets are recieved correctly from the vault but somehow are passed incorrectly.
This results in unmasking secrets and futher errors.

Example:
image

The runtime version must be set to '9.0' or earlier in the app.json file

Case
Whenever I use one of your templates, create an app, create a local development environment and then publish the app to my local environment (Docker) manually with vscode I get the following error message in Visual Studio Code:

Error Message:
"The request for path /BC/dev/apps?tenant=default&SchemaUpdateMode=synchronize&DependencyPublishingOption=default failed with code UnprocessableEntity. Reason: The runtime version of the extension package is currently set to '9.1'. The runtime version must be set to '9.0' or earlier in the app.json file in order to install the extension package on this server."

My Solution
In my case the solution is quite simple. I explicitly specify the runtime version 9.0 in the app.json. But is this the way to go? If so, should the Runtime be added back to the templates?

I have installed the latest "AL Language Extension" version v9.0.615906.

(Question) Update .gitignore / exclude launch.json?

Reference
https://github.com/microsoft/AL-Go/blob/main/Scenarios/GetStarted.md

  1. Back in VS Code, you will see that in addition to your changes in HelloWorld.al, the launch.json was also modified with the information about the local environment. Stage your changes, commit and push
  1. Our current .gitignore template contains some extra lines not to track certain files.
    One of these is the 'launch.json', since it can be different per developer. Is it intentional to have this file tracked?
launch.json
  1. When working with 3rd party extensions, some extensions add extra folders / files that should not be tracked either. What would be the recommendation for those? Contribute to the .gitignore on this repo and manage a common config (instead of creating a custom template)?
.alcache/
.altemplates/

Initial Add existing app fails with "Cannot find path"

Just getting started here: after resolving an error too embarrassing to recount, I am getting a "Cannot find path" that I do not understand. I am using the Dropbox download URL hack that you described. Have I left something out of setup? Here is the full log of the "Update" segment:

Run microsoft/AL-Go-Actions/[email protected]
Run try { D:\a_actions\microsoft\AL-Go-Actions\v1.5\AddExistingApp/AddExistingApp.ps1 -actor 'buzzwick' -token '***' -parentTelemetryScopeJson '{"Parameters":{},"Emitted":false,"CorrelationId":"b4abc177-8be3-4165-9ced-e1585c49bc46","ParentId":"","AllParameters":{},"TopId":"b4abc177-8be3-4165-9ced-e1585c49bc46","Name":"AL-Go workflow ran: AddExistingAppOrTestApp","StartTime":"/Date(1654692539044)/","Properties":{"eventId":"DO0090","bcContainerHelperVersion":"3.0.10","isAdministrator":"True","stackTrace":"[\n InitTelemetryScope at TelemetryHelper.ps1: line 212\n CreateScope at TelemetryHelper.psm1: line 44\n WorkflowInitialize.ps1 at WorkflowInitialize.ps1: line 37\n 8094155c-678a-42d6-9d5b-8b86efa85925.ps1 at 8094155c-678a-42d6-9d5b-8b86efa85925.ps1: line 1\n \u003cScriptBlock\u003e at \u003cNo file\u003e\n]","repository":"66CD3F8766B3351220F7BF694C6D0E51ED306B365A98B3C63ABE7A4B51643077","runAttempt":"1","runNumber":"9","runId":"2461591682"},"EventId":"DO0090"}' -project '.' -url 'https://www.dropbox.com/s/qddpaeetkb8isaox1/Upstate%20Coin.zip?dl=1' -directCommit ('N' -eq 'Y') } catch { Write-Host "::Error::Unexpected error when running action ($($_.Exception.Message))"; exit 1 }
git config --global user.email [email protected]
git config --global user.name buzzwick
git config --global hub.protocol https
git clone ***github.com/buzzwick/Upstate-Coin
Cloning into 'Upstate-Coin'...
git checkout -b k1fwc1fg.utd
Switched to a new branch 'k1fwc1fg.utd'
Downloading BcContainerHelper latest version
BcContainerHelper version 3.0.10
BcContainerHelper emits usage statistics telemetry to Microsoft
Reading .github\AL-Go-Settings.json
Reading .AL-Go\settings.json
Downloading C:\Users\RUNNER~1\AppData\Local\Temp\9365abc6-69c2-483b-af76-f48bdbdcc090.app
C:\Users\RUNNER~1\AppData\Local\Temp\8dca50f0-5f15-4b14-ac44-41b0c78ef28a -> C:\Users\RUNNER~1\AppData\Local\Temp\16bf2fbe-11fe-495e-bf4e-bd5f21bdc472
done
Error: Couldn't add an existing app.
Cannot find path 'C:\Users\RUNNER~1\AppData\Local\Temp\8dca50f0-5f15-4b14-ac44-41b0c78ef28a' because it does not exist.
AL-Go action ran: AddExistingApp Telemetry Correlation Id: b9fa576e-8101-4a78-8210-dc2eaf56f80f
Removing BcContainerHelper
Error: Process completed with exit code 1.

(Question) Parameter for Flush-ContainerHelperCache - keepdays

We've installed a self-hosted runner (for testing purposes) on a non-dedicated server that already contained quit some cached content under C:\bcartifacts.cache and pre-configured docker images. Some maintenance tasks on the server clean the cache / prune the outdated images after 30 days.

When running the CI/CD github action on a self-hosted runner, most of the cache / images had been removed on this server, probably due to the Flush-ContainerHelperCache -keepdays 3 for self-hosted runners?

Would it be possible to configure the -keepdays so we can apply a different / higher value?

https://github.com/microsoft/AL-Go-Actions/blob/6fefa0c6b2088eb89b7491ec347b454b744c78ea/RunPipeline/RunPipeline.ps1#L130.

Next minor and major stopped working last week

Hi
I am testing AL-Go for Github and Next minor and major stopped working last week with error.
Exception calling "DownloadString" with "1" argument(s): "The remote server returned an error: (400) Bad Request."
image

I get same error in reproduced repo

  • Create repo from template
  • Create app
  • CI/CD
  • next minor or major

inssidersastoken is not changed.
What can be the problem ?

Dependencies to AppSource Apps

I am working on setting up Pipelines for a bunch of PTEs.
A few of them will need to have dependencies to AppSource apps.

I researched a bit and it seems like the only way to do this, is with pipelines running against a Sandbox.
Is it correct that we do not have any way to install AppSource apps in docker, for pipeline uses?

If no other possibility is available I guess Saas Sanbox can be a solution.
But if I remember correctly, it is not possible to use the MS test libraries in Saas Sandboxes, right?

Is there any recommended way to handle such scenarios with pipelines?
And, do you plan to support pipelines running against Saas Sandboxes?

Question: Run-ALValidation

Is there a way to run Run-ALValidation for appsource apps?
I did not find an Action for this and doesnt seem to be included in the current CI/CD

versioningStrategy value 16 not parsing as documented

Documentation:

versioningStrategy

The versioning strategy determines how versioning is performed in this project. The version number of an app consists of 4 tuples: Major.Minor.Build.Revision. Major and Minor are read from the app.json file for each app. Build and Revision are calculated. Currently 3 versioning strategies are supported:

0 = Build is the github run_number for the CI/CD workflow, increased by the runNumberOffset setting value (if specified). Revision is the github run_attempt subtracted 1.
1 = Build is the github run_id for the repository. Revision is the github run_attempt subtracted 1.
2 = Build is the current date as yyyyMMdd. Revision is the current time as hhmmss. Date and time are always UTC timezone to avoid problems during daylight savings time change. Note that if two CI/CD workflows are started within the same second, this could yield to identical version numbers from two different runs.
+16 use repoVersion setting as appVersion (Major and Minor) for all apps

/.github/AL-Go-Settings.json

    "repoVersion": "2022.06.28.003",
    "versioningStrategy": 16,

Expected version while compiling apps:

[System.Version]"2022.06.28.003"

Parsed version while compiling apps:

[System.Version]"2022.06.28.003.11.0"
`Cannot convert value "2022.06.28.003.11.0" to type "System.Version". Error: "Version string portion was too short or too long."`

It seems to be appending the run_attempt of the CI/CD workflow even when using 16 as declared value for versioningStrategy.

Issue when creating new release if main branch is protected

I just turned on branch protection on the main branch and ran into issues when creating a new release. When I had no branch protection it worked fine.

The job "UpdateVersionNumber" gives the following output message.

remote: error: GH006: Protected branch update failed for refs/heads/main.
remote: error: At least 1 approving review is required by reviewers with write access.
To https://github.com/***-****-*******/PTE-ABC123
! [remote rejected] main -> main (protected branch hook declined)

The only rule I am using is the "Require a pull request before merging". How to get around this?

Problems with Pull Requests

Hello Freddy,

We are experiencing problems with Pull Requests being created during the execution of actions:

pull request create failed: GraphQL: GitHub Actions is not permitted to create or approve pull requests (createPullRequest)

I have found some (hopefully relevant) issues that could correspond:
cli/cli#1820
cli/cli#1985

We are currently using GitHub in trial mode (GitHub Enterprise Cloud trial) as we are basically exploring possibilities. Not sure if this could correspond somehow but I saw something similar (some limitations) when were checking GitLab in trial mode.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.