From 58c67cd451fa436f7fd2c72e43ad81cdfa7ab6bd Mon Sep 17 00:00:00 2001 From: Paul van Genuchten Date: Thu, 19 Sep 2024 17:03:23 +0200 Subject: [PATCH 1/2] update CI --- .gitlab-ci.yml | 4 ++-- .releaserc.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c9e359e..6834dcb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,7 @@ tag: - semantic-release when: on_success only: - - isric2 + - dev except: refs: - tags @@ -65,7 +65,7 @@ Link-check-dev: rules: - if: $PROJECT != "LINKCHECK" when: never - - if: $CI_COMMIT_BRANCH == "isric2" + - if: $CI_COMMIT_BRANCH == "dev" Link-check-prod: image: harbor.containers.wurnet.nl/proxy-cache/library/python:3.10.8-slim-buster diff --git a/.releaserc.yaml b/.releaserc.yaml index b119a9e..e7dd656 100644 --- a/.releaserc.yaml +++ b/.releaserc.yaml @@ -1,6 +1,6 @@ plugins: - "@semantic-release/gitlab" -branches: ['isric2'] +branches: ['dev'] ci: true debug: true dryRun: false From 9550dee0ed8d8f2039e57a7750ab1a1004cbb74f Mon Sep 17 00:00:00 2001 From: Paul van Genuchten Date: Fri, 27 Sep 2024 12:20:42 +0200 Subject: [PATCH 2/2] add timeout --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6834dcb..143a41e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -53,6 +53,7 @@ build: Link-check-dev: image: harbor.containers.wurnet.nl/proxy-cache/library/python:3.10.8-slim-buster stage: run-harvest + timeout: 4 hours script: - export POSTGRES_HOST=$POSTGRES_HOST_TEST - export POSTGRES_PORT=$POSTGRES_PORT_TEST @@ -70,6 +71,7 @@ Link-check-dev: Link-check-prod: image: harbor.containers.wurnet.nl/proxy-cache/library/python:3.10.8-slim-buster stage: run-harvest + timeout: 4 hours script: - export POSTGRES_HOST=$POSTGRES_HOST_TEST - export POSTGRES_PORT=$POSTGRES_PORT_TEST