35 lines
680 B
YAML
35 lines
680 B
YAML
services:
|
|
- docker
|
|
|
|
stages:
|
|
- build
|
|
# - test
|
|
- deploy
|
|
|
|
jobs:
|
|
include:
|
|
- name: build-linux-amd64
|
|
stage: build
|
|
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
|
|
# stage: test
|
|
# script: make container-run/test/unit
|
|
# after_script: bash <(curl -s https://codecov.io/bash)
|
|
|
|
- name: deploy-container-amd64
|
|
stage: deploy
|
|
script: make container-image/push/amd64
|
|
|
|
notifications:
|
|
email:
|
|
on_success: change
|
|
on_failure: change |