Merge branch 'pipelining' into 'master'

Improve pipeline builds

See merge request autonomic-cooperative/autonomic-cooperative.gitlab.io!16
This commit is contained in:
Luke M 2017-10-04 13:46:57 +00:00
commit 0b0376e8ce
2 changed files with 34 additions and 9 deletions

View File

@ -1,14 +1,35 @@
image: ruby:2.4.2
pages:
stage: build
variables:
GEMSPEC: "autonomic.gemspec"
stages:
- quality
- gem-build
- site-build
- deploy
quality-assurance:
stage: quality
script:
- gem install jekyll
- jekyll build -d public
- gem build autonomic.gemspec
- echo "TODO!"
gem-builder:
stage: gem-build
script:
- gem build $GEMSPEC
site-builder:
stage: site-build
before_script:
- gem install jekyll
script:
- jekyll build
artifacts:
paths:
- public
- "autonomic-*.gem"
only:
- master
- dist
production-deploy:
stage: deploy
script:
- echo "TODO!"

View File

@ -20,3 +20,7 @@ collections:
permalink: /blog/:title/
clients:
output: false
exclude:
- vendor
- Gemfile
- Gemfile.lock