Skip to content

Commit

Permalink
git teardown
Browse files Browse the repository at this point in the history
  • Loading branch information
maciaszczykm committed Nov 21, 2024
1 parent 744cc72 commit a3ee8ef
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
6 changes: 6 additions & 0 deletions test/plural/lib/git-teardown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
executor: git-teardown
input:
branch: ''
steps:
- script: |
git push -d origin {{ .input.branch }}
9 changes: 7 additions & 2 deletions test/plural/up.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,21 @@ testcases:
cd {{ .directory }} ;\
plural up
- name: Azure Teardown
- name: Azure teardown
skip:
- {{ .provider }} NotEqual azure
steps:
- type: azure-teardown
resourceGroup: {{ .project }}

# - name: Google Cloud Teardown
# - name: Google Cloud teardown
# steps:
# - type: gcloud-teardown
# email: {{ .gcpEmail }}
# saKeyFile: {{ .gcpSAKeyFile }}
# project: {{ .project }}

- name: Git teardown
steps:
- type: git-teardown
branch: {{ .branch }}

0 comments on commit a3ee8ef

Please sign in to comment.