Commit aaf8e86 1 parent b2572d9 commit aaf8e86 Copy full SHA for aaf8e86
File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 19
19
echo "has-secrets=1" >> "$GITHUB_OUTPUT"
20
20
fi
21
21
22
- ephemeral_env_comment :
22
+ ephemeral-env-comment :
23
23
needs : config
24
24
if : needs.config.outputs.has-secrets
25
25
name : Evaluate ephemeral env comment trigger (/testenv)
80
80
core.setFailed(errMsg)
81
81
82
82
ephemeral-docker-build :
83
- needs : ephemeral_env_comment
84
- name : docker-build
83
+ needs : ephemeral-env-comment
84
+ name : ephemeral- docker-build
85
85
runs-on : ubuntu-latest
86
86
steps :
87
87
- name : Get Info from comment
@@ -148,9 +148,9 @@ jobs:
148
148
docker tag $SHA $ECR_REGISTRY/$ECR_REPOSITORY:$SHA
149
149
docker push -a $ECR_REGISTRY/$ECR_REPOSITORY
150
150
151
- ephemeral_env_up :
152
- needs : ephemeral_env_comment
153
- if : needs.ephemeral_env_comment .outputs.slash-command == 'up'
151
+ ephemeral-env-up :
152
+ needs : [ephemeral-env-comment, ephemeral-docker-build]
153
+ if : needs.ephemeral-env-comment .outputs.slash-command == 'up'
154
154
name : Spin up an ephemeral environment
155
155
runs-on : ubuntu-latest
156
156
permissions :
@@ -207,7 +207,7 @@ jobs:
207
207
208
208
- name : Update env vars in the Amazon ECS task definition
209
209
run : |
210
- cat <<< "$(jq '.containerDefinitions[0].environment += ${{ needs.ephemeral_env_comment .outputs.feature-flags }}' < ${{ steps.task-def.outputs.task-definition }})" > ${{ steps.task-def.outputs.task-definition }}
210
+ cat <<< "$(jq '.containerDefinitions[0].environment += ${{ needs.ephemeral-env-comment .outputs.feature-flags }}' < ${{ steps.task-def.outputs.task-definition }})" > ${{ steps.task-def.outputs.task-definition }}
211
211
212
212
- name : Describe ECS service
213
213
id : describe-services
You can’t perform that action at this time.
0 commit comments