Hashar has uploaded a new change for review.
https://gerrit.wikimedia.org/r/282363
Change subject: dib: another attempt to force apt-get update
......................................................................
dib: another attempt to force apt-get update
Change-Id: I10d7c30061a74150bd12dab9d3cec4cd21ebfba5
---
M dib/puppet/ciimage.pp
1 file changed, 5 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/integration/config
refs/changes/63/282363/1
diff --git a/dib/puppet/ciimage.pp b/dib/puppet/ciimage.pp
index 6aa773f..89d9715 100644
--- a/dib/puppet/ciimage.pp
+++ b/dib/puppet/ciimage.pp
@@ -12,11 +12,12 @@
}
class { '::apt':
stage => first,
- before => Notify['force apt-get update'],
}
-notify { 'force apt-get update':
- notify => Exec['apt-get update'],
- after => Class['::apt'],
+exec { 'force run apt-get update':
+ stage => first,
+ cwd => '/bin/true',
+ notify => Exec['apt-get update'],
+ require => Class['::apt'],
}
# Jenkins provision jre by itself but it sounds better to have it already in
--
To view, visit https://gerrit.wikimedia.org/r/282363
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I10d7c30061a74150bd12dab9d3cec4cd21ebfba5
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