Skip to content

Commit a63b976

Browse files
committed
add missing needs in workflows
1 parent ef7f9d5 commit a63b976

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/principal-multi-env.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
elif ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'v10' && startsWith(github.event.pull_request.head.ref, 'release/v10') }}; then
2424
echo "QA environment"
2525
echo "tag=v10-qa" >> $GITHUB_OUTPUT
26-
elif ${{ (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'v10' && startsWith(github.event.pull_request.head.ref, 'hotfix/v10')) || (github.event_name == 'push' && github.ref == 'refs/heads/v10') }}; then
26+
elif ${{ github.event_name == 'push' && github.ref == 'refs/heads/v10' }}; then
2727
echo "RC environment"
2828
echo "tag=v10-rc" >> $GITHUB_OUTPUT
2929
elif ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v10.') }}; then
@@ -63,7 +63,7 @@ jobs:
6363
6464
build_agent:
6565
name: Build Agent-Manager Image & Agent & Dependencies
66-
needs: validations
66+
needs: [validations,setup_deployment]
6767
if: ${{ needs.setup_deployment.outputs.tag != '' }}
6868
runs-on: signing
6969
steps:
@@ -119,7 +119,7 @@ jobs:
119119
120120
runner_release:
121121
name: Images deployment
122-
needs: validations
122+
needs: [validations,setup_deployment]
123123
if: ${{ needs.setup_deployment.outputs.tag != '' }}
124124
strategy:
125125
fail-fast: false
@@ -133,7 +133,7 @@ jobs:
133133

134134
deploy_dev:
135135
name: Deploy to v10-dev environment
136-
needs: [build_agent, runner_release]
136+
needs: [build_agent, runner_release, setup_deployment]
137137
if: ${{ needs.setup_deployment.outputs.tag == 'v10-dev' }}
138138
runs-on: utmstack-v10-dev
139139
steps:
@@ -162,7 +162,7 @@ jobs:
162162
163163
deploy_qa:
164164
name: Deploy to v10-qa environment
165-
needs: [build_agent, runner_release]
165+
needs: [build_agent, runner_release, setup_deployment]
166166
if: ${{ needs.setup_deployment.outputs.tag == 'v10-qa' }}
167167
runs-on: utmstack-v10-qa
168168
steps:
@@ -186,7 +186,7 @@ jobs:
186186
187187
deploy_rc:
188188
name: Deploy to v10-rc environment
189-
needs: [build_agent, runner_release]
189+
needs: [build_agent, runner_release, setup_deployment]
190190
if: ${{ needs.setup_deployment.outputs.tag == 'v10-rc' }}
191191
runs-on: utmstack-v10-rc
192192
steps:

0 commit comments

Comments
 (0)