Skip to content

Commit

Permalink
resolve
Browse files Browse the repository at this point in the history
Signed-off-by: Lukasz Dziedziak <[email protected]>
  • Loading branch information
lukidzi committed Dec 16, 2024
1 parent c66a9b6 commit 0b5e86d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@ on:
type: string
runner:
type: string
<<<<<<< HEAD
required: false
default: '{"amd64": "ubuntu-latest", "arm64": "ubuntu-latest-arm64-kong"}'
=======
required: true
>>>>>>> 126029d11 (ci(.github): enable self hosted runners for AMD64 E2E tasks (#10945))
permissions:
contents: read
env:
Expand All @@ -25,14 +20,9 @@ env:
jobs:
e2e:
timeout-minutes: 60
<<<<<<< HEAD
# use the runner from the map, if the runner is circleci or '' then use ubuntu-latest
runs-on: ${{ contains(fromJSON('["circleci", ""]'), fromJSON(inputs.runnersByArch)[fromJSON(inputs.matrix).arch]) && 'ubuntu-latest' || fromJSON(inputs.runnersByArch)[fromJSON(inputs.matrix).arch]}}
=======
# can't use env vars here
runs-on: ${{ inputs.runner }}
if: ${{ inputs.runner != '' }}
>>>>>>> 126029d11 (ci(.github): enable self hosted runners for AMD64 E2E tasks (#10945))
strategy:
fail-fast: false
matrix:
Expand Down
7 changes: 1 addition & 6 deletions mk/k3d.mk
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,12 @@ k3d/network/create:
else docker network create -d=bridge $(KIND_NETWORK_OPTS) kind || true; fi && \
rm -f $(BUILD_DIR)/k3d_network.lock

<<<<<<< HEAD
$(TOP)/$(KUMA_DIR)/test/k3d/calico.$(K3D_VERSION).yaml:
@mkdir -p $(TOP)/$(KUMA_DIR)/test/k3d
curl --location --fail --silent --retry 5 \
-o $(TOP)/$(KUMA_DIR)/test/k3d/calico.$(K3D_VERSION).yaml \
https://k3d.io/v$(K3D_VERSION)/usage/advanced/calico.yaml

.PHONY: k3d/start
k3d/start: ${KIND_KUBECONFIG_DIR} k3d/network/create \
$(if $(findstring calico,$(K3D_NETWORK_CNI)),$(TOP)/$(KUMA_DIR)/test/k3d/calico.$(K3D_VERSION).yaml)
=======
DOCKERHUB_PULL_CREDENTIAL ?=
.PHONY: k3d/setup-docker-credentials
k3d/setup-docker-credentials:
Expand All @@ -112,7 +107,7 @@ k3d/cleanup-docker-credentials:

.PHONY: k3d/start
k3d/start: ${KIND_KUBECONFIG_DIR} k3d/network/create k3d/setup-docker-credentials
>>>>>>> 126029d11 (ci(.github): enable self hosted runners for AMD64 E2E tasks (#10945))
$(if $(findstring calico,$(K3D_NETWORK_CNI)),$(TOP)/$(KUMA_DIR)/test/k3d/calico.$(K3D_VERSION).yaml)
@echo "PORT_PREFIX=$(PORT_PREFIX)"
@KUBECONFIG=$(KIND_KUBECONFIG) \
$(K3D_BIN) cluster create "$(KIND_CLUSTER_NAME)" $(K3D_CLUSTER_CREATE_OPTS)
Expand Down

0 comments on commit 0b5e86d

Please sign in to comment.