Add proper stages for Gitlab CI.
This commit is contained in:
parent
ac3fa36688
commit
c975202355
@ -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:
|
||||
- echo "TODO!"
|
||||
|
||||
gem-builder:
|
||||
stage: gem-build
|
||||
script:
|
||||
- gem build $GEMSPEC
|
||||
|
||||
site-builder:
|
||||
stage: site-build
|
||||
before_script:
|
||||
- gem install jekyll
|
||||
- jekyll build -d public
|
||||
- gem build autonomic.gemspec
|
||||
script:
|
||||
- jekyll build
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
- "autonomic-*.gem"
|
||||
only:
|
||||
- master
|
||||
- dist
|
||||
|
||||
production-deploy:
|
||||
stage: deploy
|
||||
script:
|
||||
- echo "TODO!"
|
||||
|
Reference in New Issue
Block a user