Permalink
Browse files

Bring gitlab CI to master branch

  • Loading branch information...
1 parent b5f7ffd commit c6287b228cd3a4a39a31b0935150f3188d886b32 @timwhite timwhite committed Jan 14, 2017
Showing with 45 additions and 0 deletions.
  1. +37 −0 .gitlab-ci.yml
  2. +8 −0 build.sh
View
@@ -0,0 +1,37 @@
+
+jessie-all:
+ image: grase/build-images:jessie
+ script:
+ - ./build.sh
+ - mkdir artifacts
+ - mv -v ../grase-www-portal_* artifacts/
+ artifacts:
+ paths:
+ - artifacts/
+ expire_in: 1 week
+
+trusty-all:
+ image: grase/build-images:trusty
+ script:
+ - ./build.sh
+ - mkdir artifacts
+ - mv -v ../grase-www-portal_* artifacts/
+ artifacts:
+ paths:
+ - artifacts/
+ expire_in: 1 week
+
+xenial-all:
+ image: grase/build-images:xenial
+ script:
+ - ./build.sh
+ - mkdir artifacts
+ - mv -v ../grase-www-portal_* artifacts/
+ artifacts:
+ paths:
+ - artifacts/
+ expire_in: 1 week
+
+
+
+
View
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+# Script for building grase-www-portal in CI
+
+version=$(git describe |tr '-' '.')
+echo Building $version
+dch -b -v $version "CI Build"
+dpkg-buildpackage -us -uc "$@"

0 comments on commit c6287b2

Please sign in to comment.