-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
60 lines (59 loc) · 2.35 KB
/
Taskfile.yml
File metadata and controls
60 lines (59 loc) · 2.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: '2'
tasks:
mesos:
dir: mesos
cmds:
- echo "Building Mesos ..."
- docker build --compress --build-arg VERSION={{.VERSION}} -t andersnormal/mesos .
- docker tag andersnormal/mesos andersnormal/mesos:{{.VERSION}}
- docker push andersnormal/mesos:{{.VERSION}}
vars:
VERSION:
sh: git describe --exact-match --tags $(git log -n1 --pretty='%h')
master:
dir: master
cmds:
- echo "Building Mesos Master ..."
- docker build --compress --build-arg MESOS_IMAGE=andersnormal/mesos:{{.VERSION}} --build-arg VERSION={{.VERSION}} -t andersnormal/mesos-master .
- docker tag andersnormal/mesos-master andersnormal/mesos-master:{{.VERSION}}
- docker push andersnormal/mesos-master:{{.VERSION}}
vars:
VERSION:
sh: git describe --exact-match --tags $(git log -n1 --pretty='%h')
agent:
dir: agent
cmds:
- echo "Building Mesos Agent ..."
- docker build --compress --build-arg MESOS_IMAGE=andersnormal/mesos:{{.VERSION}} --build-arg VERSION={{.VERSION}} -t andersnormal/mesos-agent .
- docker tag andersnormal/mesos-agent andersnormal/mesos-agent:{{.VERSION}}
- docker push andersnormal/mesos-agent:{{.VERSION}}
vars:
VERSION:
sh: git describe --exact-match --tags $(git log -n1 --pretty='%h')
exhibitor:
dir: exhibitor
cmds:
- echo "Building Exhibitor ..."
- docker build --compress --build-arg EXHIBITOR_VERSION={{.EXHIBITOR_VERSION}} --build-arg ZOOKEEPER_VERSION={{.ZOOKEEPER_VERSION}} -t andersnormal/exhibitor .
- docker tag andersnormal/exhibitor andersnormal/exhibitor:{{.EXHIBITOR_VERSION}}
- docker push andersnormal/exhibitor:{{.EXHIBITOR_VERSION}}
vars:
EXHIBITOR_VERSION: "1.7.1"
ZOOKEEPER_VERSION: "3.4.13"
marathon:
dir: marathon
cmds:
- echo "Building Marathon ..."
- docker build --compress --build-arg VERSION={{.MARATHON_VERSION}} --build-arg MESOS_IMAGE=andersnormal/mesos:{{.MESOS_VERSION}} -t andersnormal/marathon .
- docker tag andersnormal/marathon andersnormal/marathon:{{.MARATHON_VERSION}}
- docker push andersnormal/marathon:{{.MARATHON_VERSION}}
vars:
MARATHON_VERSION: "1.6.535"
MESOS_VERSION: "1.6.1"
build:
cmds:
- task: mesos
- task: master
- task: agent
- task: exhibitor
- task: marathon