Skip to content

Commit

Permalink
sync actions
Browse files Browse the repository at this point in the history
  • Loading branch information
chrira committed May 31, 2021
1 parent fb3e453 commit db58a80
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
name: trivy-results-build
path: trivy-results.txt
-
name: 'Deploy'
name: 'Deploy Helm Release'
uses: 'deliverybot/helm@v1'
with:
release: 'pr-${{ github.event.pull_request.number }}'
Expand All @@ -77,17 +77,17 @@ jobs:
env:
KUBECONFIG_FILE: '${{ secrets.KUBECONFIG_TEST }}'
-
name: redeploy puzzle deployment
name: Redeploy puzzle Deployment
uses: actions-hub/kubectl@master
env:
KUBE_CONFIG: ${{ secrets.KUBECONFIG_TEST_BASE64 }}
with:
args: rollout restart deployment/pr-${{ github.event.pull_request.number }}-amm-techlab-puzzle --namespace pitc-amm-techlab-test
-
name: Comment on PR
name: Comment PR Environments in PR
uses: marocchino/sticky-pull-request-comment@v2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
message: |
PR Environements:
PR Environments:
* puzzle <https://amm-techlab-pr-${{ github.event.pull_request.number }}.k8s.puzzle.ch>
8 changes: 5 additions & 3 deletions .github/workflows/pr-cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ jobs:
deployment:
runs-on: 'ubuntu-latest'
steps:
-
-
name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: 'Remove PR Environment'
-
name: 'Remove PR Environment Helm Release'
uses: 'deliverybot/helm@v1'
with:
# Task remove means to remove the helm release.
Expand All @@ -26,7 +27,8 @@ jobs:
helm: 'helm3'
env:
KUBECONFIG_FILE: '${{ secrets.KUBECONFIG_TEST }}'
- name: Delete Tags on Quay
-
name: Delete Tags on Quay
id: delete_tags
env:
PR_NUMBER: '${{ github.event.pull_request.number }}'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
name: trivy-results-main
path: trivy-results.txt
-
name: 'Deploy'
name: 'Deploy Helm Release'
uses: 'deliverybot/helm@v1'
with:
release: 'latest'
Expand All @@ -80,7 +80,7 @@ jobs:
env:
KUBECONFIG_FILE: '${{ secrets.KUBECONFIG }}'
-
name: redeploy puzzle deployment
name: Redeploy puzzle Deployment
uses: actions-hub/kubectl@master
env:
KUBE_CONFIG: ${{ secrets.KUBECONFIG_BASE64 }}
Expand Down

0 comments on commit db58a80

Please sign in to comment.