Skip to content

Commit

Permalink
Update .gitlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fsh905 committed Jun 12, 2020
1 parent 02d2948 commit f192ae9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,13 @@ release:prd:
script:
# read CHART_VERSION/DOCKER_TAG env variable from helm build
- source variables
# promote production env, replace LIVESTREAM_CHART_NAME to JOBS_CHART_NAME if deploy cronjob
- release.sh $REPO_NAME $CHART_NAME $ECR_NAME $CHART_VERSION $DOCKER_TAG $REPOSITORY $ENVIRONMENT $LIVESTREAM_CHART_NAME

- source variables
- pull.sh
# update staging env, replace LINOAPP_CHART_NAME to JOBS_CHART_NAME if deploy cronjob
# - release.sh $REPO_NAME $CHART_NAME $ECR_NAME $CHART_VERSION $DOCKER_TAG $REPOSITORY $LINOAPP_CHART_NAME
- patch_value.sh $CHART_NAME $DOCKER_TAG $ENVIRONMENT $LIVESTREAM_CHART_NAME
- ([[ ! -z "$CHART_VERSION" ]]) && patch_chart.sh $CHART_NAME $CHART_VERSION $ENVIRONMENT $LIVESTREAM_CHART_NAME
- push.sh $CHART_NAME $ECR_NAME $DOCKER_TAG $REPOSITORY
dependencies:
- helm

0 comments on commit f192ae9

Please sign in to comment.