do the thing #18
Workflow file for this run
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
name: Backup Restore CI | |
on: | |
push: | |
paths-ignore: | |
- 'docs/**' | |
- '*.md' | |
- '.gitignore' | |
- 'CODEOWNERS' | |
- 'LICENSE' | |
jobs: | |
build: | |
name : CI | |
runs-on : ubuntu-latest | |
strategy: | |
matrix: | |
K8S_VERSION_FROM_CI : ["v1.24","stable"] | |
include: | |
- platform: linux/amd64 | |
- platform: linux/arm64 | |
steps: | |
- name : Checkout repository | |
uses : actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name : Setup up K3d | |
run : ./.github/workflows/e2e/scripts/install-k3d.sh | |
- name : Setup up mc | |
run : | | |
./.github/workflows/e2e/scripts/install-mc.sh | |
echo "$PWD/mc" >> $GITHUB_PATH | |
- name : Setup environment variables | |
run : echo "K8S_VERSION_FROM_CI=${{ matrix.K8S_VERSION_FROM_CI }}" >> $GITHUB_ENV | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name : CI | |
run : make ci | |
# TODO : add steps to validate ./dist/artifacts | |
# - name : Validate build assets | |
# run : | |
# TODO : setup K3d, create cluster, setup kube context, run integration tests | |
- name : Setup k3d cluster | |
run : CLUSTER_NAME=k3d ./.github/workflows/e2e/scripts/setup-cluster.sh | |
- name : Run integration tests | |
run : ./scripts/integration |