-
Notifications
You must be signed in to change notification settings - Fork 0
62 lines (59 loc) · 1.66 KB
/
smoke.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: "Release Smoke Test"
on:
schedule:
- cron: '0 0 1 * *'
push:
paths:
- '.github/workflows/smoke.yaml'
workflow_dispatch: {}
jobs:
release_smoke_gke:
strategy:
fail-fast: false
matrix:
clusters:
- version: "1.31"
runs-on: ubuntu-latest
env:
GKE_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
steps:
- name: Kubectl tool installer
uses: Azure/setup-kubectl@v4
- id: provision
uses: datawire/infra-actions/[email protected]
with:
distribution: GKE
version: ${{ matrix.clusters.version }}
kubeconfig: ${{ runner.temp }}/kubeconfig.yaml
gkeCredentials: ${{ env.GKE_CREDENTIALS }}
- name: "Get kubeconfig and cluster information"
run: |
set -e
kubectl config view
kubectl version
kubectl get pods -A
release_smoke_kubeception:
strategy:
fail-fast: false
matrix:
clusters:
- version: "1.31"
runs-on: ubuntu-latest
env:
KUBECEPTION_TOKEN: ${{ secrets.KUBECEPTION_TOKEN }}
steps:
- name: Kubectl tool installer
uses: Azure/setup-kubectl@v4
- id: provision
uses: datawire/infra-actions/[email protected]
with:
distribution: Kubeception
version: ${{ matrix.clusters.version }}
kubeconfig: ${{ runner.temp }}/kubeconfig.yaml
kubeceptionToken: ${{ env.KUBECEPTION_TOKEN }}
- name: "Get kubeconfig and cluster information"
run: |
set -e
kubectl config view
kubectl version
kubectl get pods -A