Skip to content

Commit

Permalink
feat: update image to use public ecr (#15808)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
devindford authored Nov 21, 2022
1 parent 4a4d1b3 commit 1889b94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ before_script:
- export DATADOG_API_KEY=$(get_secret 'dd-api-key')
- export DATADOG_APP_KEY=$(get_secret 'dd-app-key')
- export BRANCH=${CI_COMMIT_REF_NAME}
- git config --global url."https://${GITHUB_TOKEN}@github.com/DataDog".insteadOf https://github.com/DataDog


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

# ================== templates ================== #
.base_template: &base_template
image: 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/corp-ci:master
image: public.ecr.aws/x2b9z2t7/webops/site-build:latest
tags:
- "runner:main"
except:
Expand Down
4 changes: 2 additions & 2 deletions docker-compose-docs.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: '3'
services:
docs:
image: public.ecr.aws/x2b9z2t7/webops/site-build:main
image: public.ecr.aws/x2b9z2t7/webops/site-build:latest
command: "./startup.sh ${GITHUB_TOKEN} ${FULL_BUILD}"
volumes:
- "${REPO_PATH}:/src:delegated"
ports:
- "1313:1313"
- "1313:1313"

0 comments on commit 1889b94

Please sign in to comment.