vars: surface github vars
This commit is contained in:
Родитель
c4cb94ad26
Коммит
bc850025d5
|
@ -10,6 +10,7 @@ pr:
|
|||
|
||||
variables:
|
||||
- template: vars/global.yaml
|
||||
- template: vars/github.yaml
|
||||
- group: e2e-gov-demo-dev-kv # DEV
|
||||
|
||||
stages:
|
||||
|
|
|
@ -10,6 +10,7 @@ pr:
|
|||
|
||||
variables:
|
||||
- template: vars/global.yaml
|
||||
- template: vars/github.yaml
|
||||
- group: e2e-gov-demo-kv # PROD
|
||||
|
||||
stages:
|
||||
|
|
|
@ -57,10 +57,8 @@ stages:
|
|||
displayName: Add Results to Pull Request
|
||||
condition: and(succeededOrFailed(), eq(variables.isPR, 'True'))
|
||||
variables:
|
||||
githubRepoName: Azure/devops-governance
|
||||
githubConnectionName: e2e-governance-demo
|
||||
exitCode: $[ stageDependencies.terraformStage.terraformJob.outputs['planStep.exitCode'] ]
|
||||
# artifactName: terraformPlanOutput # Debugging, unused for now
|
||||
exitCode: $[ stageDependencies.terraformStage.terraformJob.outputs['planStep.exitCode'] ]
|
||||
jobs:
|
||||
- job: postCommentJob
|
||||
displayName: Post to GitHub
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
variables:
|
||||
githubRepoName: Azure/devops-governance
|
||||
githubConnectionName: e2e-governance-demo
|
Загрузка…
Ссылка в новой задаче