Legoktm has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/221400

Change subject: Create "composer-test" macro
......................................................................

Create "composer-test" macro

Change-Id: I095b21797883c1a1c489ad450279f44d887a8b48
---
M jjb/job-templates.yaml
M jjb/macro.yaml
M jjb/php.yaml
3 files changed, 9 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/config 
refs/changes/00/221400/1

diff --git a/jjb/job-templates.yaml b/jjb/job-templates.yaml
index 9b7041b..0925048 100644
--- a/jjb/job-templates.yaml
+++ b/jjb/job-templates.yaml
@@ -132,8 +132,7 @@
     builders:
      - composer-validate-package
      - composer-update
-     - shell: |
-         /srv/deployment/integration/composer/vendor/bin/composer test
+     - composer-test
 
 - project:
     name: 'php-composer-test-flavored'
diff --git a/jjb/macro.yaml b/jjb/macro.yaml
index 6496074..827b37f 100644
--- a/jjb/macro.yaml
+++ b/jjb/macro.yaml
@@ -633,3 +633,10 @@
     builders:
      - shell: |
         /srv/deployment/integration/composer/vendor/bin/composer update 
--no-progress --prefer-dist --profile
+
+# Runs "composer test"
+- builder:
+    name: composer-test
+    builders:
+     - shell: |
+        /srv/deployment/integration/composer/vendor/bin/composer test
diff --git a/jjb/php.yaml b/jjb/php.yaml
index 17fa95b..bf41afe 100644
--- a/jjb/php.yaml
+++ b/jjb/php.yaml
@@ -42,7 +42,6 @@
     builders:
      - composer-validate
      - composer-update
-     - shell: |
-         /srv/deployment/integration/composer/vendor/bin/composer test
+     - composer-test
     logrotate:
         daysToKeep: 15

-- 
To view, visit https://gerrit.wikimedia.org/r/221400
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I095b21797883c1a1c489ad450279f44d887a8b48
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to