mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-23 17:43:25 +00:00
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
name: E2E-work
|
|
|
|
on:
|
|
workflow_dispatch: {}
|
|
pull_request:
|
|
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: 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 -C ./staging/src/open-cluster-management.io/work test-e2e
|
|
env:
|
|
KUBECONFIG: /home/runner/.kube/config
|