canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #05609
[Merge] ~andersson123/qa-jenkins-jobs:fix-bad-substitution into qa-jenkins-jobs:master
Tim Andersson has proposed merging ~andersson123/qa-jenkins-jobs:fix-bad-substitution into qa-jenkins-jobs:master.
Requested reviews:
Canonical Platform QA Team (canonical-platform-qa)
For more details, see:
https://code.launchpad.net/~andersson123/qa-jenkins-jobs/+git/qa-jenkins-jobs/+merge/475506
Quick fix! I missed this in previous MPs as I manually configured the job, and forgot I did so. It then got overwritten by deploy-qa-jobs.
--
Your team Canonical Platform QA Team is requested to review the proposed merge of ~andersson123/qa-jenkins-jobs:fix-bad-substitution into qa-jenkins-jobs:master.
diff --git a/jobs/autopkgtest-cloud/jobs.yaml b/jobs/autopkgtest-cloud/jobs.yaml
index 487efba..707e8ed 100644
--- a/jobs/autopkgtest-cloud/jobs.yaml
+++ b/jobs/autopkgtest-cloud/jobs.yaml
@@ -42,12 +42,12 @@
#!/bin/bash
set -eu
- RTD_LATEST_COMMIT=$(curl -H "Authorization: Token ${{RTD_TOKEN}}" https://readthedocs.org/api/v3/projects/autopkgtest-cloud/builds/ | jq -r '.results[0]' | jq -r '.commit')
+ RTD_LATEST_COMMIT=$(curl -H "Authorization: Token ${RTD_TOKEN}" https://readthedocs.org/api/v3/projects/autopkgtest-cloud/builds/ | jq -r '.results[0]' | jq -r '.commit')
git clone https://git.launchpad.net/autopkgtest-cloud
cd autopkgtest-cloud || exit 1
if ! git diff --quiet "${RTD_LATEST_COMMIT}" docs/ .readthedocs.yaml; then
printf "Changes have been made to docs since last built version, building on readthedocs...\n"
- curl -sS -X POST -H "Authorization: Token ${{RTD_TOKEN}}" https://readthedocs.org/api/v3/projects/autopkgtest-cloud/versions/latest/builds/
+ curl -sS -X POST -H "Authorization: Token ${RTD_TOKEN}" https://readthedocs.org/api/v3/projects/autopkgtest-cloud/versions/latest/builds/
printf "readthedocs build request submitted\n"
else
printf "No changes to docs/ since latest build, not building\n"
Follow ups