From fcf55b598e525c33a5ed5e3e15f5f14779a9f276 Mon Sep 17 00:00:00 2001 From: Georg Krause Date: Thu, 17 Feb 2022 12:29:51 +0100 Subject: [PATCH] [CI] Use node version 16 for all CI jobs --- .gitlab-ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 88fe3be0a..6d76376b9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,7 +25,7 @@ stages: review_front: interruptible: true stage: review - image: node:12-buster + image: node:16-buster when: manual allow_failure: true variables: @@ -105,7 +105,7 @@ black: - pip install black==19.10b0 script: - black --check --diff api/ - only: + only: changes: - api/**/* @@ -123,13 +123,13 @@ flake8: key: "$CI_PROJECT_ID__flake8_pip_cache" paths: - "$PIP_CACHE_DIR" - only: + only: changes: - api/**/* eslint: interruptible: true - image: node:12-buster + image: node:16-buster stage: lint allow_failure: true before_script: @@ -212,7 +212,7 @@ test_front: build_front: stage: build - image: node:12-buster + image: node:16-buster before_script: - curl -L -o /usr/local/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 - chmod +x /usr/local/bin/jq @@ -281,7 +281,7 @@ docker_publish_stable_release: script: # Check if this is the latest release - ./docs/get-releases-json.py | scripts/is-docker-latest.py $CI_COMMIT_TAG - && export DOCKER_LATEST_TAG="-t $IMAGE_LATEST" || export DOCKER_LATEST_TAG=; - - export major="$(echo $CI_COMMIT_REF_NAME | cut -d '.' -f 1)" + - export major="$(echo $CI_COMMIT_REF_NAME | cut -d '.' -f 1)" - export minor="$(echo $CI_COMMIT_REF_NAME | cut -d '.' -f 1,2)" - cd api - docker buildx create --use --name A$CI_COMMIT_SHORT_SHA