Skip to content

Commit

Permalink
Parametrize kind version on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Feb 9, 2024
1 parent 0859532 commit decab54
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/e2e-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
runner:
required: true
type: string
kind_version:
required: true
type: string
secrets:
registry_username:
required: true
Expand Down Expand Up @@ -89,7 +92,7 @@ jobs:
- name: Create k8s (kind) cluster
run: |
# v0.20.0 does not work on self-hosted runners
ktbx install kind --kind-version=v0.15.0
ktbx install kind --kind-version=${{ inputs.kind_version }}
ktbx install kubectl
ktbx create -s
- name: Install olm and argocd operators
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-gha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
suffix: "noscience"
ci_repo: ""
runner: "['ubuntu-latest']"
kind_version: "v0.20.0"
secrets:
registry_username: ${{ secrets.REGISTRY_USERNAME }}
registry_token: ${{ secrets.REGISTRY_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/e2e-noscience.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
suffix: "noscience"
ci_repo: "docker-registry.docker-registry:5000"
runner: "['arc-runners']"
kind-version: "['ubuntu-latest']"
secrets:
registry_username: ${{ secrets.REGISTRY_USERNAME }}
registry_token: ${{ secrets.REGISTRY_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/e2e-science.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
suffix: ""
ci_repo: "docker-registry.docker-registry:5000"
runner: "['arc-runners']"
kind_version: "v0.15.0"
secrets:
registry_username: ${{ secrets.REGISTRY_USERNAME }}
registry_token: ${{ secrets.REGISTRY_TOKEN }}

0 comments on commit decab54

Please sign in to comment.