Skip to content

Commit

Permalink
chore: CRW-4820 bump to node 18... (#2731)
Browse files Browse the repository at this point in the history
* 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
nickboldt and tolusha authored Aug 30, 2023
1 parent ba3aa89 commit 499bc11
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 17 deletions.
22 changes: 17 additions & 5 deletions .ci/openshift-ci/Dockerfile
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/
Expand All @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: 16.13.2
node-version: 18.16.1
- name: Build chectl
run: yarn
- name: Install codecov
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/minikube-chectl-commands-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install NodeJS
uses: actions/setup-node@v3
with:
node-version: 16.13.2
node-version: 18.16.1
- name: Build chectl
run: yarn
- name: Run e2e tests
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Install NodeJS
uses: actions/setup-node@v3
with:
node-version: 16.13.2
node-version: 18.16.1
- name: Build chectl
run: yarn
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/minikube-chectl-release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install NodeJS
uses: actions/setup-node@v3
with:
node-version: 16.13.2
node-version: 18.16.1
- name: Pack chectl binaries
run: yarn && npx oclif-dev pack --targets=linux-x64
- name: UnPack chectl binaries in $HOME/chectl
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install NodeJS
uses: actions/setup-node@v3
with:
node-version: 16.13.2
node-version: 18.16.1
- name: Build chectl
run: yarn
- name: Run eslint
Expand All @@ -42,7 +42,7 @@ jobs:
- name: Install NodeJS
uses: actions/setup-node@v3
with:
node-version: 16.13
node-version: 18.16.1
- name: Build chectl
run: yarn
- name: Build README.md
Expand All @@ -66,7 +66,7 @@ jobs:
- name: Install NodeJS
uses: actions/setup-node@v3
with:
node-version: 16.13
node-version: 18.16.1
- name: Build chectl
run: yarn
- name: Set up Go 1.15
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Install NodeJS
uses: actions/setup-node@v3
with:
node-version: 16.13
node-version: 18.16.1
- name: Generate tag utilities
id: TAG_UTIL
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Install NodeJS
uses: actions/setup-node@v3
with:
node-version: 16.13
node-version: 18.16.1
- name: Check existing tags
run: |
set +e
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"typescript-formatter": "7.2.2"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"files": [
"/bin",
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2463,7 +2463,7 @@ detect-newline@^3.0.0:

"devworkspace-operator@https://github.com/devfile/devworkspace-operator#main":
version "0.0.0"
resolved "https://github.com/devfile/devworkspace-operator#39be751bc9c99bdd2905b896c8a4f19c0f796d43"
resolved "https://github.com/devfile/devworkspace-operator#3889f6b588c292642300d175dc09a40ea73d9c5c"

diff-sequences@^29.4.2:
version "29.4.2"
Expand Down Expand Up @@ -2506,7 +2506,7 @@ ecc-jsbn@~0.1.1:

"eclipse-che-operator@https://github.com/eclipse-che/che-operator#main":
version "0.0.0"
resolved "https://github.com/eclipse-che/che-operator#1bd44bdb28d20716fb7523d83f249945334d9641"
resolved "https://github.com/eclipse-che/che-operator#6cf8df2b860b81ea53b3bc98aafe6c25a313aa7c"

editorconfig@^0.15.0:
version "0.15.3"
Expand Down

0 comments on commit 499bc11

Please sign in to comment.