-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pull Request workflow for AzDO + Bicep #249
base: main
Are you sure you want to change the base?
Conversation
keyVaultName variables in yaml, to use the pipeline vars
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
Creating environment with name: "844966" using commit: "ed0fad68b887d157794526304693275ad48a6f7d". The environment will be destroyed after the workflow completes. |
E2E Tests Results1 tests 1 ✅ 1m 32s ⏱️ Results for commit be7e35a. ♻️ This comment has been updated with latest results. |
Creating environment with name: "b9e6ef" using commit: "50cdfd1de55acef37ce02325cf2fc0f0fbbdacaa". The environment will be destroyed after the workflow completes. |
Modules tests Results3 tests 3 ✅ 9m 56s ⏱️ Results for commit be7e35a. ♻️ This comment has been updated with latest results. |
Creating environment with name: "4d8981" using commit: "50cdfd1de55acef37ce02325cf2fc0f0fbbdacaa". The environment will be destroyed after the workflow completes. |
Creating environment with name: "b187c4" using commit: "ee67e417675dca1f6cb55631f776d5d8f5d56f4e". The environment will be destroyed after the workflow completes. |
Creating environment with name: "806159" using commit: "e18e8c76fa41b21d347a20191bd5ddb08d92df17". The environment will be destroyed after the workflow completes. |
|
||
local _pipelineBuildDefinitionId=$(< "$AZDO_TEMP_LOG_PATH/$_pipelineName-cp.json" jq -r '.id') | ||
|
||
local _payload="{\"type\":{\"id\":\"0609b952-1397-4640-95ec-e00a01b2c241\"},\"revision\":1,\"isDeleted\":false,\"isBlocking\":true,\"isEnabled\":true,\"settings\":{\"buildDefinitionId\":$_pipelineBuildDefinitionId,\"displayName\":\"$_pipelineName\",\"manualQueueOnly\":false,\"queueOnSourceUpdateOnly\":false,\"validDuration\":0,\"scope\":[{\"repositoryId\":\"$_codeRepoId\",\"refName\":\"refs/heads/main\",\"matchKind\":\"Exact\"}]}}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we move the payload to the azdo/templates folder
Creating environment with name: "441506" using commit: "be7e35ae108a896b3407f718770c787c869dc18c". The environment will be destroyed after the workflow completes. |
This PR closes #227
This includes two new workflows:
A new branch policy is added for the "main" branch when bootstrapping the repo, to require PRs being up-to-date and passing the Tests job before merging.