Move smoke test to reusable workflow
This commit is contained in:
parent
80b1d50e0d
commit
da554410b0
|
@ -49,3 +49,7 @@ jobs:
|
||||||
docker push $IMAGE
|
docker push $IMAGE
|
||||||
docker push $IMAGE_MAJOR
|
docker push $IMAGE_MAJOR
|
||||||
docker push $IMAGE_MAJOR_MINOR
|
docker push $IMAGE_MAJOR_MINOR
|
||||||
|
smoke-test:
|
||||||
|
needs:
|
||||||
|
- build-and-push
|
||||||
|
uses: ./.github/workflows/reusable-smoke-test.yml
|
||||||
|
|
|
@ -1,12 +1,9 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
name: 🧪
|
name: ♻️ 🧪
|
||||||
|
|
||||||
on: # yamllint disable-line rule:truthy
|
on: # yamllint disable-line rule:truthy
|
||||||
pull_request:
|
workflow_call:
|
||||||
workflow_run:
|
|
||||||
workflows: [🏗️]
|
|
||||||
types: [completed]
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
devpi-password: abcd1234
|
devpi-password: abcd1234
|
||||||
|
@ -30,9 +27,6 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
fail-fast:
|
fail-fast:
|
||||||
if: >-
|
|
||||||
github.event_name == 'pull_request' ||
|
|
||||||
github.event.workflow_run.conclusion == 'success'
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -44,7 +38,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the action locally
|
- name: Check out the action locally
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: test
|
path: test
|
||||||
- name: Fail-fast in unsupported environments
|
- name: Fail-fast in unsupported environments
|
||||||
|
@ -58,9 +52,7 @@ jobs:
|
||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
smoke-test:
|
smoke-test:
|
||||||
if: >-
|
|
||||||
github.event_name == 'pull_request' ||
|
|
||||||
github.event.workflow_run.conclusion == 'success'
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
services:
|
services:
|
Loading…
Reference in New Issue