[Git][noosfero/noosfero][master] 2 commits: Fixes code quality build stage

Rodrigo Souto gitlab at mg.gitlab.com
Thu Nov 29 10:20:36 BRST 2018


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
e6b255b2 by Gabriel Silva at 2018-11-28T17:00:36Z
Fixes code quality build stage

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

- - - - -
92739087 by Rodrigo Souto at 2018-11-29T12:20:04Z
Merge branch 'ci-cc' into 'master'

Fixes code quality build stage

See merge request noosfero/noosfero!1649
- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -7,8 +7,8 @@ before_script:
   - bundle exec rake db:migrate RAILS_ENV=test
 
 stages:
-  #FIXME Selenium tests are randomly failing and this avoid other tests to run.
-  #- smoke-tests
+  # FIXME Selenium tests are randomly failing and this avoid other tests to run.
+  - smoke-tests
   - all-tests
   - code-quality
 
@@ -18,14 +18,14 @@ stages:
     paths:
       - /usr/share/rubygems-integration/all/
 
-#smoke:
-#  script: bundle exec rake ci:smoke
-#  stage: smoke-tests
+# smoke:
+#   script: bundle exec rake ci:smoke
+#   stage: smoke-tests
 
 .retriable-template: &retriable
   retry: 2
 
-specs-models:
+rspec:
   <<: *retriable
   <<: *cache
   script: bundle exec rake test:specs
@@ -132,7 +132,6 @@ cypress:
   stage: all-tests
 
 rubocop:
-  <<: *retriable
   <<: *cache
   script:
   - rubocop
@@ -156,5 +155,10 @@ code_quality:
         --volume /var/run/docker.sock:/var/run/docker.sock
         "registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code
   artifacts:
-    paths: [gl-code-quality-report.json]
+    paths:
+      - gl-code-quality-report.json
+    reports:
+      codequality: gl-code-quality-report.json
   stage: code-quality
+  only:
+    - tags



View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/745cbdd44dc3671795f647cb0d305dc5128bfc57...9273908762b3f97967452f2e136d380cb63ee094

-- 
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/745cbdd44dc3671795f647cb0d305dc5128bfc57...9273908762b3f97967452f2e136d380cb63ee094
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/20181129/f147d206/attachment-0001.html>


More information about the Noosfero-dev mailing list