Commit 29159a49 authored by zauberstuhl's avatar zauberstuhl

Merge branch 'auto_docker_images' into 'master'

Add automated building for docker images

See merge request !79
parents efcf405f 658f9666
Pipeline #961 failed with stages
in 17 minutes and 44 seconds
# you will find the build script
# for the image in ci/docker/Dockerfile
image: zauberstuhl/ganggo-ci:1.9-stretch
# you will find the build script for the image
# in git.feneas.org:ganggo/docker.git
image: ganggo/ganggo-ci:1.9-stretch
services:
- postgres:latest
- mysql:latest
......@@ -14,6 +14,7 @@ stages:
- test
- build
- deploy
- review
before_script:
- export VERSION=$(git tag -l --sort=-v:refname |head -n1)
- export PROJECT_PATH=$GOPATH/src/git.feneas.org/ganggo
......@@ -130,3 +131,15 @@ deploy artifacts to bintray:
- linux:arm:7
only:
- /^v[\d\.]+-\w.*$/
trigger other pipelines:
before_script:
- export VERSION=$(git tag -l --sort=-v:refname |head -n1)
stage: review
script:
# ID 99 https://git.feneas.org/ganggo/docker
- curl -X POST -F "token=$CI_JOB_TOKEN" -F "ref=master" -F "variables[GVERSION]=$VERSION" https://git.feneas.org/api/v4/projects/99/trigger/pipeline
# XXX trigger updating documentation
dependencies:
- deploy artifacts to bintray
only:
- /^v[\d\.]+-\w.*$/
FROM golang:1.9-stretch
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
RUN apt-get install -y nodejs
# armhf c cross compiler
RUN apt-get install -y gcc-arm-linux-gnueabihf
# windows 64 and 32 c/c++ cross compiler
RUN apt-get install -y gcc-mingw-w64-x86-64 gcc-mingw-w64-i686
RUN apt-get install -y g++-mingw-w64-x86-64 g++-mingw-w64-i686
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment