Skip to content

Instantly share code, notes, and snippets.

@RoyLDD
Last active November 5, 2019 12:45
Show Gist options
  • Save RoyLDD/6cf16e2cfa8d88f8a1de298c9a906087 to your computer and use it in GitHub Desktop.
Save RoyLDD/6cf16e2cfa8d88f8a1de298c9a906087 to your computer and use it in GitHub Desktop.
GitLab-pipeline-deploy-example
# Deployment step
deploy:
stage: deploy
image: alpine/helm:latest
script:
- helm init --client-only
- helm --namespace $NAMESPACE upgrade -i $REPO_NAME --set image.tag=$TAG,env=$ENV,image.repository=$REPO_REGISTRY_URL $PATH_TO_VALUES
tags:
- k8s
- dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment