-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathJenkinsfile
More file actions
19 lines (17 loc) · 802 Bytes
/
Jenkinsfile
File metadata and controls
19 lines (17 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
def jobsMapping = [
tags: [jobName:"App AraGWAS", jobTags: "reload", extraVars: "app_generic_image_tag: latest"],
master: [jobName:"App AraGWAS", jobTags: "reload", extraVars: "app_generic_image_tag: master"]
]
def extraImages =
[
[imageName: "aragwas-backend", dockerFile: "Dockerfile", dockerContext: ".", extraBuildArgs: '--target aragwas-backend'],
[imageName: "aragwas-worker", test: null, dockerFile: "Dockerfile", dockerContext: ".", extraBuildArgs: '--target aragwas-worker']
]
buildDockerImage([
pushRegistryNamespace: "the1001genomes",
imageName: "aragwas-backend",
pushBranches: ['master', 'fix_mail'],
test: testScript('py.test -ra -p no:cacheprovider /srv/web --junitxml junit.xml', '**/junit.xml'),
containerImages: extraImages,
tower: jobsMapping
])