[Git][noosfero/noosfero][master] 2 commits: Retries failed tests during the build

Rodrigo Souto gitlab at mg.gitlab.com
Thu Aug 31 22:13:09 BRT 2017


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
77a382af by Gabriel Silva at 2017-08-17T09:25:35+00:00
Retries failed tests during the build

Signed-off-by: Gabriel Silva <gabriel93.silva at gmail.com>

- - - - -
a0611c11 by Rodrigo Souto at 2017-09-01T01:13:03+00:00
Merge branch 'retry_build' into 'master'

Retries failed tests during the build

See merge request !1304
- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,66 +15,87 @@ stages:
 #  script: bundle exec rake ci:smoke
 #  stage: smoke-tests
 
+.retriable-template: &retriable
+  retry: 2
+
 specs-models:
+  <<: *retriable
   script: bundle exec rake spec SPEC=spec/models
   stage: all-tests
 
 api:
+  <<: *retriable
   script: bundle exec rake test:api
   stage: all-tests
 
 units:
+  <<: *retriable
   script: bundle exec rake test:units
   stage: all-tests
 
 functionals:
+  <<: *retriable
   script: bundle exec rake test:functionals
   stage: all-tests
 
 integration:
+  <<: *retriable
   script: bundle exec rake test:integration
   stage: all-tests
 
 cucumber-1:
+  <<: *retriable
   script: SLICE=1/2 bundle exec rake cucumber
   stage: all-tests
 cucumber-2:
+  <<: *retriable
   script: SLICE=2/2 bundle exec rake cucumber
   stage: all-tests
 
 selenium-1:
+  <<: *retriable
   script: SLICE=1/6 bundle exec rake selenium
   stage: all-tests
 selenium-2:
+  <<: *retriable
   script: SLICE=2/6 bundle exec rake selenium
   stage: all-tests
 selenium-3:
+  <<: *retriable
   script: SLICE=3/6 bundle exec rake selenium
   stage: all-tests
 selenium-4:
+  <<: *retriable
   script: SLICE=4/6 bundle exec rake selenium
   stage: all-tests
 selenium-5:
+  <<: *retriable
   script: SLICE=5/6 bundle exec rake selenium
   stage: all-tests
 selenium-6:
+  <<: *retriable
   script: SLICE=6/6 bundle exec rake selenium
   stage: all-tests
 
 # NOOSFERO_BUNDLE_OPTS=install makes migrations fails
 # probably because of rubygems-integration
 plugins-1:
+  <<: *retriable
   script: SLICE=1/5 bundle exec rake test:noosfero_plugins NOOSFERO_BUNDLE_OPTS=install
   stage: all-tests
 plugins-2:
+  <<: *retriable
   script: SLICE=2/5 bundle exec rake test:noosfero_plugins NOOSFERO_BUNDLE_OPTS=install
   stage: all-tests
 plugins-3:
+  <<: *retriable
   script: SLICE=3/5 bundle exec rake test:noosfero_plugins NOOSFERO_BUNDLE_OPTS=install
   stage: all-tests
 plugins-4:
+  <<: *retriable
   script: SLICE=4/5 bundle exec rake test:noosfero_plugins NOOSFERO_BUNDLE_OPTS=install
   stage: all-tests
 plugins-5:
+  <<: *retriable
   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/compare/4888babb918939793c244144db61b94647396044...a0611c119741dcb4cfd6dd276ea54806aac702e1

---
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/4888babb918939793c244144db61b94647396044...a0611c119741dcb4cfd6dd276ea54806aac702e1
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/20170901/caf781f5/attachment-0001.html>


More information about the Noosfero-dev mailing list