[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] branch master updated: buildbot: clean git workspace
From: |
gnunet |
Subject: |
[taler-deployment] branch master updated: buildbot: clean git workspace for container builds |
Date: |
Wed, 06 Sep 2023 21:05:07 +0200 |
This is an automated email from the git hooks/post-receive script.
devan-carpenter pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new c7292ac buildbot: clean git workspace for container builds
c7292ac is described below
commit c7292ac3cd56f25f8eacf4a1d4751aa7f9a3451c
Author: Devan Carpenter <devan@taler.net>
AuthorDate: Wed Sep 6 15:03:03 2023 -0400
buildbot: clean git workspace for container builds
this change attempts to make the git preparation step in the container
builders idempotent and thus more predictable
---
buildbot/master.cfg | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index bb00360..9fa75a2 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -1298,8 +1298,8 @@ for repo in container_repos:
# Ensure repo is cloned or clean.
# Git() will clone repo if it doesn't exist.
- # Method fresh runs 'git clean -f -f -d -x', if checkout already exists.
- # Only works with mode='full'
+ # Method clobber removes directory and makes a fresh clone.
+ # Shallow set to "True" defaults to a depth of 1.
# Will checkout value of "branch" property from job properties.
#
https://docs.buildbot.net/latest/manual/configuration/steps/source_git.html
container_factory.addStep(Git(
@@ -1307,7 +1307,9 @@ for repo in container_repos:
repourl=REPO_URL,
branch=util.Interpolate('%(src::branch)s'),
mode='full',
- method='fresh',
+ method='clobber',
+ shallow=True,
+ submodules=True,
haltOnFailure=True,
))
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-deployment] branch master updated: buildbot: clean git workspace for container builds,
gnunet <=