2019-08-26 06:26:37 +00:00
|
|
|
language: go
|
|
|
|
|
2019-04-18 15:10:03 +00:00
|
|
|
services:
|
2019-08-25 14:59:12 +00:00
|
|
|
- docker
|
2019-04-18 15:10:03 +00:00
|
|
|
|
2019-08-25 15:05:52 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
2020-01-20 20:55:41 +00:00
|
|
|
|
|
|
|
- name: build-linux-amd64
|
|
|
|
stage: build
|
|
|
|
script: make container-run/bin/linux/amd64/flucky
|
|
|
|
|
2020-06-01 13:40:40 +00:00
|
|
|
# - name: build-linux-arm5
|
|
|
|
# stage: build
|
|
|
|
# script: make container-run/bin/linux/arm/5/flucky
|
2020-01-20 20:55:41 +00:00
|
|
|
|
2020-06-01 13:40:40 +00:00
|
|
|
# - name: build-linux-arm7
|
|
|
|
# stage: build
|
|
|
|
# script: make container-run/bin/linux/arm/7/flucky
|
2020-01-20 20:55:41 +00:00
|
|
|
|
|
|
|
- name: test-linux-amd64
|
|
|
|
stage: test
|
2020-01-19 14:15:00 +00:00
|
|
|
script: make container-run/test/unit
|
|
|
|
after_script: bash <(curl -s https://codecov.io/bash)
|
2020-01-20 20:55:41 +00:00
|
|
|
|
|
|
|
- name: deploy-container-amd64
|
|
|
|
stage: deploy
|
|
|
|
script: make container-image/push/amd64
|
2020-06-01 13:40:40 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2019-08-26 06:26:37 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: change
|