Created
May 25, 2016 16:40
-
-
Save ralph-tice/bcba170c0ae1ca256477981bf3b5eff1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
env.GIT_PROJECT = "thisgroup/thisproject" | |
env.INCLUDE_MERGES = true | |
// TODO: have team decide where and how much they want to receive slack notifications | |
//env.SLACK_ROOM = "alerts" | |
stage 'Init' | |
lib = node('swarm') { | |
git url: 'git@ourgithost:infra/CI.git', branch: 'develop' | |
load 'pipelines/gitlab_v1.groovy' | |
} | |
def images = [ | |
paidsubscriptionservice: [ | |
DOCKER_IMAGE_NAME: "myorg/myimage", | |
DOCKER_CONTEXT_PATH: ".", | |
DOCKER_FILE: "./Dockerfile", | |
], | |
] | |
def tests = [ | |
unittest: [ | |
TEST_YAML: "ci/docker-compose.yml", | |
TEST_TARGET: "ci-unittest", | |
HAS_JUNIT_REPORT: true, | |
JUNIT_REPORT_REGEX: "out/*.xml" | |
], | |
] | |
// the images to build, tests to run, branches to run tests on, branches to run releases on, then some other feature flag | |
lib.pipeline(images, tests, ['develop', 'feature/'], ['master', 'release/', 'other-customer-master'], false) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment