Skip to content

Bump docker/metadata-action from 5.9.0 to 5.10.0 in the github-actions group #973

Bump docker/metadata-action from 5.9.0 to 5.10.0 in the github-actions group

Bump docker/metadata-action from 5.9.0 to 5.10.0 in the github-actions group #973

Workflow file for this run

---
# Modified from https://github.com/prometheus-operator/prometheus-operator/blob/main/.github/workflows/e2e-feature-gated.yaml
name: e2e-tests
permissions:
contents: read
on: # yamllint disable-line rule:truthy
push:
branches:
- main
tags:
- v*
workflow_run:
workflows: ["Release"]
types: [completed]
branches: [main]
pull_request:
env:
NETBOX_HOST: demo.netbox.dev
AUTH_TOKEN: 0123456789abcdef0123456789abcdef01234567
POD_NAMESPACE: default
HTTPS_ENABLE: true
NETBOX_RESTORATION_HASH_FIELD_NAME: netboxOperatorRestorationHash
jobs:
e2e-tests-3-7-8:
name: Against netbox version 3.7.8
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name != 'workflow_run' }}
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5.0.0
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: "go.mod"
- name: Import environment variables from file
run: |
cat ".github/env" >> "$GITHUB_ENV"
- name: Run e2e tests
run: |
make test-e2e-3.7.8
e2e-tests-4-0-11:
name: Against netbox version 4.0.11
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5.0.0
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: "go.mod"
- name: Import environment variables from file
run: |
cat ".github/env" >> "$GITHUB_ENV"
- name: Run e2e tests
run: |
make test-e2e-4.0.11
e2e-tests-4-1-11:
name: Against netbox version 4.1.11
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5.0.0
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: "go.mod"
- name: Import environment variables from file
run: |
cat ".github/env" >> "$GITHUB_ENV"
- name: Run e2e tests
run: |-
make test-e2e-4.1.11