[CI] Use node version 16 for all CI jobs

This commit is contained in:
Georg Krause 2022-02-17 12:29:51 +01:00
parent 7b74e55e7f
commit fcf55b598e
No known key found for this signature in database
GPG Key ID: FD479B9A4D48E632
1 changed files with 6 additions and 6 deletions

View File

@ -25,7 +25,7 @@ stages:
review_front: review_front:
interruptible: true interruptible: true
stage: review stage: review
image: node:12-buster image: node:16-buster
when: manual when: manual
allow_failure: true allow_failure: true
variables: variables:
@ -105,7 +105,7 @@ black:
- pip install black==19.10b0 - pip install black==19.10b0
script: script:
- black --check --diff api/ - black --check --diff api/
only: only:
changes: changes:
- api/**/* - api/**/*
@ -123,13 +123,13 @@ flake8:
key: "$CI_PROJECT_ID__flake8_pip_cache" key: "$CI_PROJECT_ID__flake8_pip_cache"
paths: paths:
- "$PIP_CACHE_DIR" - "$PIP_CACHE_DIR"
only: only:
changes: changes:
- api/**/* - api/**/*
eslint: eslint:
interruptible: true interruptible: true
image: node:12-buster image: node:16-buster
stage: lint stage: lint
allow_failure: true allow_failure: true
before_script: before_script:
@ -212,7 +212,7 @@ test_front:
build_front: build_front:
stage: build stage: build
image: node:12-buster image: node:16-buster
before_script: before_script:
- curl -L -o /usr/local/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 - 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 - chmod +x /usr/local/bin/jq
@ -281,7 +281,7 @@ docker_publish_stable_release:
script: script:
# Check if this is the latest release # 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=; - ./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)" - export minor="$(echo $CI_COMMIT_REF_NAME | cut -d '.' -f 1,2)"
- cd api - cd api
- docker buildx create --use --name A$CI_COMMIT_SHORT_SHA - docker buildx create --use --name A$CI_COMMIT_SHORT_SHA