Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
CMCDragonkai committed Jul 10, 2022
1 parent 922ba01 commit a742cb2
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,24 +314,9 @@ integration:deployment:
# Override CI_REGISTRY_IMAGE to point to ECR
CI_REGISTRY_IMAGE: "$PK_AWS_ECS_IMAGE"
script:
- echo $CI_REGISTRY_IMAGE
- echo $REGISTRY_AUTH_FILE
- >
nix-shell --run '
echo 'Deploying container image to ECR';
'
- >
nix-shell --run '
aws ecr get-login-password \
| skopeo login \
--username AWS \
--password-stdin \
--authfile "$REGISTRY_AUTH_FILE" \
"$CI_REGISTRY_IMAGE";
'
- >
nix-shell --run '
echo 'Deploying container image to ECR';
nix-shell --run $'
echo \'Deploying container image to ECR\';
aws ecr get-login-password \
| skopeo login \
--username AWS \
Expand All @@ -340,7 +325,7 @@ integration:deployment:
"$CI_REGISTRY_IMAGE";
image=(./builds/*-docker-*);
./scripts/deploy-image.sh "${image[0]}";
echo 'Deploying ECS service';
echo \'Deploying ECS service\';
./scripts/deploy-service.sh;
'
rules:
Expand Down

0 comments on commit a742cb2

Please sign in to comment.