summaryrefslogtreecommitdiff
path: root/.gitlab-ci/lava/lava-submit.sh
diff options
context:
space:
mode:
authorDavid Heidelberg <david.heidelberg@collabora.com>2023-06-10 05:16:56 +0200
committerDavid Heidelberg <david.heidelberg@collabora.com>2023-07-16 02:11:23 +0200
commit23158e9a3f7c1c3155bfc371ed562828661f9f18 (patch)
tree8ce4170ac174dc7a2f52e4d46a99e163e16a1457 /.gitlab-ci/lava/lava-submit.sh
parent9bcdc45ee7e8c4ca0dbb18ba16077d474d5ebb31 (diff)
downloadmesa-23158e9a3f7c1c3155bfc371ed562828661f9f18.tar.gz
mesa-23158e9a3f7c1c3155bfc371ed562828661f9f18.tar.bz2
mesa-23158e9a3f7c1c3155bfc371ed562828661f9f18.zip
ci: build kernel in gfx-ci/linux and just use binaries in Mesa3D CI
This bring visible speedup while preparing the rootfs and containers. Acked-by: Guilherme Gallo <guilherme.gallo@collabora.com> Acked-by: Erico Nunes <nunes.erico@gmail.com> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24079>
Diffstat (limited to '.gitlab-ci/lava/lava-submit.sh')
-rwxr-xr-x.gitlab-ci/lava/lava-submit.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/.gitlab-ci/lava/lava-submit.sh b/.gitlab-ci/lava/lava-submit.sh
index 0baeca24cf6..e1269d5c6d6 100755
--- a/.gitlab-ci/lava/lava-submit.sh
+++ b/.gitlab-ci/lava/lava-submit.sh
@@ -25,8 +25,7 @@ cp "$SCRIPTS_DIR"/setup-test-env.sh results/job-rootfs-overlay/
# Prepare env vars for upload.
section_start variables "Variables passed through:"
-KERNEL_IMAGE_BASE_URL="https://${BASE_SYSTEM_HOST_PATH}" \
- artifacts/ci-common/generate-env.sh | tee results/job-rootfs-overlay/set-job-env-vars.sh
+artifacts/ci-common/generate-env.sh | tee results/job-rootfs-overlay/set-job-env-vars.sh
section_end variables
tar zcf job-rootfs-overlay.tar.gz -C results/job-rootfs-overlay/ .
@@ -41,7 +40,7 @@ PYTHONPATH=artifacts/ artifacts/lava/lava_job_submitter.py \
--dump-yaml \
--pipeline-info "$CI_JOB_NAME: $CI_PIPELINE_URL on $CI_COMMIT_REF_NAME ${CI_NODE_INDEX}/${CI_NODE_TOTAL}" \
--rootfs-url-prefix "https://${BASE_SYSTEM_HOST_PATH}" \
- --kernel-url-prefix "https://${BASE_SYSTEM_HOST_PATH}" \
+ --kernel-url-prefix "${KERNEL_IMAGE_BASE}/${DEBIAN_ARCH}" \
--build-url "${ARTIFACT_URL}" \
--job-rootfs-overlay-url "${FDO_HTTP_CACHE_URI:-}https://${JOB_ROOTFS_OVERLAY_PATH}" \
--job-timeout-min ${JOB_TIMEOUT:-30} \