scc fix iter 1 #134
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: KMS Test - IBM KP | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
run-kms-ibm-kp-test: | |
env: | |
IBM_KP_SERVICE_INSTANCE_ID: ${{ secrets.IBM_INSTANCE_ID }} | |
IBM_KP_SERVICE_API_KEY: ${{ secrets.IBM_SERVICE_API_KEY }} | |
runs-on: ubuntu-latest | |
timeout-minutes: 90 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: "1.20" | |
- 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 & IBM KP Token | |
run: | | |
bash .travis/install-ibm-kp-kms-noobaa.sh | |
- name: Run KMS IBM KP test | |
run: make test-kms-ibm-kp |