Skip to content

Merge pull request #1471 from liranmauda/liran-backport-into-5_16 #3549

Merge pull request #1471 from liranmauda/liran-backport-into-5_16

Merge pull request #1471 from liranmauda/liran-backport-into-5_16 #3549

Workflow file for this run

name: HAC on KIND cluster Test
on: [push, pull_request, workflow_dispatch]
jobs:
run-hac-test:
runs-on: ubuntu-latest
timeout-minutes: 90
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- name: checkout
uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Set environment variables
run: |
echo PATH=$PATH:$HOME/go/bin >> $GITHUB_ENV
echo OPERATOR_IMAGE=localhost:5000/noobaa/noobaa-operator:integration >> $GITHUB_ENV
- name: Deploy Dependencies
run: |
set -x
bash .travis/install-5nodes-kind-cluster.sh
go get -v github.com/onsi/ginkgo/ginkgo
go install -v github.com/onsi/ginkgo/ginkgo
ginkgo version
- name: Build NooBaa
run: |
make cli
make image
docker tag noobaa/noobaa-operator:$(go run cmd/version/main.go) $OPERATOR_IMAGE
docker push $OPERATOR_IMAGE
- name: Install NooBaa
run: ./build/_output/bin/noobaa-operator-local --mini --operator-image=$OPERATOR_IMAGE install
- name: Run HAC test
run: make test-hac