Skip to content

Commit

Permalink
Restore self-hosted runner tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fjammes committed Sep 4, 2024
1 parent 1e4cc39 commit bda1951
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/e2e-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ jobs:
run: |
if [ -f artifacts/image.tar ]; then
echo "Loading image from archive"
USER=${USER:-fink-ci}
cluster_name="$USER-$(git rev-parse --abbrev-ref HEAD)"
kind load image-archive artifacts/image.tar --name "$cluster_name"
node=$(kubectl get nodes --selector=node-role.kubernetes.io/control-plane -o jsonpath='{.items[0].metadata.name}')
Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions e2e/prereq-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
set -euxo pipefail

kind_version_opt=""

# TODO manage cluster name inside ktbx
USER=${USER:-fink-ci}
cluster_name="$USER-$(git rev-parse --abbrev-ref HEAD | tr '[:upper:]' '[:lower:]')"

# Get kind version from option -k
Expand Down

0 comments on commit bda1951

Please sign in to comment.