summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Cardace <acardace@redhat.com>2020-03-18 17:25:59 +0100
committerAntonio Cardace <acardace@redhat.com>2020-03-18 17:40:59 +0100
commit17082a868ed5427a5a95de8bada9834b727ea07e (patch)
tree74b7c6c4157d8e3195fa4a767e17efaad5538526
parent968e7898e6f8edb5a11a22f68f68622f44f5ef97 (diff)
downloadNetworkManager-17082a868ed5427a5a95de8bada9834b727ea07e.tar.gz
gitlab-ci: use ruby:2.7 for triage pipeline
This fixes the pipeline as 'gem' will be installed by default in the container image. Also fix wording and run gitlab-triage in debug mode to get more output.
-rw-r--r--.gitlab-ci.yml3
-rw-r--r--.triage-policies.yml10
2 files changed, 7 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index acd13415a4..ec64135be5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -200,8 +200,9 @@ pages:
triage:issues:
stage: triage
+ image: ruby:2.7
script:
- gem install gitlab-triage
- - gitlab-triage --token $API_TOKEN --source-id $SOURCE_ID
+ - gitlab-triage -d --token $API_TOKEN --source-id $SOURCE_ID
only:
- schedules
diff --git a/.triage-policies.yml b/.triage-policies.yml
index 0d28577091..dfa23e2603 100644
--- a/.triage-policies.yml
+++ b/.triage-policies.yml
@@ -3,7 +3,7 @@ host_url: https://gitlab.freedesktop.org
resource_rules:
issues:
rules:
- - name: Close issues with not activity for 6 months
+ - name: Close issues with no activity for 6 months
conditions:
date:
attribute: updated_at
@@ -13,11 +13,11 @@ resource_rules:
state: opened
actions:
comment: |
- "This issue has been inactive for 6 months, closing automatically, please reopen if you think the issue is still relevant."
+ This issue has been inactive for 6 months, closing automatically, please reopen if you think the issue is still relevant.
status: close
labels:
- auto-closed
- - name: Close RFE with not activity for 12 months
+ - name: Close RFE with no activity for 12 months
conditions:
date:
attribute: updated_at
@@ -29,7 +29,7 @@ resource_rules:
- enhancement
actions:
comment: |
- "This enhancement issue has been inactive for 12 months, closing automatically, please reopen if you think the issue is still relevant."
+ This enhancement issue has been inactive for 12 months, closing automatically, please reopen if you think the issue is still relevant.
status: close
labels:
- auto-closed
@@ -53,7 +53,7 @@ resource_rules:
state: opened
actions:
comment: |
- "This MR has been inactive for more than 2 months, closing automatically, please reopen if you think it is still relevant."
+ This MR has been inactive for more than 2 months, closing automatically, please reopen if you think it is still relevant.
status: close
labels:
- auto-closed