-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (34 loc) · 892 Bytes
/
test.yaml
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
34
name: Test
on:
push:
branches-ignore:
- main
jobs:
validate:
runs-on: ubuntu-latest
environment: Dev
permissions:
contents: read
steps:
- uses: actions/checkout@v3
- id: kubeconfig
name: Kubectl Config
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
run: |
if ! [ -d ~/.kube ]; then mkdir ~/.kube; fi
echo $KUBE_CONFIG | base64 -d > ~/.kube/config
chmod go-rwx ~/.kube/config
sha512sum ~/.kube/config
wc -l ~/.kube/config
- id: clusterinfo
name: Cluster Info
run: |
kubectl cluster-info
- name: Helm Debug Dry Run
id: checkyq
run: |
source .github/sharedenv.sh
echo "$HELM_ARGS"
echo helm upgrade --dry-run --debug $HELM_ARGS
helm upgrade --dry-run --debug $HELM_ARGS