Skip to content

Commit 1889b94

Browse files
authoredNov 21, 2022
feat: update image to use public ecr (#15808)
* feat: update image to use public ecr * feat: test new image * feat: add vars, update git config * fix: update ssm name * fix: syntax for param * fix: git command update * feat: use test image * feat: upadte vars to have documentiation prefix * fix: update dd functions to use documentation prefix * feat: add arguments for bash scripts * fix: update notify slack with arg * feat: update the get_secret params with documentation argument * fix: remove variable additions that are no longer needed * feat: udpate image * feat: remove more get_secret changes, update image to use latest * feaT: update docker image for local setup * fix: formatting changes * fix: remove new line at end of file * fix: remove new line again :) * feat: move git config to before_script
1 parent 4a4d1b3 commit 1889b94

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed
 

‎.gitlab-ci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ before_script:
3333
- export DATADOG_API_KEY=$(get_secret 'dd-api-key')
3434
- export DATADOG_APP_KEY=$(get_secret 'dd-app-key')
3535
- export BRANCH=${CI_COMMIT_REF_NAME}
36+
- git config --global url."https://${GITHUB_TOKEN}@github.com/DataDog".insteadOf https://github.com/DataDog
37+
3638

3739
# set policy for the common case
3840
# yarn cache is used in a lot but only built during build job so lets default to pull and explicit push in build job
@@ -58,7 +60,7 @@ before_script:
5860

5961
# ================== templates ================== #
6062
.base_template: &base_template
61-
image: 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/corp-ci:master
63+
image: public.ecr.aws/x2b9z2t7/webops/site-build:latest
6264
tags:
6365
- "runner:main"
6466
except:

‎docker-compose-docs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
version: '3'
22
services:
33
docs:
4-
image: public.ecr.aws/x2b9z2t7/webops/site-build:main
4+
image: public.ecr.aws/x2b9z2t7/webops/site-build:latest
55
command: "./startup.sh ${GITHUB_TOKEN} ${FULL_BUILD}"
66
volumes:
77
- "${REPO_PATH}:/src:delegated"
88
ports:
9-
- "1313:1313"
9+
- "1313:1313"

0 commit comments

Comments
 (0)
Please sign in to comment.