This repository was archived by the owner on Sep 7, 2020. It is now read-only.
Commit 41f86c7
committed
ci: certification: clean up the repository manually
The certification tests generate files owned by root, since the
different sigma agents need to run as root.
To prevent the next job from failing to remove files owned by root,
the files have their ownership reset at the end of every job (by the
run_test_file.py script).
When a job is canceled however, there is no way to change the
ownership of those files, neither is there a way to remove them at the
next run (because the very first thing the gitlab-runner does is to
try to remove them).
Set the clean flags to 'none', so that gitlab-runner doesn't do any
cleanup at all, and do the cleanup ourselves.
While we're at it, also remove the 'echo $CI_COMMIT_DESCRIPTION'
leftover.
It still won't allow us to mark the certification tests as
interruptible, because the UCC does not terminate properly when
canceling a job anyway.
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>1 parent 76469dd commit 41f86c7
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
| 333 | + | |
333 | 334 | | |
334 | 335 | | |
335 | 336 | | |
| |||
341 | 342 | | |
342 | 343 | | |
343 | 344 | | |
| 345 | + | |
344 | 346 | | |
345 | 347 | | |
346 | 348 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | | - | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
0 commit comments