taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit c5bc36f854dc2801cabbaeb4ab46a28bfd197189
parent d7008dabf6d60d7c12af3cca13eae8684d6fabae
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 15 Dec 2019 16:54:52 +0100

checkout deployment to right directory, and clean up first

Diffstat:
Mbuildbot/master.cfg | 15++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/buildbot/master.cfg b/buildbot/master.cfg @@ -312,7 +312,20 @@ def git_step(repo,target_branch="master"): # Convenience function that checks out the deployment. def update_deployment(factory): - factory.addStep(git_step("git://git.taler.net/deployment.git")) + factory.addStep(ShellCommand( + name="clean old deployment", + description="cleaning previous deployment repository", + descriptionDone="Deployment removed", + command=["rm", "-rf", "$HOME/deployment"], + workdir="$HOME/" + )) + factory.addStep(ShellCommand( + name="update deployment", + description="fetching latest deployment repository", + descriptionDone="Deployment updated", + command=["git", "clone", "git://git.taler.net/deployment"], + workdir="$HOME/" + )) # Create a FACTORY with a deployment.git checkout as the first step. def create_factory_with_deployment():