Skip to content

Commit ff2c921

Browse files
authoredAug 5, 2021
.github/workflows: Replace the e2e-kind job name with e2e in the test workflow (operator-framework#730)
Update the test.yml test workflow and replace the `e2e-kind` job name with `e2e`. Before, the e2e test workflow had ran e2e tests against both kind and minikube clusters before the latter job was removed entirely. Signed-off-by: timflannagan <[email protected]>
1 parent 3c2677e commit ff2c921

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed
 

‎.github/workflows/test.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,25 @@ on:
88
- '**'
99
- '!doc/**'
1010
jobs:
11-
e2e-kind:
11+
e2e:
1212
runs-on: ubuntu-20.04
1313
steps:
1414
- uses: actions/checkout@v2
1515
- uses: actions/setup-go@v2
1616
with:
1717
go-version: '~1.16'
18-
- run: |
18+
- name: Install podman
19+
run: |
1920
. /etc/os-release
2021
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
2122
curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/Release.key | sudo apt-key add -
2223
sudo apt-get update
2324
sudo apt-get -y install conntrack podman
2425
podman version
25-
- run: |
26+
- name: Create kind cluster and setup local docker registry
27+
run: |
2628
"${GITHUB_WORKSPACE}/scripts/start_registry.sh" kind-registry
2729
export DOCKER_REGISTRY_HOST=localhost:443
28-
- run: |
30+
- name: Run e2e tests
31+
run: |
2932
KUBECONFIG="$HOME/.kube/config" DOCKER_REGISTRY_HOST=localhost:443 make build e2e CLUSTER=kind

0 commit comments

Comments
 (0)