Skip to content

Commit

Permalink
ci: add echo to troubleshoot
Browse files Browse the repository at this point in the history
  • Loading branch information
lalver1 committed Jul 25, 2024
1 parent 5866eee commit 09e0e70
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion terraform/pipeline/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,15 @@ steps:
environmentServiceNameAzureRM: "${{ parameters.service_connection }}"
- bash: |
TAG_TYPE=$(python terraform/pipeline/tag.py)
echo "##vso[task.setvariable variable=tag_type;]$TAG_TYPE"
echo "##vso[task.setvariable variable=tag_type]$TAG_TYPE"
displayName: Set tag-type variable
env:
REASON: $(Build.Reason)
INDIVIDUAL_SOURCE: $[variables['Build.SourceBranchName']]
IS_TAG: $[startsWith(variables['Build.SourceBranch'], 'refs/tags/')]
- bash: |
echo $(tag_type)
displayName: Display tag-type variable
- task: TerraformTaskV3@3
displayName: Terraform plan
inputs:
Expand Down

0 comments on commit 09e0e70

Please sign in to comment.