feat: add short name and some other mark for crds (#75) #54
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# e2e test | |
name: e2e-test | |
on: ['push', 'pull_request'] | |
jobs: | |
chainsaw-test: | |
name: Chainsaw Test | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
k8s-version: ['1.26.14', '1.27.11'] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.22' | |
cache: false | |
- name: Create KinD cluster | |
env: | |
KINDTEST_K8S_VERSION: ${{ matrix.k8s-version}} | |
KUBECONFIG: kind-kubeconfig-${{ matrix.k8s-version }} | |
KIND_KUBECONFIG: kind-kubeconfig-${{ matrix.k8s-version }} | |
run: make kind-create | |
- name: Chainsaw test setup | |
env: | |
KINDTEST_K8S_VERSION: ${{ matrix.k8s-version }} | |
KUBECONFIG: kind-kubeconfig-${{ matrix.k8s-version }} | |
KIND_KUBECONFIG: kind-kubeconfig-${{ matrix.k8s-version }} | |
run: make chainsaw-setup | |
- name: Test with Chainsaw | |
env: | |
KINDTEST_K8S_VERSION: ${{ matrix.k8s-version }} | |
KUBECONFIG: kind-kubeconfig-${{ matrix.k8s-version }} | |
KIND_KUBECONFIG: kind-kubeconfig-${{ matrix.k8s-version }} | |
run: make chainsaw-test |