-
Notifications
You must be signed in to change notification settings - Fork 102
44 lines (38 loc) · 1.29 KB
/
run_kms_dev_test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: KMS Test - DEV Vault, Token Auth
on: [push, pull_request, workflow_dispatch]
jobs:
run-kms-dev-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@v5
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
bash .travis/install-dev-vault.sh
go get -v github.com/onsi/ginkgo/v2
go install -v github.com/onsi/ginkgo/v2/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 & Vault
run: |
bash .travis/install-dev-kms-noobaa.sh
- name: Run KMS DEV test
run: make test-kms-dev