Skip to content

Commit

Permalink
Bump node version
Browse files Browse the repository at this point in the history
Signed-off-by: Yaacov Zamir <[email protected]>
  • Loading branch information
yaacov committed Feb 7, 2024
1 parent 6e6c482 commit ef37176
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/on-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20

- name: Install dependencies
run: npm install
Expand Down
2 changes: 1 addition & 1 deletion build/Containerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Builder container
FROM registry.access.redhat.com/ubi9/nodejs-16 AS build
FROM registry.access.redhat.com/ubi9/nodejs-18 AS build

# VERSION default value should match the forklift-console-plugin package version
# The VERSION value can be customize during build by using --build-arg:
Expand Down
5 changes: 5 additions & 0 deletions packages/mocks/src/definitions/basic/namespaces.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const MOCK_OPENSHIFT_NAMESPACES: { [uid in OpenshiftProviderIDs]: OpenShi
[OPENSHIFT_HOST_UID]: [
{
uid: '11a0375f-f33e-489b-812a-d9a0929388ae',
id: '11a0375f-f33e-489b-812a-d9a0929388ae',
version: '12515',
namespace: '',
name: NAMESPACE_MIGRATION,
Expand All @@ -23,6 +24,7 @@ export const MOCK_OPENSHIFT_NAMESPACES: { [uid in OpenshiftProviderIDs]: OpenShi
},
{
uid: '68d88b58-22f4-49ba-8665-74f4256aa617',
id: '68d88b58-22f4-49ba-8665-74f4256aa617',
version: '12558',
namespace: '',
name: NAMESPACE_FORKLIFT,
Expand All @@ -34,6 +36,7 @@ export const MOCK_OPENSHIFT_NAMESPACES: { [uid in OpenshiftProviderIDs]: OpenShi
[OPENSHIFT_01_UID]: [
{
uid: '338c69a1-bee1-40a9-af33-e83b0ec3cb99',
id: '338c69a1-bee1-40a9-af33-e83b0ec3cb99',
version: '191',
namespace: '',
name: 'example-namespace-1',
Expand All @@ -45,6 +48,7 @@ export const MOCK_OPENSHIFT_NAMESPACES: { [uid in OpenshiftProviderIDs]: OpenShi
[OPENSHIFT_02_UID]: [
{
uid: '287d34b7-763f-4065-ba3a-2b7d6440baf6',
id: '287d34b7-763f-4065-ba3a-2b7d6440baf6',
version: '814',
namespace: '',
name: 'example-namespace-2',
Expand All @@ -56,6 +60,7 @@ export const MOCK_OPENSHIFT_NAMESPACES: { [uid in OpenshiftProviderIDs]: OpenShi
[OPENSHIFT_03_UID]: [
{
uid: 'c4f375bb-39dc-4276-913e-0d4c43691d2f',
id: 'c4f375bb-39dc-4276-913e-0d4c43691d2f',
version: '51',
namespace: '',
name: 'example-namespace-3',
Expand Down
5 changes: 5 additions & 0 deletions packages/mocks/src/definitions/basic/networks.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ export const MOCK_OPENSHIFT_NETWORKS: {
[OPENSHIFT_HOST_UID]: [
{
uid: 'e49f7782-7c59-4343-aac4-59a420201d07',
id: 'e49f7782-7c59-4343-aac4-59a420201d07',
version: '13180',
namespace: NAMESPACE_FORKLIFT,
name: 'example-network-1',
Expand All @@ -195,6 +196,7 @@ export const MOCK_OPENSHIFT_NETWORKS: {
},
{
uid: '8b6f4200-cba6-4579-8edd-ea08b7ddd97b',
id: '8b6f4200-cba6-4579-8edd-ea08b7ddd97b',
version: '13',
namespace: NAMESPACE_MIGRATION,
name: 'example-network-2',
Expand All @@ -215,6 +217,7 @@ export const MOCK_OPENSHIFT_NETWORKS: {
[OPENSHIFT_01_UID]: [
{
uid: 'foo-network-uid-1',
id: 'foo-network-uid-1',
namespace: 'remote-namespace-1',
name: 'ocp-network-1',
version: '1',
Expand All @@ -234,6 +237,7 @@ export const MOCK_OPENSHIFT_NETWORKS: {
[OPENSHIFT_02_UID]: [
{
uid: 'foo-network-uid-2',
id: 'foo-network-uid-2',
namespace: 'remote-namespace-2',
name: 'ocp-network-2',
version: '1',
Expand All @@ -254,6 +258,7 @@ export const MOCK_OPENSHIFT_NETWORKS: {
[OPENSHIFT_03_UID]: [
{
uid: 'foo-network-uid-3',
id: 'foo-network-uid-3',
namespace: 'remote-namespace-3',
version: '1',
name: 'ocp-network-3',
Expand Down
4 changes: 4 additions & 0 deletions packages/mocks/src/definitions/basic/providers.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export const vmwareProvider1: VSphereProvider = {
datastoreCount: 3,
datacenterCount: 0,
apiVersion: 'v1beta1',
id: '',
};

const vmwareProvider2: VSphereProvider = {
Expand Down Expand Up @@ -230,6 +231,7 @@ const rhvProvider1: OVirtProvider = {
vmCount: 36,
networkCount: 15,
storageDomainCount: 9,
id: '',
};

const rhvProvider1i: OVirtProvider = {
Expand Down Expand Up @@ -314,6 +316,7 @@ const openstackProvider1: OpenstackProvider = {
volumeCount: 5,
volumeTypeCount: 2,
networkCount: 3,
id: '',
};

const openstackProvider2: OpenstackProvider = {
Expand Down Expand Up @@ -371,6 +374,7 @@ export const openshiftProvider1: OpenshiftProvider = {
},
vmCount: 26,
networkCount: 8,
id: '',
};

const openshiftProvider2: OpenshiftProvider = {
Expand Down
6 changes: 6 additions & 0 deletions packages/mocks/src/definitions/basic/storages.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ export const MOCK_OPENSHIFT_STORAGE_CLASS: {
[OPENSHIFT_HOST_UID]: [
{
uid: 'e9a5e83b-235c-4c75-92d1-2fcab54f6919',
id: 'e9a5e83b-235c-4c75-92d1-2fcab54f6919',
version: '269',
namespace: '',
name: 'standard',
Expand All @@ -282,6 +283,7 @@ export const MOCK_OPENSHIFT_STORAGE_CLASS: {
},
{
uid: 'uid-1',
id: 'uid-1',
version: '1',
namespace: '',
name: 'large',
Expand All @@ -298,6 +300,7 @@ export const MOCK_OPENSHIFT_STORAGE_CLASS: {
},
{
uid: 'uid-2',
id: 'uid-2',
version: '1',
namespace: '',
name: 'small',
Expand All @@ -316,6 +319,7 @@ export const MOCK_OPENSHIFT_STORAGE_CLASS: {
[OPENSHIFT_01_UID]: [
{
uid: 'test-1',
id: 'test-1',
version: '1',
namespace: '',
name: 'standard',
Expand All @@ -337,6 +341,7 @@ export const MOCK_OPENSHIFT_STORAGE_CLASS: {
[OPENSHIFT_02_UID]: [
{
uid: 'test-2',
id: 'test-2',
version: '1',
namespace: '',
name: 'standard',
Expand All @@ -358,6 +363,7 @@ export const MOCK_OPENSHIFT_STORAGE_CLASS: {
[OPENSHIFT_03_UID]: [
{
uid: 'test-3',
id: 'test-3',
version: '1',
namespace: '',
name: 'standard',
Expand Down
2 changes: 2 additions & 0 deletions packages/mocks/src/definitions/basic/vms.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ export const MOCK_OPENSHIFT_VMS: { [uid in OpenshiftProviderIDs]: OpenshiftVM[]
namespace: NAMESPACE_FORKLIFT,
selfLink: `providers/openshift/${OPENSHIFT_HOST_UID}/vms/3dcaf3ec-6b51-4ca0-8345-6d61841731d7`,
uid: '3dcaf3ec-6b51-4ca0-8345-6d61841731d7',
id: '3dcaf3ec-6b51-4ca0-8345-6d61841731d7',
version: '',
object: {
kind: 'VirtualMachine',
Expand Down Expand Up @@ -501,6 +502,7 @@ export const MOCK_OPENSHIFT_VMS: { [uid in OpenshiftProviderIDs]: OpenshiftVM[]
namespace: NAMESPACE_FORKLIFT,
selfLink: `providers/openshift/${OPENSHIFT_HOST_UID}/vms/029b9890-259e-4ade-b22f-3991c3359062`,
uid: '029b9890-259e-4ade-b22f-3991c3359062',
id: '029b9890-259e-4ade-b22f-3991c3359062',
version: '',
providerType: 'openshift',
object: {
Expand Down

0 comments on commit ef37176

Please sign in to comment.