Skip to content

Commit 6ea04c7

Browse files
committed
Update prod deploys to use new config variable
1 parent ff22ba5 commit 6ea04c7

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -100,18 +100,7 @@ jobs:
100100
# Create a YAML config stump containing only the nested tree leading to the image tag update
101101
cd pulumi
102102
cat << EOF > newimage.yaml
103-
resources:
104-
tb:fargate:FargateClusterWithLogging:
105-
accounts:
106-
task_definition:
107-
container_definitions:
108-
accounts:
109-
image: "$target_tag"
110-
accounts-celery:
111-
task_definition:
112-
container_definitions:
113-
accounts:
114-
image: "$target_tag"
103+
.accounts_image: &ACCOUNTS_IMAGE "$target_tag"
115104
EOF
116105
117106
# Use yq to merge the stump into the main config
@@ -125,4 +114,6 @@ jobs:
125114
pulumi up -y --diff \
126115
--target 'urn:pulumi:prod::accounts::tb:fargate:FargateClusterWithLogging$aws:ecs/taskDefinition:TaskDefinition::accounts-prod-fargate-accounts-taskdef' \
127116
--target 'urn:pulumi:prod::accounts::tb:fargate:FargateClusterWithLogging$aws:ecs/taskDefinition:TaskDefinition::accounts-prod-fargate-accounts-celery-taskdef' \
117+
--target 'urn:pulumi:prod::accounts::aws:ecs/taskDefinition:TaskDefinition::accounts-prod-afc-accounts-taskdef-celery-prod' \
118+
--target 'urn:pulumi:prod::accounts::aws:ecs/taskDefinition:TaskDefinition::accounts-prod-afc-accounts-taskdef-flower-prod' \
128119
--target-dependents

0 commit comments

Comments
 (0)