-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
56 lines (56 loc) · 3.56 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
language: generic
sudo: required
dist: trusty
services:
- docker
before_install: docker pull docker.io/alukiano/mr-builder
install:
- git reset --hard
script:
- make generate
- make kubevirtci-download
- if [[ -n "$(git status --porcelain)" ]] ; then echo "It seems like you need to run
`make generate`. Please run it and commit the changes"; git status --porcelain;
false; fi
- make bazel-tests
deploy:
- provider: script
script: docker login -u="${DOCKER_USER}" -p="${DOCKER_PASSWORD}" && CONTAINER_PREFIX=index.docker.io/kubevirt
CONTAINER_TAG=latest make bazel-push-images
skip_cleanup: true
on:
branch: master
- provider: script
script: docker login -u="${DOCKER_USER}" -p="${DOCKER_PASSWORD}" && CONTAINER_PREFIX=index.docker.io/kubevirt
CONTAINER_TAG=$TRAVIS_BRANCH make bazel-push-images
skip_cleanup: true
on:
all_branches: true
condition: $TRAVIS_BRANCH =~ ^release.*$
- provider: script
script: docker login -u="${DOCKER_USER}" -p="${DOCKER_PASSWORD}" && CONTAINER_PREFIX=index.docker.io/kubevirt
CONTAINER_TAG=$TRAVIS_TAG make bazel-push-images
skip_cleanup: true
on:
tags: true
- provider: script
script: CONTAINER_PREFIX=index.docker.io/kubevirt CONTAINER_TAG=$TRAVIS_TAG make generate
skip_cleanup: true
on:
tags: true
- provider: releases
skip_cleanup: true
api_key:
secure: mLIWMDQpFkBPCvPMbMGDLywB5tFyWAFUsbJudITSlGSioTXo1BYAHDq7chrgIVObgbxAZG+5YNtwx/6/InLRd6eikf1ZGwN2YTpYAxreTNRhC03RdSWblS0lJxPZUzM1BiSmrrhAMu5LKES1RTjPEjRy7ID82eVnazaT/jMZWzAVk3cNcxcrWx5NxkurxLEci8vL03n5ntxhhf9Jmw89Gp5RK5dsTks+fnTxGr/MtkJARBuo071sRirqV/PBb9zZP6M9plVY/Iv4cw2KhI1B1ISn4aXgCgkBRnaVmxfCMi2FyQs4FrUUJmCDyYLNmY50pnTEz+uF4ufI0We5sx+rmPh0Mr07NgyBKSJE8djjLMh6aE4XUL9oWBkRlNsGchKk7wfklUBMlS66mmZqZp3hLKBBn7fPgFMKlNWC+zhIrzGoLGFIlLj4Fp6D1WY6hIdWDAjQf48saCl6vqFgA0GQCHtGOqMsdT5yPo36Iuk7nP01CK0PeFWgcP5NMeZ1ZmmoHeauo2UaM/dRQyGN9XpNhqoikWwRqx52gn9OsoJok3JEEOvgs70fe8hF/R2hdJ9rPyGhloWDT8KML/EWJ4vBYEwZwQoEruxRJs7t36lveBtGUFuJdlY4gtzQTvYMKHWLPc4AknQ9zV4Amr31jP9nQ5TugwU8iQnxZM8s9AI7AFk=
file:
- _out/manifests/release/machine-remediation.$TRAVIS_TAG.yaml
prerelease: true
overwrite: true
name: "$TRAVIS_TAG"
on:
repo: kubevirt/machine-remediation
tags: true
env:
global:
- secure: fzd4YkojXC9TrUQlYWb/bAgHYByIB5IEJaCwA9qTfGwBky8lcLUNv2pwnRSs6i9LPVe9XIxIZrlG+6kKUlnG7J+quNqSQsMQcq9Qx6uS+cRUMq1RreF3xfWHk2AJjheiQeD3+vKxgohlfcQHbvgDFeoIguISWMNEygV9ZUvX5S+cltcmrTxEyd1XTBazBjrwooam2aNmUgS2CoVt4+ByXFSR5vHZ77CMX8Q6ECp/Ke+l2vOBe04JpBwl78Y349ZRvbIhwTlPOvQcg0spZQCg3cmN6B1U5ptQw/fWPLX0r70oxyLm4fP6siNeEDZLB1Nw+7K22nQK8Ck9kz3nvfymz60ha1hEFeXRqYFM3ZH8GiV34VUtVCY+CaTSlvKO7KJ5zUAhC9i5c/skZH0hYIPeGyk6CWb9dOrf3N+ej0ZcOw4699OzNp07UEZeyUU26+NySiLQGxg5bpbxA5sycfKwIfneQHvxaNztNayxtacmTlGsgICooqniS83EVd6ZJ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