Eric Engestrom
460c2eb967
ci: move shellcheck options to .shellcheckrc
...
That way, IDEs get to have the same behaviour as the CI
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31826 >
2024-10-24 22:43:03 +00:00
Eric Engestrom
bc0da4bdfc
ci: move comment into the appropriate section
...
I wrote the toml linter, but not the rest.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31785 >
2024-10-22 13:01:56 +00:00
Eric Engestrom
ba789f2ce6
ci: move yaml-toml-shell-test out of build-for-tests stage
...
It inherited the stage from `python-test`, but it's not accurate here.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31785 >
2024-10-22 13:01:56 +00:00
Sergi Blanch Torne
281d135810
ci: run shellcheck when changes on scripts to check
...
The 'yaml-toml-shell-test' job has a task to review the CI shell files. So,
we need this job present when there is a change on any of those shells.
Signed-off-by: Sergi Blanch Torne <sergi.blanch.torne@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31627 >
2024-10-14 13:50:26 +00:00
Daniel Stone
4682ea0e8b
ci: Make common rules common
...
None of the test jobs were referencing our 'common-rules', so we weren't
marking test jobs as manual when they should be.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Fixes: 07202111a6
("ci/rules: make every job exist as manual in fork pipelines")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31270 >
2024-09-20 11:03:50 +00:00
Vignesh Raman
c6c011ee47
ci: include exit code in test result output
...
The HWCI result output now includes the exit code from
the test script to help in debugging. Also Update
B2C_JOB_SUCCESS_REGEX with the exit_code for ci-tron.
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31189 >
2024-09-20 10:29:39 +00:00
Daniel Stone
51c2707b8e
ci: Add pyutils container
...
Currently, our jobs which only want to run a little bit of python -
python-test and the LAVA jobs - pull the entire x86_64-build image,
which is both massive, and massively unnecessary.
Create a separate image which only carries what we need to run our
Python tests and utilities, and switch python-test to using that.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31151 >
2024-09-12 18:17:52 +00:00
Daniel Stone
cc4db4bc36
ci: Run pytest once for both LAVA and bin/ci
...
There's no need for these to be totally separate, and also for the LAVA
tests to have been disabled for months.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30978 >
2024-09-09 16:27:07 +00:00
Daniel Stone
28aafcfaef
ci: Bring back yamllint and shellcheck
...
These have been disabled for a while, but shouldn't have been.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30978 >
2024-09-09 16:27:07 +00:00
Eric Engestrom
913ec4e78f
ci: fix toml-lint rules to not block nightly pipelines
...
We don't need to re-check the toml files in nightly pipelines, so let's
just exclude the job.
Fixes: 1ba84bc5ca
("ci: add check for misleading indentation in ci toml files")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30805 >
2024-08-23 10:15:59 +00:00
Eric Engestrom
1ba84bc5ca
ci: add check for misleading indentation in ci toml files
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30442 >
2024-08-22 20:25:32 +00:00
Eric Engestrom
af56a84616
ci/vkd3d: rename vkd3d runner script to vkd3d-runner.sh to match the other ones
...
Moving it out of an otherwise-empty folder.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30413 >
2024-07-30 18:47:51 +00:00
Faith Ekstrand
c4c9bfdebd
nak: Drop the nvfuzz binary
...
A much better version now exists as part of
https://gitlab.freedesktop.org/gfxstrand/nv-shader-tools
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30283 >
2024-07-20 14:40:23 -05:00
Eric Engestrom
7a1f28c1eb
ci/vkd3d: drop override of job artifacts
...
`.b2c-test` always exports all of `results/`, so having an override here
to only export one of the files in that folder and only `on_success` is
not very useful.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29749 >
2024-06-18 09:58:54 +00:00
Eric Engestrom
c02329ded1
ci: set a common B2C_JOB_SUCCESS_REGEX with the message that's printed for all jobs
...
Simpler code, and more reliable against serial corruption because that
message is printed 4 times (vs only once for the other ones).
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29608 >
2024-06-08 07:16:27 +00:00
Eric Engestrom
bfd4db0476
radv/ci: move amdgpu-specific kernel message warning to src/amd/ci/
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29339 >
2024-05-23 18:28:41 +00:00
Eric Engestrom
265b0ebd9a
ci/b2c: add aarch64 tests for gl & vk
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29026 >
2024-05-23 06:58:01 +00:00
Eric Engestrom
c7cecc1604
ci: rename debian/arm*_test to debian/baremetal_arm*_test to be clear about which infra uses that
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29241 >
2024-05-23 06:00:22 +02:00
Eric Engestrom
1f17b2fa76
ci/b2c: remove dead rules: that's always overwritten
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29201 >
2024-05-15 14:34:56 +00:00
Eric Engestrom
9a07db7cd8
ci/b2c: rename B2C_TIMEOUT_* to B2C_TIMEOUT_CONSOLE_ACTIVITY_*
...
More verbose, sure, but also much easier to understand.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29201 >
2024-05-15 14:34:56 +00:00
Eric Engestrom
09021a1c01
ci/b2c: rename B2C_TIMEOUT_FIRST_* to B2C_TIMEOUT_FIRST_CONSOLE_ACTIVITY_*
...
More verbose, sure, but also much easier to understand.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29201 >
2024-05-15 14:34:56 +00:00
David Heidelberg
d0c364a24b
ci: drop unused piglit-test and integrate it into piglit-traces-test
...
No longer used. We don't use piglit directly, except for the traces.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29170 >
2024-05-14 11:46:42 +00:00
Eric Engestrom
a40345aaeb
ci: reuse dead .vkd3d-proton-test to make vkd3d less radv-specific
...
Replace dead `script:` with `HWCI_TEST_SCRIPT`, and rename it to have
the `b2c-` prefix since it's no longer generic.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29170 >
2024-05-14 11:46:41 +00:00
Sergi Blanch Torne
72b3c2e4ba
ci: identify and label S3 buckets
...
As for the S3 bucket where the kernel image is stored has been identified and
labeled, the other buckets in use can also be identified and labeled.
cc: mesa-stable
Signed-off-by: Sergi Blanch Torne <sergi.blanch.torne@collabora.com >
Co-developed-by: Guilherme Gallo <guilherme.gallo@collabora.com
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28979 >
2024-05-07 22:08:07 +00:00
Guilherme Gallo
7101aecc53
ci: Use id_tokens for JWT auth
...
Fixes : #9180
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28916 >
2024-04-25 20:45:53 +00:00
Eric Engestrom
0666a715c7
ci: fix container rules on release branches and tags
...
Fixes: 2487e18d4e
("ci: bare-metal: poe: Create strutured logs")
Fixes: 7c0b19a607
("ci: run python-test automatically only in merge pipelines")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28911 >
2024-04-25 07:08:33 +00:00
Martin Roukala (né Peres)
b084dbd44f
ci/b2c: rename .b2c-test-{vk,gl} to .b2c-x86_64-test-{vk,gl}
...
This will allow us to introduce non-x86_64 testing using CI-tron.
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28902 >
2024-04-24 15:46:32 +00:00
Eric Engestrom
145a5cd414
ci: fix nightly build (v2)
...
Scheduled pipelines don't have `changes`, so the rule I added in
fa4dd110986083105604 won't match; re-do that but as its own rule,
without the additional `changes` condition.
Fixes: 7c0b19a607
("ci: run python-test automatically only in merge pipelines")
Fixes: fa4dd110986083105604 ("ci: fix nightly build")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28561 >
2024-04-04 08:48:54 +00:00
Eric Engestrom
185e9b4a75
ci: fix nightly build
...
Fixes: 7c0b19a607
("ci: run python-test automatically only in merge pipelines")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28517 >
2024-04-02 22:10:43 +00:00
Eric Engestrom
7c0b19a607
ci: run python-test automatically only in merge pipelines
...
In particular, fork and pre-merge pipelines should not automatically run
it (and `debian/x86_64_build` and `debian/x86_64_build-base`).
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28452 >
2024-04-01 20:21:44 +00:00
Eric Engestrom
891e2e42c6
ci: run python-test when editing the CI itself
...
Every job should have this.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28452 >
2024-04-01 20:21:44 +00:00
Eric Engestrom
182ff5dada
ci: fold .test-check into its only user, python-test
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28452 >
2024-04-01 20:21:44 +00:00
Vignesh Raman
3983ae89e9
Split debian-build-testing job
...
Split the build job from the shader-db tests so that the test
job can be rerun more reliably without hitting the timeout.
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/9513
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27507 >
2024-03-21 13:26:20 +00:00
Eric Engestrom
158e5882e9
ci/lavapipe: fold DEQP_VER: vk
and drop .deqp-test-vk
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27936 >
2024-03-06 08:54:11 +00:00
Mike Blumenkrantz
150525980e
ci: disable clang-format job
...
this is still killing merge pipelines
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27831 >
2024-02-28 09:05:07 +00:00
Mike Blumenkrantz
30b7771aa9
ci: make clang-format job warn on failure instead of killing the pipeline
...
it's insane to fail a pipeline over formatting errors.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27702 >
2024-02-21 12:04:08 +00:00
Pavel Ondračka
6fd41f5416
ci: uprev mesa-trigger container
...
Reviewed-by: Martin Roukala <martin.roukala@mupuf.org >
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26823 >
2024-01-08 16:19:20 +00:00
Vignesh Raman
2487e18d4e
ci: bare-metal: poe: Create strutured logs
...
Use the CustomLogger class and CLI tool to create strutured logs
for poe scripts which are used by broadcom and nouveau jobs.
Renamed stage lint to code-validation and added python-test job
which runs the tests for structured and customer logger to ci.
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25179 >
2023-12-19 10:09:35 +00:00
Eric Engestrom
b93d836e47
ci/b2c: rename B2C_TEST_SCRIPT to B2C_CONTAINER_CMD to match the automatic import
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26653 >
2023-12-13 18:29:23 +00:00
Eric Engestrom
ef0e8bae0d
ci/b2c: use envvars directly instead of converting them back and forth into cli args
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26653 >
2023-12-13 18:29:23 +00:00
Eric Engestrom
e157d67d39
ci/b2c: export B2C_TEST_SCRIPT
...
Next commit will use it.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26653 >
2023-12-13 18:29:23 +00:00
Eric Engestrom
850d3e28e5
ci/b2c: drop unused B2C_EXTRA_VOLUME_ARGS
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26653 >
2023-12-13 18:29:23 +00:00
Eric Engestrom
a10bd6fcb0
ci/b2c: fix indentation of comment and after_script: list
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26653 >
2023-12-13 18:29:23 +00:00
Eric Engestrom
918199a154
ci/b2c: stop ignoring errors in before_script
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26653 >
2023-12-13 18:29:23 +00:00
Eric Engestrom
6cc6ebde3a
ci/b2c: drop passthrough of unset CI_JOB_JWT
...
Fixes: dabc068e6c
("ci: Use ci-fairy minio login via token file")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26653 >
2023-12-13 18:29:23 +00:00
Eric Engestrom
d971e3ba45
ci: fix rules for formatting checks
...
Fixes: 70eff58767
("ci: allow hw jobs even if lint jobs fail for non-Marge pipelines")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26511 >
2023-12-07 07:27:11 +00:00
Faith Ekstrand
fde43e44e9
ci: Also rustfmt binaries
...
The standard name for an executable is main.rs. Also fix the rusticl
docs while we're at it.
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26546 >
2023-12-06 22:41:47 +00:00
Eric Engestrom
90a77f55de
ci: drop containers, builds, and tests from post-merge pipeline
...
All these jobs are redundant and a waste of resources:
- the containers have already been built & pushed in the merge pipeline
- the mesa build variants have already all passed
- the driver tests have already all passed
None of these jobs are doing anything useful in this pipeline, but it
costs a factor of 2x to our infrastructure, so let's remove them.
In other words, the only job left in the post-merge pipeline is the
`pages` job that deploys the update to the website.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26451 >
2023-12-06 08:26:04 +00:00
David Heidelberg
7d85656fa7
ci: tag sanity, rustfmt and clang-format job as a "placeholder" job
...
There is close to zero work needed to execute this job.
Should speed up the initial process of entering into pipeline tree
and also provide an opportunity for `aarch64` runners to engage sooner,
even when x86_64 machines are loaded.
Acked-by: Daniel Stone <daniels@collabora.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26125 >
2023-11-09 17:30:07 +00:00
David Heidelberg
5e44cee47d
ci: inject gfx-ci/linux S3 artifacts without rebuilding containers
...
We need update kernel often. We need test kernel changes often.
Introduced `KERNEL_EXTERNAL_TAG` to differ between `KERNEL_TAG` which is
also used to rebuild the containers. We don't need rebuild containers
for the external kernel, so this way we don't have to.
Updating kernel goes wruuuuuum.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23563 >
2023-11-07 12:22:09 +00:00