Manual updating intended after project creation with a custom template? #1855
Unanswered
OleWunschmann
asked this question in
Q&A
Replies: 1 comment
-
@aholstrup1 my colleague extended the description to hopefully clarify what we mean :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Short description:
If a custom template contains scripts (e.g. overrides for Run-AlPipeline) they are not part of a new project (after the first).
This results in the requirement to manually dispatch the update workflow after a new project was created.
Longer description with an example to hopefully make the scenario easier to understand:
Custom template repository that contains:
.AL-Go/settings.json
(e.g. country "w1" instead of "us").AL-Go
as overrides for the function "Run-AlPipeline" of the "bccontainerhelper" (e.g.PipelineInitialize.ps1
)Create repository from repository AL-Go-PTE
Run workflow "Update AL-Go System Files" with template url "https://github.com/microsoft/AL-GO-PTE@preview"
Run workflow "Update AL-Go System Files" with template url of the custom template
.AL-Go/settings.json
contains settings of AL-Go-PTE which override the custom settings of file.github/AL-Go-TemplateProjectSettings.doNotEdit.json
on actionReadSettings
(e.g. country).AL-Go
contains the powershell scripts of the custom templateRun workflow "Create a new app" with a new project "p1"
.AL-Go
moved to directory of new projectp1/.AL-Go
including filesettings.json
and powershell scriptsRun workflow "Create a new app" with a new project "p2"
p2/.AL-Go
only contains a default version of the filesettings.json
Run workflow "Update AL-Go System Files" with template url of the custom template (same sha)
p2/.AL-Go/settings.json
still only contains default settings which override the custom settings of file.github/AL-Go-TemplateProjectSettings.doNotEdit.json
on actionReadSettings
(e.g. country)p2/.AL-Go
now contains the powershell scripts of the custom templateThis results in the follwing questions:
Is the requirement for a manual dispatch of workflow "Update AL-Go System Files" intended after the creation of a new project?
Extra question: Is the override of the custom template project settings intended?
Beta Was this translation helpful? Give feedback.
All reactions