-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
100 lines (79 loc) · 3.25 KB
/
.travis.yml
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# docker-onload .travis.yml
#
# Builds docker-onload images on Travis CI
#
# https://travis-ci.com/neomantra/docker-onload
#
# Master will build with Docker tag:
# neomantra/onload:<flavor>
# neomantra/onloadzf:<flavor>
#
# Releases should be tagged in git as:
# neomantra/onload:<onload-version>-<flavor>
# neomantra/onloadzf:<onload-version>-<flavor>
#
# Travis Environment Variables:
# DOCKER_ORG
# DOCKER_USERNAME
# DOCKER_PASSWORD
#
os: linux
dist: focal
language: ruby
sudo: required
services:
- docker
env:
- DOCKER_PASSFILE=/tmp/docker.pass
before_script:
- echo $DOCKER_PASSWORD > /tmp/docker.pass
jobs:
include:
- stage: build docker image for flavor centos7 (onload)
script:
- ./docker_build_and_push_flavor.sh centos7 centos7/Dockerfile
- stage: build docker image for flavor centos7 (onloadzf)
script:
- IMAGE_NAME="onloadzf" ./docker_build_and_push_flavor.sh centos7 centos7/Dockerfile --build-arg ONLOAD_WITHZF=1
- stage: build docker image for flavor centos8 (onload)
script:
- ./docker_build_and_push_flavor.sh centos8 centos8/Dockerfile
- stage: build docker image for flavor centos8 (onloadzf)
script:
- IMAGE_NAME="onloadzf" ./docker_build_and_push_flavor.sh centos8 centos8/Dockerfile --build-arg ONLOAD_WITHZF=1
- stage: build docker image for flavor buster (onload)
script:
- ./docker_build_and_push_flavor.sh buster buster/Dockerfile
- stage: build docker image for flavor buster (onloadzf)
script:
- IMAGE_NAME="onloadzf" ./docker_build_and_push_flavor.sh buster buster/Dockerfile --build-arg ONLOAD_WITHZF=1
- stage: build docker image for flavor bookworm (onload)
script:
- ./docker_build_and_push_flavor.sh bookworm bookworm/Dockerfile
- stage: build docker image for flavor bookworm (onloadzf)
script:
- IMAGE_NAME="onloadzf" ./docker_build_and_push_flavor.sh bookworm bookworm/Dockerfile --build-arg ONLOAD_WITHZF=1
- stage: build docker image for flavor bionic (onload)
script:
- ./docker_build_and_push_flavor.sh bionic bionic/Dockerfile
- stage: build docker image for flavor bionic (onloadzf)
script:
- IMAGE_NAME="onloadzf" ./docker_build_and_push_flavor.sh bionic bionic/Dockerfile --build-arg ONLOAD_WITHZF=1
- stage: build docker image for flavor focal (onload)
script:
- ./docker_build_and_push_flavor.sh focal focal/Dockerfile
- stage: build docker image for flavor focal (onloadzf)
script:
- IMAGE_NAME="onloadzf" ./docker_build_and_push_flavor.sh focal focal/Dockerfile --build-arg ONLOAD_WITHZF=1
- stage: build docker image for flavor jammy (onload)
script:
- ./docker_build_and_push_flavor.sh jammy jammy/Dockerfile
- stage: build docker image for flavor jammy (onloadzf)
script:
- IMAGE_NAME="onloadzf" ./docker_build_and_push_flavor.sh jammy jammy/Dockerfile --build-arg ONLOAD_WITHZF=1
- stage: build docker image for flavor noble (onload)
script:
- ./docker_build_and_push_flavor.sh noble noble/Dockerfile
- stage: build docker image for flavor noble (onloadzf)
script:
- IMAGE_NAME="onloadzf" ./docker_build_and_push_flavor.sh noble noble/Dockerfile --build-arg ONLOAD_WITHZF=1