Skip to content
Snippets Groups Projects
Verified Commit 3a5d8c03 authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

Skip CI on release branches since this always fails anyway

parent 1c2b47fa
No related branches found
No related tags found
1 merge request!316Replace Sphinx with MkDocs
Pipeline #90758 passed
...@@ -13,10 +13,10 @@ run-tox-pipeline: ...@@ -13,10 +13,10 @@ run-tox-pipeline:
tags: tags:
- docker-executor - docker-executor
image: python:3.12 image: python:3.12
except:
- /^release\/*/
services: services:
- postgres:14 - postgres:14
# Change pip's cache directory to be inside the project directory since we can # Change pip's cache directory to be inside the project directory since we can
# only cache local items. # only cache local items.
variables: variables:
...@@ -25,22 +25,18 @@ run-tox-pipeline: ...@@ -25,22 +25,18 @@ run-tox-pipeline:
POSTGRES_PASSWORD: nwa POSTGRES_PASSWORD: nwa
DATABASE_HOST: "postgres" DATABASE_HOST: "postgres"
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
cache: cache:
key: tox-virtualenv key: tox-virtualenv
paths: paths:
- .cache/pip - .cache/pip
- venv/ - venv/
before_script: before_script:
- pip install virtualenv - pip install virtualenv
- virtualenv venv - virtualenv venv
- . venv/bin/activate - . venv/bin/activate
- pip install tox - pip install tox
script: script:
- tox - tox
artifacts: artifacts:
paths: paths:
- htmlcov - htmlcov
...@@ -51,12 +47,10 @@ build-documentation: ...@@ -51,12 +47,10 @@ build-documentation:
tags: tags:
- docker-executor - docker-executor
image: python:3.12 image: python:3.12
before_script: before_script:
- cd $CI_PROJECT_DIR/docs - cd $CI_PROJECT_DIR/docs
script: script:
- /bin/sh ./build-docs.sh - /bin/sh ./build-docs.sh
artifacts: artifacts:
paths: paths:
- docs/public - docs/public
...@@ -67,17 +61,14 @@ lint-documentation: ...@@ -67,17 +61,14 @@ lint-documentation:
image: image:
name: jdkato/vale:latest name: jdkato/vale:latest
entrypoint: [""] entrypoint: [""]
tags: tags:
- docker-executor - docker-executor
needs: needs:
- job: build-documentation # Only run when documentation has been built - job: build-documentation # Only run when documentation has been built
artifacts: true artifacts: true
before_script: before_script:
- cd $CI_PROJECT_DIR/docs/vale - cd $CI_PROJECT_DIR/docs/vale
- vale sync - vale sync
script: script:
- vale --glob='!*/migrations/*' $CI_PROJECT_DIR/docs/source $CI_PROJECT_DIR/gso/ - vale --glob='!*/migrations/*' $CI_PROJECT_DIR/docs/source $CI_PROJECT_DIR/gso/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment