Update node Docker tag to v16
This commit is contained in:
parent
fee31bb65d
commit
11f103a8c6
|
@ -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:
|
||||||
|
@ -123,7 +123,7 @@ flake8:
|
||||||
|
|
||||||
eslint:
|
eslint:
|
||||||
interruptible: true
|
interruptible: true
|
||||||
image: node:12-buster
|
image: node:16-buster
|
||||||
stage: lint
|
stage: lint
|
||||||
before_script:
|
before_script:
|
||||||
- cd front
|
- cd front
|
||||||
|
@ -187,7 +187,7 @@ test_api_3.10:
|
||||||
test_front:
|
test_front:
|
||||||
interruptible: true
|
interruptible: true
|
||||||
stage: test
|
stage: test
|
||||||
image: node:12-buster
|
image: node:16-buster
|
||||||
before_script:
|
before_script:
|
||||||
- cd front
|
- cd front
|
||||||
only:
|
only:
|
||||||
|
@ -241,7 +241,7 @@ build_docs:
|
||||||
|
|
||||||
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
|
||||||
|
@ -310,7 +310,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
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM node:12-buster
|
FROM node:16-buster
|
||||||
|
|
||||||
# needed to compile translations
|
# needed to compile translations
|
||||||
RUN 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
|
RUN 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
|
||||||
|
|
Loading…
Reference in New Issue