ci/b2c: move away from the hand-rolled initscript

Up until now, we have been handrolling part of the init-stage2.sh in
the b2c command line. Let's stop doing that and instead use the same
script as every other HW farms.

Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21872>
This commit is contained in:
Martin Roukala (né Peres)
2023-03-14 09:51:20 +02:00
committed by Marge Bot
parent a0d8ed757e
commit 10e0c5fd46
3 changed files with 5 additions and 5 deletions

View File

@@ -284,7 +284,7 @@ rustfmt:
[ -d "$CI_COMMON_SCRIPTS" ] || exit 1
B2C_TEST_SCRIPT="bash -c 'source ./set-job-env-vars.sh; source ./setup-test-env.sh; tar xf ${INSTALL_TARBALL_NAME}; ${B2C_TEST_SCRIPT}'"
B2C_TEST_SCRIPT="bash -c 'tar xf ${INSTALL_TARBALL_NAME}; ./install/common/init-stage2.sh'"
# The Valve CI gateway receives jobs in a YAML format. Create a
# job description from the CI environment.
@@ -321,11 +321,11 @@ rustfmt:
# begins running on the remote DUT.
set +x
"$CI_COMMON_SCRIPTS"/generate-env.sh > ${JOB_FOLDER}/set-job-env-vars.sh
echo "export SCRIPTS_DIR=./install" >> ${JOB_FOLDER}/set-job-env-vars.sh
chmod +x ${JOB_FOLDER}/set-job-env-vars.sh
echo "Variables passed through:"
cat ${JOB_FOLDER}/set-job-env-vars.sh
echo "export CI_JOB_JWT=${CI_JOB_JWT}" >> ${JOB_FOLDER}/set-job-env-vars.sh
cp ${SCRIPTS_DIR}/setup-test-env.sh ${JOB_FOLDER}/setup-test-env.sh
set -x
# Copy the mesa install tarball to the job folder, for later extraction

View File

@@ -206,7 +206,7 @@ radeonsi-raven-va:amd64:
.deqp-test-valve:
variables:
B2C_JOB_SUCCESS_REGEX: '^\+ DEQP_EXITCODE=0\r$'
B2C_TEST_SCRIPT: ./install/deqp-runner.sh
HWCI_TEST_SCRIPT: ./install/deqp-runner.sh
.kabini-test-valve:
variables:
@@ -420,7 +420,7 @@ radv-fossils:
- .b2c-test-radv-vk
variables:
B2C_JOB_SUCCESS_REGEX: 'SUCCESS: No changes found!\r$'
B2C_TEST_SCRIPT: ./install/vkd3d-proton/run.sh
HWCI_TEST_SCRIPT: ./install/vkd3d-proton/run.sh
.vkd3d-kabini-valve:
extends:

View File

@@ -134,7 +134,7 @@ zink-freedreno-a630-traces:
PIGLIT_PROFILES: all
PIGLIT_PLATFORM: gbm
RADV_PERFTEST: gpl
B2C_TEST_SCRIPT: ./install/valve/gl_combined_testing.sh
HWCI_TEST_SCRIPT: ./install/valve/gl_combined_testing.sh
B2C_JOB_SUCCESS_REGEX: 'Execution is over, pipeline status: 0'
# Disable reporting, since DUTs don't have internet access