Skip to content

Add Flux CRDs to OLM cluster service #38

Add Flux CRDs to OLM cluster service

Add Flux CRDs to OLM cluster service #38

Workflow file for this run

name: e2e-olm
on:
workflow_dispatch:
push:
branches: [ '*' ]
paths:
- 'config/olm/**'
- 'test/olm/**'
- '.github/workflows/e2e-olm.yml'
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
permissions:
packages: write # for pushing and signing container images.
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: 'go.mod'
cache-dependency-path: |
**/go.sum
**/go.mod
- name: Setup Kubernetes
uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0
with:
version: v0.23.0
cluster_name: kind
- name: Setup QEMU
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0
- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
- name: Login to GitHub Container Registry
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run OLM tests
run: make test-olm
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}