|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging-4.19] CI: Remove deprecated "only:variables" in favor of "rules:if"
commit 7efd283a6fdad20a54ec54646ab83e4aa739b050
Author: Anthony PERARD <anthony.perard@xxxxxxxxxx>
AuthorDate: Tue Nov 19 10:15:27 2024 +0000
Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Fri May 9 22:45:20 2025 +0100
CI: Remove deprecated "only:variables" in favor of "rules:if"
Also, this prevent using "rules", like in the ".test-jobs-common"
template.
https://docs.gitlab.com/ee/ci/yaml/#only--except
Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
(cherry picked from commit 5726d8e5ef1852be90c9c05f08259b6a4f0ebb5e)
---
automation/gitlab-ci/test.yaml | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml
index 325be5dc49..dbd4a1d6a9 100644
--- a/automation/gitlab-ci/test.yaml
+++ b/automation/gitlab-ci/test.yaml
@@ -98,9 +98,8 @@
- '*.log'
- '*.dtb'
when: always
- only:
- variables:
- - $XILINX_JOBS == "true" && $CI_COMMIT_REF_PROTECTED == "true"
+ rules:
+ - if: $XILINX_JOBS == "true" && $CI_COMMIT_REF_PROTECTED == "true"
tags:
- xilinx
@@ -117,9 +116,8 @@
- smoke.serial
- '*.log'
when: always
- only:
- variables:
- - $XILINX_JOBS == "true" && $CI_COMMIT_REF_PROTECTED == "true"
+ rules:
+ - if: $XILINX_JOBS == "true" && $CI_COMMIT_REF_PROTECTED == "true"
tags:
- xilinx
@@ -137,9 +135,8 @@
- smoke.serial
- '*.log'
when: always
- only:
- variables:
- - $QUBES_JOBS == "true" && $CI_COMMIT_REF_PROTECTED == "true"
+ rules:
+ - if: $QUBES_JOBS == "true" && $CI_COMMIT_REF_PROTECTED == "true"
tags:
- qubes-hw2
--
generated by git-patchbot for /home/xen/git/xen.git#staging-4.19
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |