-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: CRW-4820 bump to node 18... (#2731)
* chore: CRW-4820 bump to node 18 requirement Change-Id: If63b174ae61f8fef473c35d5ada426bc963b6359 Signed-off-by: Nick Boldt <[email protected]> * bump from node 16.13 and 16.13.2 to 18.16.1 Change-Id: Iaf15b8f16a799e7f5a2cba199fd7bff51ec61b58 Signed-off-by: Nick Boldt <[email protected]> * fix bad merge Change-Id: I004cb297833156ae182fd7bbb11377e97da50eb6 Signed-off-by: Nick Boldt <[email protected]> * Install node 18 for OpenShift tests Signed-off-by: Anatolii Bazko <[email protected]> * fix typo Signed-off-by: Anatolii Bazko <[email protected]> * fix typo Signed-off-by: Anatolii Bazko <[email protected]> * Install node 18 for OpenShift tests Signed-off-by: Anatolii Bazko <[email protected]> * Install node 18 for OpenShift tests (#2734) Signed-off-by: Anatolii Bazko <[email protected]> * chore: Revert Dockerfile for OpenShift CI (#2735) Signed-off-by: Anatolii Bazko <[email protected]> * bump to node 18 in .ci/openshift-ci/Dockerfile too Change-Id: I278dff1d88bfb51767d53a3e62f995b568dc1af1 Signed-off-by: Nick Boldt <[email protected]> * build a better chectl build environment for use with openshift-ci Change-Id: I4acfc99eae0a0e45804f4c2c54bfd73a4c4931e6 Signed-off-by: Nick Boldt <[email protected]> --------- Signed-off-by: Nick Boldt <[email protected]> Signed-off-by: Anatolii Bazko <[email protected]> Co-authored-by: Anatolii Bazko <[email protected]>
- Loading branch information
Showing
9 changed files
with
29 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# Copyright (c) 2019-2021 Red Hat, Inc. | ||
# Copyright (c) 2019-2023 Red Hat, Inc. | ||
# This program and the accompanying materials are made | ||
# available under the terms of the Eclipse Public License 2.0 | ||
# which is available at https://www.eclipse.org/legal/epl-2.0/ | ||
|
@@ -11,9 +11,21 @@ | |
# | ||
|
||
# Dockerfile to bootstrap build and test in openshift-ci | ||
FROM registry.access.redhat.com/ubi9/nodejs-18:1 | ||
# hadolint ignore=DL3002 | ||
USER 0 | ||
|
||
FROM registry.ci.openshift.org/openshift/release:golang-1.18 | ||
# hadolint ignore=DL3041 | ||
RUN dnf install -y -q --allowerasing --nobest nodejs-devel nodejs-libs \ | ||
# already installed or installed as deps: | ||
openssl openssl-devel ca-certificates make cmake cpp gcc gcc-c++ zlib zlib-devel brotli brotli-devel python3 nodejs-packaging && \ | ||
dnf update -y && dnf clean all && \ | ||
npm install -g [email protected] npm@9 && \ | ||
echo -n "node version: "; node -v; \ | ||
echo -n "npm version: "; npm -v; \ | ||
echo -n "yarn version: "; yarn -v | ||
|
||
RUN curl -sL https://rpm.nodesource.com/setup_16.x | bash - && \ | ||
yum-config-manager --add-repo https://dl.yarnpkg.com/rpm/yarn.repo && \ | ||
yum install -y yarn | ||
# to build chectl in this container, uncomment these lines | ||
# resulting tarball will be in /opt/app-root/src/chectl*.tgz | ||
# COPY . /opt/app-root/src | ||
# RUN yarn && yarn pack && yarn test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters