Skip to content

Merge pull request #76 from controlplaneio-fluxcd/dependabot/github_a… #48

Merge pull request #76 from controlplaneio-fluxcd/dependabot/github_a…

Merge pull request #76 from controlplaneio-fluxcd/dependabot/github_a… #48

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@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
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@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.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 }}