← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Merge] ~andersson123/autopkgtest-cloud:quick-ugj-amendment into autopkgtest-cloud:master

 

Tim Andersson has proposed merging ~andersson123/autopkgtest-cloud:quick-ugj-amendment into autopkgtest-cloud:master.

Requested reviews:
  Canonical's Ubuntu QA (canonical-ubuntu-qa)

For more details, see:
https://code.launchpad.net/~andersson123/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/460094
-- 
Your team Canonical's Ubuntu QA is requested to review the proposed merge of ~andersson123/autopkgtest-cloud:quick-ugj-amendment into autopkgtest-cloud:master.
diff --git a/charms/focal/autopkgtest-web/webcontrol/update-github-jobs b/charms/focal/autopkgtest-web/webcontrol/update-github-jobs
index 00b56ea..43564e8 100755
--- a/charms/focal/autopkgtest-web/webcontrol/update-github-jobs
+++ b/charms/focal/autopkgtest-web/webcontrol/update-github-jobs
@@ -86,7 +86,7 @@ def finish_job(jobfile, params, code, log_url):
     Submit.post_json(
         statuses_url,
         data,
-        os.path.expanduser("~/github-status-credentials.txt"),
+        "/home/ubuntu/github-status-credentials.txt",
         params["package"],
     )
 
@@ -156,7 +156,7 @@ if __name__ == "__main__":
         sys.exit(0)
 
     config = configparser.ConfigParser()
-    config.read(os.path.expanduser("~/autopkgtest-cloud.conf"))
+    config.read("/home/ubuntu/autopkgtest-cloud.conf")
     external_url = config["web"]["ExternalURL"]
 
     # setup_swift_conn