Hashar has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/392872 )

Change subject: Move operations-puppet-wmf-style-guide to perm slave
......................................................................

Move operations-puppet-wmf-style-guide to perm slave

It is broke on Docker since the container checkout from SCM when we want
the Jenkins git plugin to do it.

Change-Id: I6230bceddcc083d1ead33259f1bc049f0ef06041
---
M jjb/operations-puppet.yaml
1 file changed, 10 insertions(+), 21 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/config 
refs/changes/72/392872/1

diff --git a/jjb/operations-puppet.yaml b/jjb/operations-puppet.yaml
index f4c329c..8f255af 100644
--- a/jjb/operations-puppet.yaml
+++ b/jjb/operations-puppet.yaml
@@ -73,7 +73,7 @@
 
 - job:
     name: 'operations-puppet-wmf-style-guide'
-    node: DebianJessieDocker
+    node: DebianJessie
     concurrent: false
     triggers:
         - pollscm:
@@ -83,31 +83,20 @@
          url: 'https://gerrit.wikimedia.org/r/p/operations/puppet.git'
          branches:
              - production
-         reference-repo: '/srv/git/operations/puppet.git'
+         basedir: 'src'
+         wipe-workspace: true
+         shallow-clone: true
          do-not-fetch-tags: true
          submodule:
              disable: true
     builders:
         - shell: |
-            #!/bin/bash -eu
-            set +x
-            rm -rf .env
-            cat <<ZUUL > .env
-            ZUUL_URL=https://gerrit.wikimedia.org/r/p
-            ZUUL_PROJECT=operations/puppet
-            ZUUL_REF=production
-            HOME=/var/lib/jenkins
-
-            JENKINS_URL=$JENKINS_URL
-            RAKE_TARGET=global:wmf_style
-
-            ZUUL
-            echo "Docker environment variables:"
-            cat .env
-        - docker-log-dir
-        - docker-run-with-log:
-            image: 'wmfreleng/operations-puppet:v2017.10.20.12.47'
-            logdir: '/srv/workspace/log'
+            set -o pipefail
+            rm -fR log
+            mkdir -p log
+            cd src
+            bundle install --path ../bundle
+            bundle exec rake global:wmf_style | tee "$WORKSPACE/log/rake.log"
     wrappers:
         - timeout:
             timeout: 3  # minutes

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6230bceddcc083d1ead33259f1bc049f0ef06041
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to