Bump minimum supported version to LogScale 1.118.0 #1747
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
on: pull_request | |
name: e2e | |
jobs: | |
e2e: | |
name: ${{ matrix.kind-k8s-version }} | |
runs-on: [self-hosted, ops] | |
strategy: | |
fail-fast: false | |
matrix: | |
kind-k8s-version: | |
- kindest/node:v1.21.14@sha256:220cfafdf6e3915fbce50e13d1655425558cb98872c53f802605aa2fb2d569cf | |
- kindest/node:v1.22.17@sha256:9af784f45a584f6b28bce2af84c494d947a05bd709151466489008f80a9ce9d5 | |
- kindest/node:v1.23.17@sha256:f77f8cf0b30430ca4128cc7cfafece0c274a118cd0cdb251049664ace0dee4ff | |
- kindest/node:v1.24.13@sha256:cea86276e698af043af20143f4bf0509e730ec34ed3b7fa790cc0bea091bc5dd | |
- kindest/node:v1.25.9@sha256:c08d6c52820aa42e533b70bce0c2901183326d86dcdcbedecc9343681db45161 | |
- kindest/node:v1.26.4@sha256:f4c0d87be03d6bea69f5e5dc0adb678bb498a190ee5c38422bf751541cebe92e | |
- kindest/node:v1.27.1@sha256:b7d12ed662b873bd8510879c1846e87c7e676a79fefc93e17b2a52989d3ff42b | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.22.2' | |
- name: cleanup kind | |
run: | | |
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.19.0/kind-linux-amd64 | |
chmod +x ./kind | |
./kind delete cluster || true | |
make clean | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Get temp bin dir | |
id: bin_dir | |
run: echo "BIN_DIR=$(mktemp -d --tmpdir=${{ github.workspace }})" >> $GITHUB_OUTPUT | |
- name: run e2e tests | |
env: | |
BIN_DIR: ${{ steps.bin_dir.outputs.BIN_DIR }} | |
HUMIO_E2E_LICENSE: ${{ secrets.HUMIO_E2E_LICENSE }} | |
E2E_KIND_K8S_VERSION: ${{ matrix.kind-k8s-version }} | |
E2E_LOGS_HUMIO_HOSTNAME: ${{ secrets.E2E_LOGS_HUMIO_HOSTNAME }} | |
E2E_LOGS_HUMIO_INGEST_TOKEN: ${{ secrets.E2E_LOGS_HUMIO_INGEST_TOKEN }} | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
GINKGO_NODES: "6" | |
run: | | |
hack/run-e2e-using-kind.sh | |
- name: cleanup kind | |
if: always() | |
run: | | |
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.19.0/kind-linux-amd64 | |
chmod +x ./kind | |
./kind delete cluster || true | |
make clean | |
docker image prune -f |