-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
47 lines (47 loc) · 1.32 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
branches:
only:
- master
env:
global:
- DOCKER_CLIENT_TIMEOUT="120"
- COMPOSE_HTTP_TIMEOUT="120"
- UID="2000"
services:
- docker
push: &push
before_install:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
- docker version
after_success:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker images
- |
for i in `docker images --format {{.Repository}}:{{.Tag}}`; do
if [[ $TRAVIS_EVENT_TYPE == "push" ]]; then
docker push $i;
fi
done
alpine: &alpine
stage: Build
os: linux
language: shell
script:
- docker-compose -f dist/alpine/docker-compose.yml build
- docker rmi python:3.8-alpine3.12
- docker system prune -f
<<: *push
jobs:
include:
- <<: *alpine
env:
- LABEL: Alpine
- KOPS_VERSION: 1.14.0-beta.2
- HELM_VERSION: v2.14.1
- <<: *alpine
env:
- LABEL: Alpine
- KOPS_VERSION: v1.18.0
- HELM_VERSION: v3.3.0