Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update runners and K3d version #367

Merged
merged 2 commits into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
unittest:
runs-on: arc-runner
runs-on: public-docker-runner
env:
TOX_COMMAND: "tox --skip-missing-interpreters false"

Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
uses: ./.github/workflows/e2e.yaml

build:
runs-on: arc-runner
runs-on: public-docker-runner
needs: [unittest, e2e]
if: startsWith(github.ref, 'refs/tags')
env:
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ env:
# Registry settings.
REGISTRY: "396487289173.dkr.ecr.eu-west-1.amazonaws.com"
AWS_REGION: "eu-west-1"
K3D_BASE_IMAGE: genialis/ci/k3d-base:v1.28.8-k3s1
K3D_BASE_IMAGE: genialis/ci/k3d-base:v1.30.8-k3s1
# Environment
ENV_FILE: "/workdir/e2e/config/resolwe-bio-py.env"

jobs:
e2e:
runs-on: e2e-runner
runs-on: private-kube-runner

steps:
- name: Checkout resolwe-bio-py
Expand Down Expand Up @@ -64,7 +64,10 @@ jobs:
# Work around authentication error by prefetching k3d base images
docker pull ${{ env.REGISTRY }}/${{ env.K3D_BASE_IMAGE }}
docker pull ${{ env.REGISTRY }}/docker.io/library/registry:2
# TODO: Add a way to override k3d-config.yaml base image tag
docker pull ${{ env.REGISTRY }}/genialis/ci/k3d-tools:5.8.1
docker pull ${{ env.REGISTRY }}/genialis/ci/k3d-proxy:5.8.1
K3D_IMAGE_LOADBALANCER=${{ env.REGISTRY }}/genialis/ci/k3d-proxy:5.8.1 \
K3D_IMAGE_TOOLS=${{ env.REGISTRY }}/genialis/ci/k3d-tools:5.8.1 \
k3d cluster create --config e2e/k3d/k3d-config.yaml

- name: Add hosts to /etc/hosts
Expand Down