ci: replace MINIO_RESULTS_UPLOAD with S3_RESULTS_UPLOAD
authorDavid Heidelberg <david.heidelberg@collabora.com>
Fri, 9 Jun 2023 17:09:34 +0000 (19:09 +0200)
committerDavid Heidelberg <david.heidelberg@collabora.com>
Fri, 9 Jun 2023 23:31:16 +0000 (01:31 +0200)
Reviewed-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23527>

.gitlab-ci/common/generate-env.sh
.gitlab-ci/common/init-stage2.sh
.gitlab-ci/lava/lava-gitlab-ci.yml
.gitlab-ci/lava/utils/lava_job_definition.py

index 9b36c12..d87b9d3 100755 (executable)
@@ -86,7 +86,7 @@ for var in \
     MESA_TEMPLATES_COMMIT \
     MESA_VK_IGNORE_CONFORMANCE_WARNING \
     S3_HOST \
-    MINIO_RESULTS_UPLOAD \
+    S3_RESULTS_UPLOAD \
     NIR_DEBUG \
     PAN_I_WANT_A_BROKEN_VULKAN_DRIVER \
     PAN_MESA_DEBUG \
index 0d35d57..f39c77b 100755 (executable)
@@ -197,9 +197,9 @@ mv -f ${CI_PROJECT_DIR}/results ./ 2>/dev/null || true
 cleanup
 
 # upload artifacts
-if [ -n "$MINIO_RESULTS_UPLOAD" ]; then
+if [ -n "$S3_RESULTS_UPLOAD" ]; then
   tar --zstd -cf results.tar.zst results/;
-  ci-fairy s3cp --token-file "${CI_JOB_JWT_FILE}" results.tar.zst https://"$MINIO_RESULTS_UPLOAD"/results.tar.zst;
+  ci-fairy s3cp --token-file "${CI_JOB_JWT_FILE}" results.tar.zst https://"$S3_RESULTS_UPLOAD"/results.tar.zst;
 fi
 
 # We still need to echo the hwci: mesa message, as some scripts rely on it, such
index 898164d..52e8766 100755 (executable)
@@ -14,7 +14,7 @@
     BUILD_PATH: "${PIPELINE_ARTIFACTS_BASE}/${CI_PROJECT_NAME}-${ARCH}.tar.zst"
     JOB_ROOTFS_OVERLAY_PATH: "${JOB_ARTIFACTS_BASE}/job-rootfs-overlay.tar.gz"
     JOB_RESULTS_PATH: "${JOB_ARTIFACTS_BASE}/results.tar.zst"
-    MINIO_RESULTS_UPLOAD: "${JOB_ARTIFACTS_BASE}"
+    S3_RESULTS_UPLOAD: "${JOB_ARTIFACTS_BASE}"
     PIGLIT_NO_WINDOW: 1
     VISIBILITY_GROUP: "Collabora+fdo"
   script:
index 8ac30d8..f029f18 100644 (file)
@@ -144,7 +144,7 @@ def artifact_download_steps(args):
     else:
         download_steps += [
             "echo Could not find jwt file, disabling S3 requests...",
-            "sed -i '/MINIO_RESULTS_UPLOAD/d' /set-job-env-vars.sh",
+            "sed -i '/S3_RESULTS_UPLOAD/d' /set-job-env-vars.sh",
         ]
 
     return download_steps