mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-30 19:43:47 +00:00 
			
		
		
		
	upgrade-zulip-from-git: Fix rerun script and script description.
This commit is contained in:
		| @@ -24,11 +24,11 @@ sys.path.append(os.path.join(os.path.dirname(__file__), '..')) | ||||
| from scripts.lib.zulip_tools import DEPLOYMENTS_DIR, FAIL, WARNING, ENDC, make_deploy_path, \ | ||||
|     get_deployment_lock, release_deployment_lock, su_to_zulip | ||||
|  | ||||
| logging.basicConfig(format="%(asctime)s update-deployment: %(message)s", | ||||
| logging.basicConfig(format="%(asctime)s upgrade-zulip-from-git: %(message)s", | ||||
|                     level=logging.INFO) | ||||
|  | ||||
| if len(sys.argv) != 2: | ||||
|     print(FAIL + "Usage: update-deployment refname" + ENDC) | ||||
|     print(FAIL + "Usage: upgrade-zulip-from-git refname" + ENDC) | ||||
|     sys.exit(1) | ||||
|  | ||||
| refname = sys.argv[1] | ||||
| @@ -37,7 +37,7 @@ subprocess.check_call(["mkdir", '-p', | ||||
|                        DEPLOYMENTS_DIR, | ||||
|                        '/home/zulip/logs']) | ||||
|  | ||||
| error_rerun_script = "%s/current/tools/update-deployment %s" % (DEPLOYMENTS_DIR, refname) | ||||
| error_rerun_script = "%s/current/scripts/upgrade-zulip-from-git %s" % (DEPLOYMENTS_DIR, refname) | ||||
| get_deployment_lock(error_rerun_script) | ||||
|  | ||||
| try: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user