forked from tomeon/ansible-connection-machinectl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dobi.yaml
84 lines (76 loc) · 1.7 KB
/
dobi.yaml
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
meta:
project: ansible-connection-machinectl
default: all
env=fedora-release:
variables:
- FEDORA_RELEASE=29
- HUB_USERNAME=tomeon
image=base:
image: '{env.HUB_USERNAME}/fedora-mkosi'
context: 'docker'
dockerfile: 'Dockerfile.base'
pull-base-image-on-build: true
args: &BASE_ARGS
FEDORA_RELEASE: '{env.FEDORA_RELEASE:29}'
depends:
- 'fedora-release'
tags:
- '{env.FEDORA_RELEASE}'
image=master:
image: '{env.HUB_USERNAME}/fedora-mkosi'
context: 'docker'
dockerfile: 'Dockerfile.master'
tags:
- '{env.FEDORA_RELEASE}-master'
depends:
- 'base'
- 'fedora-release'
args:
<<: *BASE_ARGS
image=tox:
image: '{env.HUB_USERNAME}/fedora-mkosi'
context: 'docker'
dockerfile: 'Dockerfile.tox'
tags:
- '{env.FEDORA_RELEASE}-tox'
depends:
- 'master'
- 'fedora-release'
args:
<<: *BASE_ARGS
image=travis:
image: '{env.HUB_USERNAME}/fedora-mkosi'
context: 'docker'
dockerfile: 'Dockerfile.travis'
tags:
- '{env.FEDORA_RELEASE}-travis'
depends:
- 'tox'
- 'fedora-release'
args:
<<: *BASE_ARGS
image=vagrant:
image: '{env.HUB_USERNAME}/fedora-mkosi'
context: 'docker'
dockerfile: 'Dockerfile.vagrant'
tags:
- '{env.FEDORA_RELEASE}-vagrant'
depends:
- 'tox'
- 'fedora-release'
args:
<<: *BASE_ARGS
alias=push:
tasks:
- 'base:push'
- 'master:push'
- 'tox:push'
- 'travis:push'
- 'vagrant:push'
alias=all:
tasks:
- 'base'
- 'master'
- 'tox'
- 'travis'
- 'vagrant'