jenkins-bot has submitted this change and it was merged.
Change subject: dib: attempt force apt-get update for snapshot
......................................................................
dib: attempt force apt-get update for snapshot
When refreshing a snapshot, apt-get update is usually not notified since
none of the configuration has changed since the image has been build.
Attempt to notify apt-get update directly from stage[first].
Change-Id: I0320a541aee8d8cad4157aed3ca6311fc08b53fb
---
M dib/puppet/ciimage.pp
1 file changed, 3 insertions(+), 1 deletion(-)
Approvals:
Hashar: Looks good to me, approved
jenkins-bot: Verified
diff --git a/dib/puppet/ciimage.pp b/dib/puppet/ciimage.pp
index 4e0110f..ae1b592 100644
--- a/dib/puppet/ciimage.pp
+++ b/dib/puppet/ciimage.pp
@@ -10,7 +10,9 @@
before => Stage['main'],
}
class { '::apt':
- stage => first,
+ stage => first,
+ # Refreshing a snapshot should update repos as well
+ notify => Exec['apt-get update'],
}
include contint::packages::base
--
To view, visit https://gerrit.wikimedia.org/r/260035
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I0320a541aee8d8cad4157aed3ca6311fc08b53fb
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits