Setup gitlab-ci

* build.sh: Common build script.
* .gitlab-ci.yml: Rules for GitLab CI.
4 jobs for master in 8 minutes and 51 seconds (queued for 81 minutes and 8 seconds)
Status Job ID Name Coverage
  Build
failed #155
build-stable

00:08:51

failed #140
build-unstable

failed #139
build-stable

 
  Publish
skipped #141
publish
 
Name Stage Failure
failed
build-stable Build There is an unknown failure, please try again
2e07106e02a5: Pull complete
8492c6ae888f: Pull complete
e1111af087b9: Pull complete
06c1e9a0d803: Pull complete
Digest: sha256:38aa51863e9e91d9f052131c96ebfdae0208c2f9a37cea0603ca5cac4bc12a19
Status: Downloaded newer image for gadl/spot-debuild:stable
$ docker run --rm=true -v $PWD:/remote gadl/spot-debuild:stable /remote/build.sh stable
docker: Error response from daemon: OCI runtime create failed: container_linux.go:296: starting container process caused "exec: \"/remote/build.sh\": stat /remote/build.sh: no such file or directory": unknown.
ERROR: Job failed: exit code 127
failed
build-unstable Build There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job log