.github/workflows: separate stable and experimental catalog publishing #368
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: test-k8s-pipeline-latest | |
on: | |
pull_request: | |
branches: | |
- main | |
- p | |
push: | |
branches: | |
- main | |
- p | |
schedule: | |
- cron: "0 0 * * *" | |
workflow_dispatch: # allow manual triggering | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/tektoncd | |
- name: End-to-End Tests | |
run: | | |
kubectl version | |
make test-e2e/kubernetes | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/go | |
- name: Linting tekton resources | |
run: | | |
# Lint experimental | |
go run ./cmd/catalog-cd lint experimental/tasks || true | |
go run ./cmd/catalog-cd lint experimental/pipelines || true | |
go run ./cmd/catalog-cd lint tasks || true | |
go run ./cmd/catalog-cd lint pipelines || true |