mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-10 02:22:57 +01:00
Add node@18 to the build matrix for the GitLab image
See: https://gitlab.com/gitlab-org/gitlab/-/issues/385512
This commit is contained in:
parent
40de346eb3
commit
8af15e7962
3 changed files with 4 additions and 3 deletions
|
|
@ -17,7 +17,7 @@ gitlab:
|
||||||
POSTGRESQL: ['11', '12', '13']
|
POSTGRESQL: ['11', '12', '13']
|
||||||
GOLANG: ['1.18', '1.19']
|
GOLANG: ['1.18', '1.19']
|
||||||
RUST: ['1.65.0']
|
RUST: ['1.65.0']
|
||||||
NODE: ['16.14']
|
NODE: ['16.14', '18.12']
|
||||||
CHROME: ['106', '107']
|
CHROME: ['106', '107']
|
||||||
|
|
||||||
# Used by GitLab's compile-production-assets and compile-test-assets jobs
|
# Used by GitLab's compile-production-assets and compile-test-assets jobs
|
||||||
|
|
@ -36,7 +36,7 @@ gitlab-assets:
|
||||||
- OS: ['debian:bullseye']
|
- OS: ['debian:bullseye']
|
||||||
RUBY: ['2.7', '3.0']
|
RUBY: ['2.7', '3.0']
|
||||||
GIT: ['2.33']
|
GIT: ['2.33']
|
||||||
NODE: ['16.14']
|
NODE: ['16.14', '18.12']
|
||||||
|
|
||||||
# Used by GitLab's Review app jobs
|
# Used by GitLab's Review app jobs
|
||||||
gitlab-review-app:
|
gitlab-review-app:
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
set -xeuo pipefail
|
set -xeuo pipefail
|
||||||
IFS=$'\n\t'
|
IFS=$'\n\t'
|
||||||
|
|
||||||
NODE_INSTALL_VERSION=${1:-16.14.2}
|
NODE_INSTALL_VERSION=${1:-18.12.1}
|
||||||
YARN_INSTALL_VERSION=${2:-1.22.17}
|
YARN_INSTALL_VERSION=${2:-1.22.17}
|
||||||
|
|
||||||
# Map MAJOR.MINOR.patch -> MAJOR.x
|
# Map MAJOR.MINOR.patch -> MAJOR.x
|
||||||
|
|
|
||||||
|
|
@ -138,6 +138,7 @@ function print_node_args() {
|
||||||
14.15) NODE_INSTALL_VERSION=14.15.4 ;;
|
14.15) NODE_INSTALL_VERSION=14.15.4 ;;
|
||||||
14|14.16) NODE_INSTALL_VERSION=14.16.0 ;;
|
14|14.16) NODE_INSTALL_VERSION=14.16.0 ;;
|
||||||
16|16.14) NODE_INSTALL_VERSION=16.14.2 ;;
|
16|16.14) NODE_INSTALL_VERSION=16.14.2 ;;
|
||||||
|
18|18.12) NODE_INSTALL_VERSION=18.12.1 ;;
|
||||||
*) fail "Unknown node version $1" ;;
|
*) fail "Unknown node version $1" ;;
|
||||||
esac
|
esac
|
||||||
printf -- "--build-arg NODE_INSTALL_VERSION=%s " "$NODE_INSTALL_VERSION"
|
printf -- "--build-arg NODE_INSTALL_VERSION=%s " "$NODE_INSTALL_VERSION"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue