Skip to content

Instantly share code, notes, and snippets.

@vfarcic
Last active January 18, 2022 00:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save vfarcic/a0a3202e1426c44f8dea305618806f97 to your computer and use it in GitHub Desktop.
Save vfarcic/a0a3202e1426c44f8dea305618806f97 to your computer and use it in GitHub Desktop.
buildPack: go
pipelineConfig:
pipelines:
pullRequest:
build:
preSteps:
- command: make unittest
promote:
steps:
- name: rollout
command: |
NS=$(echo cd-$REPO_OWNER-go-demo-6-$BRANCH_NAME | tr '[:upper:]' '[:lower:]')
kubectl -n $NS rollout status deployment preview-preview
- name: functional-tests
command: ADDRESS=`jx get preview --current 2>&1` make functest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment