2019-09-16 19:36:27 +00:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2019-09-24 19:54:13 +00:00
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
# - test
|
|
|
|
- deploy
|
|
|
|
|
2019-09-16 19:36:27 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
2020-01-26 14:55:52 +00:00
|
|
|
- name: build-linux-amd64
|
2019-09-24 12:57:52 +00:00
|
|
|
stage: build
|
2020-01-26 14:55:52 +00:00
|
|
|
script: make container-run/bin/linux/amd64/dhdu
|
|
|
|
|
|
|
|
- name: build-linux-arm5
|
|
|
|
stage: build
|
|
|
|
script: make container-run/bin/linux/arm/5/dhdu
|
|
|
|
|
|
|
|
- name: build-linux-arm7
|
|
|
|
stage: build
|
|
|
|
script: make container-run/bin/linux/arm/7/dhdu
|
|
|
|
|
|
|
|
# - name: test-linux-amd64
|
2019-09-24 19:54:13 +00:00
|
|
|
# stage: test
|
2020-01-26 14:55:52 +00:00
|
|
|
# script: make container-run/test/unit
|
2020-01-26 14:29:11 +00:00
|
|
|
# after_script: bash <(curl -s https://codecov.io/bash)
|
2020-01-26 14:55:52 +00:00
|
|
|
|
|
|
|
- name: deploy-container-amd64
|
2020-01-26 14:29:11 +00:00
|
|
|
stage: deploy
|
2020-01-26 14:55:52 +00:00
|
|
|
script: make container-image/push/amd64
|
2019-09-16 19:36:27 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: change
|