Skip to content
Snippets Groups Projects

gitlab-ci: Cope with OBS slowdown

Merged Emanuele Aina requested to merge wip/em/cope-with-slower-obs into master
+ 13
2
@@ -18,6 +18,13 @@ variables:
For instance use `*` to process all updates, `dash` to only process `pkg/dash`.
Leave it empty to not trigger any update.
value: ""
SKIP_OBS:
description: |
The OBS 2.10 update made things sensibly slower, causing timeouts in the
packaging-data-fetch-obs job. Disable it for now.
See https://phabricator.apertis.org/T8880
value: "yes"
stages:
- lint
@@ -194,7 +201,7 @@ packaging-data-fetch-binaries-published:
packaging-data-fetch-obs:
stage: fetch
timeout: 1h 30m
timeout: 3h
tags:
- lightweight
before_script:
@@ -214,6 +221,8 @@ packaging-data-fetch-obs:
paths:
- packaging-data-obs.yaml
rules:
- if: $SKIP_OBS == "yes"
when: never
- if: $TRIGGER_FROM_JOB
when: never
- if: $CI_PIPELINE_SOURCE != "merge_request_event"
@@ -249,7 +258,7 @@ storage-usage:
artifacts:
paths:
- storage.yaml
timeout: 1h 30m
timeout: 3h
rules:
- if: $TRIGGER_FROM_JOB
when: never
@@ -263,6 +272,8 @@ packaging-check-invariants:
python3-gitlab
python3-yaml
script:
- |
test "$SKIP_OBS" = yes && echo '{}' > packaging-data-obs.yaml
- ./bin/yaml-merge
--input packaging-data-downstream.yaml
--input packaging-data-sources-upstream.yaml
Loading