Skip to content

Merge pull request #106 from controlplaneio-fluxcd/dependabot/github_… #63

Merge pull request #106 from controlplaneio-fluxcd/dependabot/github_…

Merge pull request #106 from controlplaneio-fluxcd/dependabot/github_… #63

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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: 1.23.x
cache-dependency-path: |
**/go.sum
**/go.mod
- name: Setup Kubernetes
uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0
with:
version: v0.24.0
cluster_name: kind
- name: Setup QEMU
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1
- name: Login to GitHub Container Registry
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.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 }}