ArcBox 3.0 - Adding a new parameter for the GitHub branch and improving the configuration logic #2652
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.
This pull request introduces several updates to the
azure_jumpstart_arcbox
project, mainly focusing on adding a new parameter for the GitHub branch and improving the configuration logic. The most important changes include the addition of thegithubBranch
parameter across various scripts and templates, updates to environment variable settings, and enhancements to the VM autologon configuration.Parameter Addition:
azure_jumpstart_arcbox/artifacts/Bootstrap.ps1
: AddedgithubBranch
parameter to the script parameters and environment variable settings. [1] [2]azure_jumpstart_arcbox/bicep/clientVm/clientVm.bicep
: AddedgithubBranch
parameter to the Bicep template.azure_jumpstart_arcbox/bicep/main.bicep
: Passed thegithubBranch
parameter to theclientVmDeployment
module.Configuration Updates:
azure_jumpstart_arcbox/artifacts/Bootstrap.ps1
: Enhanced VM autologon logic to check if thevmAutologon
parameter is explicitly set to "true" and added a message for when autologon is not configured. [1] [2]azure_jumpstart_arcbox/artifacts/gitops_scripts/K3sGitOps.ps1
: Updated the GitOps configuration to use the newgithubBranch
environment variable.Miscellaneous:
azure_jumpstart_arcbox/artifacts/testDefenderForSQL.ps1
: Changed the hardcoded password for SQL injection testing.azure_jumpstart_arcbox/bicep/clientVm/clientVm.bicep
: Updated thecommandToExecute
in the VM bootstrap configuration to include thegithubBranch
parameter.