mirror of https://gitlab.freedesktop.org/mesa/mesa
ci/lava: Remove MINIO_RESULTS_UPLOAD if requested
When we don't want to communicate with minio, e.g. running lava_job_submitter script locally, MINIO_RESULTS_UPLOAD should be unset. But this variable is already set by generate-env script, so we need to remove it from the /set-job-env-vars.sh to avoid declaring it in unexpected scenarios. Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17645>
This commit is contained in:
parent
59f2a072ca
commit
a19dd43082
|
@ -160,7 +160,7 @@ def generate_lava_yaml(args):
|
|||
else:
|
||||
run_steps += [
|
||||
"echo Could not find jwt file, disabling MINIO requests...",
|
||||
"unset MINIO_RESULTS_UPLOAD",
|
||||
"sed -i '/MINIO_RESULTS_UPLOAD/d' /set-job-env-vars.sh",
|
||||
]
|
||||
|
||||
run_steps += [
|
||||
|
|
Loading…
Reference in New Issue