Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (27 sloc) 976 Bytes
version: 0.2
env:
variables:
CDN_NAME: web-community-cdn
ACCOUNT_STACK_NAME: web-community-cdn-account
CONFIG_REPO: byuweb/web-cdn
EXTRA_TAGS: "data-sensitivity=public team=BYU_Web_Community_Engineering_Group if-questions-contact=Joseph_Moore+James_Speirs+Sherwin_Harris"
phases:
install:
commands:
- find . -type f -name '*.sh' ! -path '**/node_modules/**' -exec chmod u+x {} \;
- .codebuild/setup.sh
- pip install awscli --upgrade --user
- mkdir -p /root/.cache/yarn && yarn config set cache-folder /root/.cache/yarn
pre_build:
commands:
- lerna bootstrap
build:
commands:
- lerna exec -- ./codebuild.sh
- echo $EXTRA_TAGS
- find ./* -mtime +10950 -exec touch {} \;
- .aws-infrastructure/deploy-environment.sh $CDN_NAME $ENV $ROOT_DNS $ACCOUNT_STACK_NAME $CERTIFICATE_ARN $CONFIG_REPO $CONFIG_BRANCH "$EXTRA_TAGS"
cache:
paths:
- /var/cache/apt/**/*
- /root/.cache/**/*
You can’t perform that action at this time.