[Git][noosfero/noosfero][master] gitlab-ci: definie system tags to select proper runners
Rodrigo Souto
gitlab at mg.gitlab.com
Thu Dec 21 17:02:52 BRST 2017
Rodrigo Souto pushed to branch master at Noosfero / noosfero
Commits:
7ee02a7f by Rodrigo Souto at 2017-12-21T16:01:24-03:00
gitlab-ci: definie system tags to select proper runners
- - - - -
1 changed file:
- .gitlab-ci.yml
Changes:
=====================================
.gitlab-ci.yml
=====================================
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,62 +18,79 @@ stages:
.retriable-template: &retriable
retry: 2
+.tags-template: &tags
+ tags:
+ - jessie
+
specs-models:
<<: *retriable
+ <<: *tags
script: bundle exec rake spec SPEC=spec/models
stage: all-tests
api:
<<: *retriable
+ <<: *tags
script: bundle exec rake test:api
stage: all-tests
units:
<<: *retriable
+ <<: *tags
script: bundle exec rake test:units
stage: all-tests
functionals:
<<: *retriable
+ <<: *tags
script: bundle exec rake test:functionals
stage: all-tests
integration:
<<: *retriable
+ <<: *tags
script: bundle exec rake test:integration
stage: all-tests
cucumber-1:
<<: *retriable
+ <<: *tags
script: SLICE=1/2 bundle exec rake cucumber
stage: all-tests
cucumber-2:
<<: *retriable
+ <<: *tags
script: SLICE=2/2 bundle exec rake cucumber
stage: all-tests
selenium-1:
<<: *retriable
+ <<: *tags
script: SLICE=1/6 bundle exec rake selenium
stage: all-tests
selenium-2:
<<: *retriable
+ <<: *tags
script: SLICE=2/6 bundle exec rake selenium
stage: all-tests
selenium-3:
<<: *retriable
+ <<: *tags
script: SLICE=3/6 bundle exec rake selenium
stage: all-tests
selenium-4:
<<: *retriable
+ <<: *tags
script: SLICE=4/6 bundle exec rake selenium
stage: all-tests
selenium-5:
<<: *retriable
+ <<: *tags
script: SLICE=5/6 bundle exec rake selenium
stage: all-tests
selenium-6:
<<: *retriable
+ <<: *tags
script: SLICE=6/6 bundle exec rake selenium
stage: all-tests
@@ -81,21 +98,26 @@ selenium-6:
# probably because of rubygems-integration
plugins-1:
<<: *retriable
+ <<: *tags
script: SLICE=1/5 bundle exec rake test:noosfero_plugins NOOSFERO_BUNDLE_OPTS=install
stage: all-tests
plugins-2:
<<: *retriable
+ <<: *tags
script: SLICE=2/5 bundle exec rake test:noosfero_plugins NOOSFERO_BUNDLE_OPTS=install
stage: all-tests
plugins-3:
<<: *retriable
+ <<: *tags
script: SLICE=3/5 bundle exec rake test:noosfero_plugins NOOSFERO_BUNDLE_OPTS=install
stage: all-tests
plugins-4:
<<: *retriable
+ <<: *tags
script: SLICE=4/5 bundle exec rake test:noosfero_plugins NOOSFERO_BUNDLE_OPTS=install
stage: all-tests
plugins-5:
<<: *retriable
+ <<: *tags
script: SLICE=5/5 bundle exec rake test:noosfero_plugins NOOSFERO_BUNDLE_OPTS=install
stage: all-tests
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/7ee02a7f5e8f757199d71f3db9306641d2ed3297
---
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/7ee02a7f5e8f757199d71f3db9306641d2ed3297
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20171221/88c521f8/attachment-0001.html>
More information about the Noosfero-dev
mailing list