[main] Update AL-Go System Files from microsoft/AL-Go-PTE@main - 1ac0d953e1909925d7c7b06361f225f8883a9674 #17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
v6.2
Issues
New Repository Settings
useGitSubmodules
can be eithertrue
orrecursive
if you want to enable Git Submodules in your repository. If your Git submodules resides in a private repository, you need to create a secret calledgitSubmodulesToken
containing a PAT with access to the submodule repositories. Like with all other secrets, you can also create a setting calledgitSubmodulesTokenSecretName
and specify the name of another secret, with these permissions (f.ex. ghTokenWorkflow).commitOptions
- is a structure defining how you want AL-Go to handle automated commits or pull requests coming from AL-Go (e.g. for Update AL-Go System Files). The structure contains the following propertiesmessageSuffix
: A string you want to append to the end of commits/pull requests created by AL-Go. This can be useful if you are using the Azure Boards integration (or similar integration) to link commits to workitems.pullRequestAutoMerge
: A boolean defining whether you want AL-Go pull requests to be set to auto-complete. This will auto-complete the pull requests once all checks are green and all required reviewers have approved.pullRequestLabels
: A list of labels to add to the pull request. The labels need to be created in the repository before they can be applied.Support for Git submodules
In v6.1 we added experimental support for Git submodules - this did however only work if the submodules was in a public repository. In this version, you can use the
useGitSubmodules
setting to control whether you want to use Git Submodules and thegitSubmodulesToken
secret to allow permission to read these repositories.v6.1
Issues
New Project Settings
pageScriptingTests
should be an array of page scripting test file specifications, relative to the AL-Go project. Examples of file specifications:recordings/my*.yml
(for all yaml files in the recordings subfolder matching my*.yml),recordings
(for all *.yml files in the recordings subfolder) orrecordings/test.yml
(for a single yml file)doNotRunPageScriptingTests
can force the pipeline to NOT run the page scripting tests specified in pageScriptingTests. Note this setting can be set in a workflow specific settings file to only apply to that workflowrestoreDatabases
should be an array of events, indicating when you want to start with clean databases in the container. Possible events are:BeforeBcpTests
,BeforePageScriptingTests
,BeforeEachTestApp
,BeforeEachBcptTestApp
,BeforeEachPageScriptingTest
New Repository Settings
trustedSigning
is a structure definingAccount
,EndPoint
andCertificateProfile
if you want to use trusted signing. Note that your Azure_Credentials secret (Microsoft Entra ID App or Managed identity) still needs to provide access to your azure subscription and be assigned theTrusted Signing Certificate Profile Signer
role in the Trusted Signing Account.deployTo<environment>
now has an additional property called DependencyInstallMode, which determines how dependencies are deployed if GenerateDependencyArtifact is true. Default value isinstall
to install dependencies if not already installed. Other values areignore
for ignoring dependencies,upgrade
for upgrading dependencies if possible andforceUpgrade
for force upgrading dependencies.Support for Azure Trusted Signing
Read https://learn.microsoft.com/en-us/azure/trusted-signing/ for more information about Trusted Signing and how to set it up. After setting up your trusted signing account and certificate profile, you need to create a setting called trustedSigning for AL-Go to sign your apps using Azure Trusted Signing.
Support for Page Scripting Tests
Page Scripting tests are now supported as part of CI/CD. By specifying pageScriptingTests in your project settings file, AL-Go for GitHub will automatically run these page scripting tests as part of your CI/CD workflow, generating the following build artifacts:
PageScriptingTestResults
is a JUnit test results file with all results combined.PageScriptingTestResultDetails
are the detailed test results (including videos) when any of the page scripting tests have failures. If the page scripting tests succeed - the details are not published.Experimental support for Git submodule
Git submodule is now supported as part of CI/CD on your project.