Nadzeya Hutsko has proposed merging
~nhutsko/hwcert-jenkins-jobs:rewrite-dm-commands into
hwcert-jenkins-jobs:master.
Commit message:
Update dashboard-manager image and sru commands
Requested reviews:
Jonathan Cave (jocave)
For more details, see:
https://code.launchpad.net/~nhutsko/hwcert-jenkins-jobs/+git/hwcert-jenkins-jobs/+merge/436111
Update dashboard-manager image_board_updater and sru_bug_manager commands to
follow the new style
https://github.com/canonical/certification-dashboard-manager#image-board-updater
--
Your team hwcert-jenkins is subscribed to branch hwcert-jenkins-jobs:master.
diff --git a/jobs/image-testing/run-image-testing-server.sh b/jobs/image-testing/run-image-testing-server.sh
index e22676f..f0e04b2 100755
--- a/jobs/image-testing/run-image-testing-server.sh
+++ b/jobs/image-testing/run-image-testing-server.sh
@@ -197,6 +197,6 @@ if [ -f artifacts/submission.json ]; then
cat artifacts/submission.json |jq -r '. | {{results: .results}}' > results.json
curl -s "https://testflinger-revcache.canonical.com/v1/results/$JOB_NAME" -X POST --header "Content-Type: application/json" --data @results.json
fi
-flock /tmp/TRELLO-IMAGE-UPDATE.LOCK certification-dashboard-manager.image-board-updater --key $APP_API_KEY --token $APP_TOKEN --board $APP_BOARD -n {name} -i {image_file} -c {image_channel} -v $BUILD_ID artifacts/summary
+flock /tmp/TRELLO-IMAGE-UPDATE.LOCK certification-dashboard-manager.dashboard-manager --app trello imageupdater -n {name} -i {image_file} -c {image_channel} -v $BUILD_ID --summaryfile artifacts/summary
echo "Test exit status: $TEST_STATUS"
exit $EXITCODE
diff --git a/jobs/image-testing/run-image-testing.sh b/jobs/image-testing/run-image-testing.sh
index 39324e7..e6bf093 100755
--- a/jobs/image-testing/run-image-testing.sh
+++ b/jobs/image-testing/run-image-testing.sh
@@ -241,6 +241,6 @@ if [ -f artifacts/submission.json ]; then
cat artifacts/submission.json |jq -r '. | {{results: .results}}' > results.json
curl -s "https://testflinger-revcache.canonical.com/v1/results/$JOB_NAME" -X POST --header "Content-Type: application/json" --data @results.json
fi
-flock /tmp/TRELLO-IMAGE-UPDATE.LOCK certification-dashboard-manager.image-board-updater --key $APP_API_KEY --token $APP_TOKEN --board $APP_BOARD -n {device}-{image-type} -i {image_file} -c {image_channel} -v $BUILD_ID artifacts/summary
+flock /tmp/TRELLO-IMAGE-UPDATE.LOCK certification-dashboard-manager.dashboard-manager --app trello imageupdater -n {device}-{image-type} -i {image_file} -c {image_channel} -v $BUILD_ID --summaryfile artifacts/summary
echo "Test exit status: $TEST_STATUS"
exit $EXITCODE
diff --git a/jobs/infrastructure/trello/deb-board-manager.sh b/jobs/infrastructure/trello/deb-board-manager.sh
index f699def..39c979a 100755
--- a/jobs/infrastructure/trello/deb-board-manager.sh
+++ b/jobs/infrastructure/trello/deb-board-manager.sh
@@ -19,7 +19,7 @@ set -x
git -C hwcert-data pull || git clone git+ssh://[email protected]/~canonical-hw-cert/hwcert-jenkins-jobs/+git/hwcert-data
# This marks kernel sru bugs complete for kernel debs that are marked complete in trello
-certification-dashboard-manager.sru-bug-manager --key "$APP_API_KEY" --token "$APP_TOKEN" --board "$APP_BOARD" --project kernel-sru-workflow --deb
+certification-dashboard-manager.dashboard-manager --app trello kernelsrusync --project kernel-sru-workflow --deb
BUG_MANAGER_RESULT="$?"
# This migrates trello cards to the appropriate lane based on kernel deb status
diff --git a/jobs/infrastructure/trello/snap-board-manager.sh b/jobs/infrastructure/trello/snap-board-manager.sh
index 3b4fab6..bc250e2 100755
--- a/jobs/infrastructure/trello/snap-board-manager.sh
+++ b/jobs/infrastructure/trello/snap-board-manager.sh
@@ -19,7 +19,7 @@ set -x
git -C hwcert-data pull || git clone git+ssh://[email protected]/~canonical-hw-cert/hwcert-jenkins-jobs/+git/hwcert-data
# This marks kernel sru bugs complete for snaps that are marked complete in trello
-certification-dashboard-manager.sru-bug-manager --key "$APP_API_KEY" --token "$APP_TOKEN" --board "$APP_BOARD" --project kernel-sru-workflow
+certification-dashboard-manager.dashboard-manager --app trello kernelsrusync --project kernel-sru-workflow
BUG_MANAGER_RESULT="$?"
# This migrates trello cards to the appropriate lane based on snap status
--
Mailing list: https://launchpad.net/~canonical-hw-cert
Post to : [email protected]
Unsubscribe : https://launchpad.net/~canonical-hw-cert
More help : https://help.launchpad.net/ListHelp