Skip to content

SLK-78181 - Fix nil pointer dereference starboard #83

SLK-78181 - Fix nil pointer dereference starboard

SLK-78181 - Fix nil pointer dereference starboard #83

Workflow file for this run

name: validation
on:
pull_request_target:
types: [labeled]
paths-ignore:
- 'README.md'
- 'docs/**'
- 'images/**'
- 'licenses/**'
- 'hack/**'
env:
GO111MODULE: "on"
PROJECTNAME: "aqua-operator"
jobs:
test:
if: contains(github.event.pull_request.labels.*.name, 'safe_to_test')
strategy:
matrix:
tags: [ubi,alpine]
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.19
id: go
- name: Set up docker
run: |
docker version
- name: Install Kind
run: |
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.18.0/kind-linux-amd64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind
- name: Check out code into the Go module directory
# if you are using act to test it locally please set it to v1 because of a bug
#uses: actions/checkout@v1
uses: actions/[email protected]
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Run test
env:
LOG_STDOUT: "true"
CREATE_KIND: "true"
WATCH_NAMESPACE: "aqua"
ADMIN_PASSWORD: ${{ secrets.ADMIN_PASSWORD }}
LICENSE_TOKEN: ${{ secrets.LICENSE_TOKEN }}
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
run: |
if [[ ${{ matrix.tags }} == 'ubi' ]]; then
export RUN_UBI=true
else
export RUN_UBI=false
fi
make test
- name: Publish Test Results
uses: EnricoMi/[email protected]
if: hashFiles('./controllers/test.xml') != ''
with:
files: "./controllers/test.xml"
job_summary: true