canonical-hw-cert team mailing list archive
-
canonical-hw-cert team
-
Mailing list archive
-
Message #55053
[Merge] ~kevinyeh/hwcert-jenkins-jobs:update-run-sru into hwcert-jenkins-jobs:master
Kevin Yeh has proposed merging ~kevinyeh/hwcert-jenkins-jobs:update-run-sru into hwcert-jenkins-jobs:master.
Commit message:
Update: name job with system-id instead of project name.
Requested reviews:
hwcert-jenkins (hwcert-jenkins)
For more details, see:
https://code.launchpad.net/~kevinyeh/hwcert-jenkins-jobs/+git/hwcert-jenkins-jobs/+merge/435248
--
Your team hwcert-jenkins is requested to review the proposed merge of ~kevinyeh/hwcert-jenkins-jobs:update-run-sru into hwcert-jenkins-jobs:master.
diff --git a/jobs/sru/run-sru.sh b/jobs/sru/run-sru.sh
index 6675a92..00b80d5 100644
--- a/jobs/sru/run-sru.sh
+++ b/jobs/sru/run-sru.sh
@@ -267,11 +267,7 @@ git -C hwcert-data pull -q || git clone -q git+ssh://ce-certification-qa@xxxxxxx
# Create a card if this is a proper SRU run
if [ "{trello_reporting}" == "True" ]; then
-if [[ "{srutype}" =~ "raspi" ]] || [[ "{series}" == "impish" ]] || [[ "{series}" == "jammy" ]]; then
flock /tmp/TRELLO-UPDATE.LOCK certification-dashboard-manager.dashboard-manager --app trello debupdater --config hwcert-data/debs.yaml -a {arch} -n {system-id} -k {kernel-to-check} -s {series} -t {srutype} --cardonly --summaryfile /dev/null
- else
- flock /tmp/TRELLO-UPDATE.LOCK certification-dashboard-manager.dashboard-manager --app trello debupdater --config hwcert-data/debs.yaml -a {arch} -n {name} -k {kernel-to-check} -s {series} -t {srutype} --cardonly --summaryfile /dev/null
- fi
fi
JOB_ID=$(testflinger submit -q job.yaml)
@@ -318,11 +314,7 @@ fi
# Add a result to the card if this is proper sru run
if [ "{trello_reporting}" == "True" ]; then
- if [[ "{srutype}" =~ "raspi" ]] || [[ "{series}" == "impish" ]] || [[ "{series}" == "jammy" ]]; then
flock /tmp/TRELLO-UPDATE.LOCK certification-dashboard-manager.dashboard-manager --app trello debupdater --config hwcert-data/debs.yaml -a {arch} -n {system-id} -k {kernel-to-check} -s {series} -t {srutype} --summaryfile artifacts/raw_summary
- else
- flock /tmp/TRELLO-UPDATE.LOCK certification-dashboard-manager.dashboard-manager --app trello debupdater --config hwcert-data/debs.yaml -a {arch} -n {name} -k {kernel-to-check} -s {series} -t {srutype} --summaryfile artifacts/raw_summary
- fi
fi
echo "Test exit status: $TEST_STATUS"
Follow ups