ci: dynamically add ci-large tag to certain jobs
Changes
1 files changed · +16 −0
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| .gitlab/job-config.yaml | modified | +16 | −0 | View file |
.gitlab/job-config.yaml
View filediff --git a/.gitlab/job-config.yaml b/.gitlab/job-config.yaml
index e69de29..87b1a95 100644
--- a/.gitlab/job-config.yaml
+++ b/.gitlab/job-config.yaml
@@ -0,0 +1,16 @@
+# Dertain packages require a lot of resources
+- conditions:
+ changed_aports:
+ - chromium
+ job_conditions:
+ - has_tag: x86_64
+ actions:
+ add_tags: [ci-large]
+
+# Larger rebuilds
+- conditions:
+ nr_changes: 5
+ job_conditions:
+ - has_tag: x86_64
+ actions:
+ add_tags: [ci-large]