forked from blockscout/frontend
-
Notifications
You must be signed in to change notification settings - Fork 6
33 lines (31 loc) · 925 Bytes
/
cleanup.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Cleanup environments
on:
pull_request:
types:
- closed
- merged
workflow_dispatch:
jobs:
cleanup_release:
uses: blockscout/blockscout-ci-cd/.github/workflows/cleanup_helmfile.yaml@master
with:
appName: review-l2-$GITHUB_REF_NAME_SLUG
globalEnv: review
helmfileDir: deploy
kubeConfigSecret: ci/data/dev/kubeconfig/k8s-dev
vaultRole: ci-dev
secrets: inherit
cleanup_l2_release:
uses: blockscout/blockscout-ci-cd/.github/workflows/cleanup_helmfile.yaml@master
with:
appName: review-$GITHUB_REF_NAME_SLUG
globalEnv: review
helmfileDir: deploy
kubeConfigSecret: ci/data/dev/kubeconfig/k8s-dev
vaultRole: ci-dev
secrets: inherit
cleanup_docker_image:
uses: blockscout/blockscout-ci-cd/.github/workflows/cleanup_docker.yaml@master
with:
dockerImage: review-$GITHUB_REF_NAME_SLUG
secrets: inherit