fixes
This commit is contained in:
parent
ccdb0c1384
commit
7a61137099
26
.github/workflows/main.yaml
vendored
26
.github/workflows/main.yaml
vendored
@ -1,26 +0,0 @@
|
||||
name: test and publish
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- "feature/*"
|
||||
- "fix/*"
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
uses: ./.github/workflows/lint.yaml
|
||||
|
||||
sync_images:
|
||||
needs: [lint]
|
||||
uses: ./.github/workflows/sync-images.yaml
|
||||
secrets: inherit
|
||||
|
||||
test:
|
||||
needs: [sync_images]
|
||||
uses: ./.github/workflows/test.yaml
|
||||
secrets: inherit
|
||||
|
||||
publish:
|
||||
needs: [test]
|
||||
uses: ./.github/workflows/publish-artifacts.yaml
|
||||
secrets: inherit
|
4
.github/workflows/publish-artifacts.yaml
vendored
4
.github/workflows/publish-artifacts.yaml
vendored
@ -1,6 +1,8 @@
|
||||
name: publish artifacts
|
||||
on:
|
||||
workflow_call:
|
||||
push:
|
||||
release:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
build_push_utils_image:
|
||||
|
17
.github/workflows/test.yaml
vendored
17
.github/workflows/test.yaml
vendored
@ -11,6 +11,15 @@ jobs:
|
||||
capi: ["v1.3.2"]
|
||||
capo: ["v0.7.0-stackhpc.3"]
|
||||
addonprovider: ["0.1.0-dev.0.main.21"]
|
||||
shouldRun:
|
||||
- github.event.pull_request.draft
|
||||
exclude:
|
||||
- version: kube-1-23
|
||||
shouldRun: true
|
||||
- version: kube-1-24
|
||||
shouldRun: true
|
||||
- version: kube-1-25
|
||||
shouldRun: true
|
||||
max-parallel: 1
|
||||
fail-fast: false
|
||||
steps:
|
||||
@ -221,6 +230,14 @@ jobs:
|
||||
run: sonobuoy run --mode quick --wait
|
||||
env:
|
||||
KUBECONFIG: ./kubeconfig
|
||||
if: matrix.version != kube-1-26 or github.event.pull_request.draft == true
|
||||
|
||||
- name: Run sonobuoy [smoke]
|
||||
timeout-minutes: 20
|
||||
run: sonobuoy run --wait
|
||||
env:
|
||||
KUBECONFIG: ./kubeconfig
|
||||
if: matrix.version == kube-1-26 and github.event.pull_request.draft == false
|
||||
|
||||
- name: Print logs
|
||||
if: ${{ always() }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user