mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix staging order
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
0e99444579
commit
8aea41aaa1
2 changed files with 38 additions and 4 deletions
21
.github/workflows/staging.yml
vendored
21
.github/workflows/staging.yml
vendored
|
@ -888,7 +888,7 @@ jobs:
|
|||
needs:
|
||||
- prepare-workflow
|
||||
- build-docs
|
||||
- build-repositories
|
||||
- publish-repositories
|
||||
environment: staging
|
||||
runs-on:
|
||||
- self-hosted
|
||||
|
@ -928,11 +928,27 @@ jobs:
|
|||
run: |
|
||||
tools release upload-artifacts ${{ needs.prepare-workflow.outputs.salt-version }} artifacts/release
|
||||
|
||||
test-repositories:
|
||||
name: Test Staging Repository
|
||||
needs:
|
||||
- prepare-workflow
|
||||
- upload-release-artifacts
|
||||
environment: staging
|
||||
runs-on:
|
||||
- self-hosted
|
||||
- linux
|
||||
- repo-staging
|
||||
steps:
|
||||
|
||||
- name: Stub
|
||||
run: |
|
||||
echo "just a stub"
|
||||
|
||||
publish-pypi:
|
||||
name: Publish to PyPi(test)
|
||||
needs:
|
||||
- prepare-workflow
|
||||
- build-repositories
|
||||
- test-repositories
|
||||
environment: staging
|
||||
runs-on:
|
||||
- self-hosted
|
||||
|
@ -998,6 +1014,7 @@ jobs:
|
|||
- build-repositories
|
||||
- publish-repositories
|
||||
- upload-release-artifacts
|
||||
- test-repositories
|
||||
- publish-pypi
|
||||
steps:
|
||||
- name: Get workflow information
|
||||
|
|
21
.github/workflows/templates/staging.yml.jinja
vendored
21
.github/workflows/templates/staging.yml.jinja
vendored
|
@ -65,7 +65,7 @@ concurrency:
|
|||
needs:
|
||||
- prepare-workflow
|
||||
- build-docs
|
||||
- build-repositories
|
||||
- publish-repositories
|
||||
environment: <{ gh_environment }>
|
||||
runs-on:
|
||||
- self-hosted
|
||||
|
@ -117,12 +117,29 @@ concurrency:
|
|||
|
||||
{#- We need the package upload tests against staging added here #}
|
||||
|
||||
test-repositories:
|
||||
<%- do conclusion_needs.append('test-repositories') %>
|
||||
name: Test Staging Repository
|
||||
needs:
|
||||
- prepare-workflow
|
||||
- upload-release-artifacts
|
||||
environment: <{ gh_environment }>
|
||||
runs-on:
|
||||
- self-hosted
|
||||
- linux
|
||||
- repo-<{ gh_environment }>
|
||||
steps:
|
||||
|
||||
- name: Stub
|
||||
run: |
|
||||
echo "just a stub"
|
||||
|
||||
publish-pypi:
|
||||
<%- do conclusion_needs.append('publish-pypi') %>
|
||||
name: Publish to PyPi(test)
|
||||
needs:
|
||||
- prepare-workflow
|
||||
- build-repositories
|
||||
- test-repositories
|
||||
environment: <{ gh_environment }>
|
||||
runs-on:
|
||||
- self-hosted
|
||||
|
|
Loading…
Add table
Reference in a new issue