taler-deployment

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

commit 7f89bae89eab97f9c39a9e9d1c66a365f271d885
parent 32fbad7b9a955c52a7711141470b16105e838bcb
Author: Florian Dold <florian@dold.me>
Date:   Mon,  7 Oct 2024 15:40:41 +0200

remove legacy scripts

Diffstat:
Dbuildbot/build-docs.sh | 37-------------------------------------
Dbuildbot/build.sh | 17-----------------
Dbuildbot/demo-healthchecks.sh | 9---------
Dbuildbot/restart.sh | 13-------------
4 files changed, 0 insertions(+), 76 deletions(-)

diff --git a/buildbot/build-docs.sh b/buildbot/build-docs.sh @@ -1,37 +0,0 @@ -#!/bin/bash - -set -eu - -fetch () { - git clean -fdx - git fetch - # reset to updated upstream branch, but only if we're tracking a branch - branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || echo head) - git reset --hard "$branch" -} - -# Remove local path re: using global buildbot-worker not pip local install -#export PATH=$HOME/.local/bin:$PATH - -#logfile="/tmp/sphinx-warnings.log" -#if [ -f "$logfile" ] -# then -# echo -# echo $logfile " exists. Removing." -# rm $logfile -# else -# echo "Info: existing log file '$logfile' not found." -#fi - -cd $HOME/docs -fetch -make html -make latexpdf - -mkdir -p $HOME/build/docs/html/ -mkdir -p $HOME/build/docs/pdf/ - -cp -r _build/html/* $HOME/build/docs/html/ -cp -r _build/latex/*.pdf $HOME/build/docs/pdf/ - -#cat $logfile diff --git a/buildbot/build.sh b/buildbot/build.sh @@ -1,17 +0,0 @@ -#!/bin/bash - -set -eu - -echo "Building the Docker base image (taler_local/taler_base)." -# INI file with global config entries; typically -# URLs and secrets. Not automatically generated. -export TALER_DEPLOYMENT_CONFIG=${HOME}/deployment.conf -export DOCKER_HOST=unix://${XDG_RUNTIME_DIR}/docker.sock -echo "Remove data from previous builds. Volumes will be removed before restarting." -docker system prune -a -f - -${HOME}/deployment/docker/demo/build_base.sh - -echo "Building each service's image." -cd ${HOME}/deployment/docker/demo -docker-compose build diff --git a/buildbot/demo-healthchecks.sh b/buildbot/demo-healthchecks.sh @@ -1,9 +0,0 @@ -#!/bin/bash - -# Runs simple withdraw+spend test at the running demo.taler.net -# serice. Usually run from within the demo-$color itself, in order -# to easily read the merchant token from the environment. -set -eu - -source "${HOME}/activate" -taler-wallet-cli testing run-integrationtests payment-demo diff --git a/buildbot/restart.sh b/buildbot/restart.sh @@ -1,13 +0,0 @@ -#!/bin/bash - -set -eu - -cd ${HOME}/deployment/docker/demo - -export DOCKER_HOST=unix://${XDG_RUNTIME_DIR}/docker.sock -export TALER_DEPLOYMENT_CONFIG=${HOME}/deployment.conf -docker-compose stop -docker-compose down -v -docker-compose up --remove-orphans -d -# Make early errors shown on the Web console: -timeout 5m docker-compose logs --follow || true