Skip to content

[WIP] Add e2e ci for kubernetes with kind. #3

[WIP] Add e2e ci for kubernetes with kind.

[WIP] Add e2e ci for kubernetes with kind. #3

Workflow file for this run

name: e2e
on:
# schedule:
# - cron: "00 * * * *" # run ci periodically at 3 am
pull_request:
push: #enabled after the API is stable
# workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.actor }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
kube:
name: e2e_kube
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
k8s:
- v1.25.3
- v1.26.0
- v1.27.3
- v1.28.7
- v1.29.2
steps:
- uses: actions/checkout@v4
- name: work with kubernetes
env:
K8SVERSION: ${{ matrix.k8s }}
run: |
./.github/scripts/kind.sh
- name: chmod
if: always()
run: |
sudo chmod -R 777 /xline/kind
ls /xline/kind
ls /xline/kind/pods
du -h --max-depth=1 /xline/kind
ls -allh /xline/kind/containers
- name: upload kind logs
if: always()
uses: actions/upload-artifact@v3
with:
name: xline_kind_log_${{ matrix.k8s }}
path: /xline/kind/