Signed-off-by: David Galloway <dgallowa@redhat.com>
--- /dev/null
+#!/bin/bash -e
+cd src/pybind/mgr/dashboard
+timeout 7200 ./run-backend-api-tests.sh
#!/bin/bash -e
+
+docs_pr_only
+if [ "$DOCS_ONLY" = true ]; then
+ echo "Only the doc/ dir changed. No need to run make check or API tests."
+ exit 0
+fi
+
n_build_jobs=$(get_nr_build_jobs)
n_test_jobs=$(($(nproc) / 4))
export CHECK_MAKEOPTS="-j${n_test_jobs} -N -Q"
- ../../../scripts/build_utils.sh
- ../../build/build
- ../../../scripts/dashboard/install-backend-api-test-deps.sh
- - shell: "cd src/pybind/mgr/dashboard; timeout 7200 ./run-backend-api-tests.sh"
+ - ../../build/api
# This job seems to get aborted more often than others. Multiple times in the past week,
# it's gotten aborted during an apt transaction which leaves a dirty dpkg DB.
wrappers:
- ansicolor
+ - credentials-binding:
+ - username-password-separated:
+ credential-id: github-readonly-token
+ username: GITHUB_USER
+ password: GITHUB_PASS