Files
open-cluster-management/.github/workflows/e2e.yml
Jian Qiu 3db47b7997 Move work e2e out of staging (#157)
* Move work e2e out of staging

Signed-off-by: Jian Qiu <jqiu@redhat.com>

* some refactor on tester

remove unnecessary field and build a enable feature func

Signed-off-by: Jian Qiu <jqiu@redhat.com>

---------

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-06-01 06:18:21 -04:00

48 lines
1.3 KiB
YAML

name: E2E
on:
workflow_dispatch: {}
pull_request:
paths-ignore:
- 'solutions/**'
- 'assets/**'
- 'troubleshooting/**'
- ".github/ISSUE_TEMPLATE/*"
branches:
- main
- release-*
env:
GO_VERSION: '1.19'
GO_REQUIRED_MIN_VERSION: ''
jobs:
e2e:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Setup kind
uses: engineerd/setup-kind@v0.5.0
with:
version: v0.17.0
- name: install imagebuilder
run: go install github.com/openshift/imagebuilder/cmd/imagebuilder@v1.2.3
- name: Build images
run: make images
- name: Load images
run: |
kind load docker-image --name=kind quay.io/open-cluster-management/registration-operator:latest
kind load docker-image --name=kind quay.io/open-cluster-management/registration:latest
kind load docker-image --name=kind quay.io/open-cluster-management/work:latest
kind load docker-image --name=kind quay.io/open-cluster-management/placement:latest
- name: Test E2E
run: |
make test-e2e
env:
KUBECONFIG: /home/runner/.kube/config