2019-02-07 09:58:09 +00:00
|
|
|
---
|
2018-02-15 21:06:12 +00:00
|
|
|
# need for docker build
|
2020-06-30 11:05:19 +00:00
|
|
|
os: linux
|
2020-05-29 07:49:08 +00:00
|
|
|
dist: bionic
|
2018-02-15 21:06:12 +00:00
|
|
|
|
2019-02-07 10:22:59 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-05-29 07:49:08 +00:00
|
|
|
- coreutils
|
2019-02-07 10:22:59 +00:00
|
|
|
- ruby
|
2020-04-01 07:20:43 +00:00
|
|
|
- socat
|
2019-05-22 05:50:53 +00:00
|
|
|
services:
|
|
|
|
- docker
|
2019-02-07 10:22:59 +00:00
|
|
|
|
2018-01-10 18:13:36 +00:00
|
|
|
language: go
|
|
|
|
branches:
|
|
|
|
only:
|
2020-12-09 05:56:44 +00:00
|
|
|
- release-v3.2
|
2020-04-28 09:50:03 +00:00
|
|
|
# Only run the deploy stage on push (not pull_request) events.
|
|
|
|
stages:
|
|
|
|
- name: deploy
|
|
|
|
if: type = push
|
|
|
|
|
2019-02-07 09:58:09 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
2020-12-04 05:32:12 +00:00
|
|
|
- stage: deploy
|
|
|
|
name: push artifacts to repositories
|
2019-02-07 09:58:09 +00:00
|
|
|
install:
|
2020-06-22 12:48:32 +00:00
|
|
|
- export HELM_VERSION=$(source build.env ; echo ${HELM_VERSION})
|
2020-04-13 07:03:08 +00:00
|
|
|
- curl -L https://git.io/get_helm.sh
|
2020-04-13 07:07:42 +00:00
|
|
|
| bash -s -- -v "${HELM_VERSION}"
|
2020-04-28 09:50:03 +00:00
|
|
|
script: ./deploy.sh
|