Skip to content

fix: remove deprecated componentConfig and controller manager options #254

fix: remove deprecated componentConfig and controller manager options

fix: remove deprecated componentConfig and controller manager options #254

name: Test Operator Deployment
on:
push:
branches:
- main
paths-ignore:
- 'docs/**'
pull_request_target:
types: [ labeled ]
branches:
- main
paths-ignore:
- 'docs/**'
env:
KIND_CLUSTER: operator-testing
FALCON_CLIENT_ID: ${{ secrets.FALCON_CLIENT_ID }}
FALCON_CLIENT_SECRET: ${{ secrets.FALCON_CLIENT_SECRET }}
jobs:
e2e:
if: |
github.event_name == 'push' ||
(github.event_name == 'pull_request_target' &&
github.event.label.name == 'ok-to-test')
name: e2e
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

Check failure on line 32 in .github/workflows/operator-deployment.yml

View workflow run for this annotation

GitHub Actions / Test Operator Deployment

Invalid workflow file

The workflow is not valid. .github/workflows/operator-deployment.yml (Line: 32, Col: 23): A sequence was not expected
if: github.event_name != 'pull_request_target'
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{github.event.pull_request.head.sha}}
fetch-depth: 0
if: github.event_name == 'pull_request_target'
- uses: actions/setup-go@v5
with:
go-version: "1.20.x"
- name: Install dependencies
run: |
sudo apt-get update -y
sudo apt install libgpgme-dev libbtrfs-dev libdevmapper-dev
- name: Create k8s Kind Cluster
uses: helm/kind-action@v1.8.0
with:
cluster_name: operator-testing
- run: sudo rm -rf /usr/local/bin/kustomize
- run: make test-e2e