gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: -get rid of demo switcher


From: gnunet
Subject: [taler-deployment] branch master updated: -get rid of demo switcher
Date: Tue, 23 Aug 2022 21:57:16 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new d09d271  -get rid of demo switcher
d09d271 is described below

commit d09d271b485fc35df430ca0373c3e3b254d6c129
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Aug 23 21:57:14 2022 +0200

    -get rid of demo switcher
---
 bin/taler-deployment | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/bin/taler-deployment b/bin/taler-deployment
index 680cb26..8a5ff9c 100755
--- a/bin/taler-deployment
+++ b/bin/taler-deployment
@@ -594,21 +594,6 @@ def build() -> None:
         r.builder(r, p)
 
 
-@cli.command()
-@click.argument("color", metavar="COLOR", type=click.Choice(["blue", "green"]))
-def switch_demo(color) -> None:
-    """Switch deployment color of demo."""
-    if os.environ["USER"] != "demo":
-        print("Command should be executed as the demo user only.")
-        sys.exit(1)
-    active_home = Path.home() / "active-home"
-    try:
-        active_home.unlink()
-    except:
-        pass
-    active_home.symlink_to(f"/home/demo-{color}")
-
-
 # repos does not contain distro-installed components
 def checkout_repos(cfg, repos):
     """Check out repos to the version specified in envcfg.py"""

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]