Skip to content

Merge pull request #93 from datawire/rlane/update-versions #83

Merge pull request #93 from datawire/rlane/update-versions

Merge pull request #93 from datawire/rlane/update-versions #83

Workflow file for this run

name: "Release Smoke Test"
on:
schedule:
- cron: '0 0 1 * *'
push:
paths:
- '.github/workflows/smoke.yaml'
jobs:
release_smoke:
strategy:
fail-fast: false
matrix:
clusters:
- distribution: GKE
version: "1.27"
useAuthProvider: "true"
- distribution: GKE
version: "1.27"
useAuthProvider: "false"
- distribution: Kubeception
version: "1.27"
runs-on: ubuntu-latest
env:
KUBECEPTION_TOKEN: ${{ secrets.KUBECEPTION_TOKEN }}
GKE_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
steps:
- name: Kubectl tool installer
uses: Azure/setup-kubectl@v3
with:
version: 'v1.25.3'
- id: provision
uses: datawire/infra-actions/[email protected]
with:
distribution: ${{ matrix.clusters.distribution }}
version: ${{ matrix.clusters.version }}
kubeconfig: ${{ runner.temp}}/kubeconfig.yaml
kubeceptionToken: ${{ matrix.clusters.distribution == 'Kubeception' && env.KUBECEPTION_TOKEN }}
gkeCredentials: ${{ matrix.clusters.distribution == 'GKE' && env.GKE_CREDENTIALS }}
useAuthProvider: ${{ matrix.clusters.useAuthProvider }}
- name: "Get kubeconfig and cluster information"
run: |
set -e
kubectl config view
kubectl version --short
kubectl get pods -A