Mesa (main): ci/lava: do not save lava.yaml in the artifacts
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jun 10 06:26:34 UTC 2021
Module: Mesa
Branch: main
Commit: 08600ef40c2c6e1431101900e35e5ef1b1ff6cd6
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=08600ef40c2c6e1431101900e35e5ef1b1ff6cd6
Author: Gustavo Padovan <gustavo.padovan at collabora.com>
Date: Tue Jun 8 14:47:33 2021 -0300
ci/lava: do not save lava.yaml in the artifacts
We want to avoid leaking private data used in merge process.
Signed-off-by: Gustavo Padovan <gustavo.padovan at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11218>
---
.gitlab-ci/lava-gitlab-ci.yml | 1 -
.gitlab-ci/lava_job_submitter.py | 3 ---
2 files changed, 4 deletions(-)
diff --git a/.gitlab-ci/lava-gitlab-ci.yml b/.gitlab-ci/lava-gitlab-ci.yml
index 4a577d85ebe..6b91fb1d71a 100644
--- a/.gitlab-ci/lava-gitlab-ci.yml
+++ b/.gitlab-ci/lava-gitlab-ci.yml
@@ -37,7 +37,6 @@
--lava-tags "${LAVA_TAGS}" \
--ci-node-index "${CI_NODE_INDEX}" \
--ci-node-total "${CI_NODE_TOTAL}" | tee results/lava.log
- - cp lava.yml results/.
artifacts:
name: "mesa_${CI_JOB_NAME}"
when: always
diff --git a/.gitlab-ci/lava_job_submitter.py b/.gitlab-ci/lava_job_submitter.py
index 6d6cb2a4365..8695c2b8d5c 100755
--- a/.gitlab-ci/lava_job_submitter.py
+++ b/.gitlab-ci/lava_job_submitter.py
@@ -66,10 +66,7 @@ def generate_lava_yaml(args):
values['env_vars'] = env_vars
values['deqp_version'] = args.deqp_version
- f = open(os.path.splitext(os.path.basename(args.template))[0], "w")
yaml = template.render(values)
- f.write(yaml)
- f.close()
return yaml
More information about the mesa-commit
mailing list