Skip to content

Commit bbd5d37

Browse files
committed
Merge branch 'feature/ARTESCA-13969' into q/129.0
2 parents cd508b1 + 3f045a4 commit bbd5d37

File tree

225 files changed

+6089
-16094
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

225 files changed

+6089
-16094
lines changed

.github/actions/bastion-ui-tests/action.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ inputs:
55
TEST_FILTERS:
66
description: "The test filter to use"
77
required: false
8-
default: "e2e"
8+
default: "integration"
99
TARGET_URL:
1010
description: "The URL to reach the UI"
1111
required: false
@@ -18,17 +18,31 @@ inputs:
1818
runs:
1919
using: "composite"
2020
steps:
21+
- name: Install Chromium on Bastion
22+
uses: ./.github/actions/run-command-ssh
23+
with:
24+
NODE: bastion
25+
COMMAND: |
26+
sudo yum clean all
27+
sudo yum install -y epel-release
28+
sudo yum -y update
29+
sudo yum install -y chromium
30+
2131
- name: Run UI tests from Bastion
2232
uses: ./.github/actions/run-command-ssh
2333
with:
2434
NODE: bastion
2535
COMMAND: |
2636
cd metalk8s/ui
2737
rm -rf babel.config.js
38+
#replace http://localhost in cypress/fixtures/deployed-ui-apps.json by ${{ inputs.TARGET_URL }}
39+
sed -i 's|http://localhost|${{ inputs.TARGET_URL }}|g' cypress/fixtures/deployed-ui-apps.json
2840
CYPRESS_BASE_URL=\"${{ inputs.TARGET_URL }}\" npm run \"test:${{ inputs.TEST_FILTERS }}\"
41+
2942
- name: Create dest directory
3043
shell: bash
3144
run: mkdir -p "${{ inputs.DEST_DIR }}"
45+
3246
- name: Collect cypress screenshots from Bastion
3347
shell: bash
3448
env:

.github/actions/destroy-cluster/action.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ runs:
9898
shell: bash
9999
env:
100100
TF_VAR_cloud: ${{ inputs.CLOUD }}
101+
TF_VAR_flavors_map: '{ ovh = { default = "d2-8", bastion = "b3-16" } }'
101102
MAX_RETRIES: "20"
102103
run: |
103104
for try in $(seq 1 ${MAX_RETRIES}); do

.github/actions/spawn-cluster/action.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ runs:
134134
TF_VAR_rhsm_username: "${{ inputs.rhsm-username }}"
135135
TF_VAR_rhsm_password: "${{ inputs.rhsm-password }}"
136136
TF_VAR_ingress_remote_ip_prefix: "${{ inputs.AUTHORIZED_CIDRS }}"
137+
TF_VAR_flavors_map: '{ ovh = { default = "d2-8", bastion = "b3-16" } }'
137138
MAX_RETRIES: "3"
138139
TFVARS_DIR: "${{ github.workspace }}/.github/spawn/tfvars"
139140
run: |

.github/workflows/pre-merge.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ jobs:
420420
tags: ghcr.io/${{ github.repository_owner }}/metalk8s-nginx-integration-tests:${{ github.sha }}
421421

422422
integration_tests_ui:
423-
runs-on: ubuntu-20.04
423+
runs-on: ubuntu-22.04-8core
424424
needs:
425425
- build_integration_container_nginx
426426
- changed-files
@@ -456,7 +456,7 @@ jobs:
456456
- name: Install Cypress and its dependencies
457457
run: |
458458
cd ui
459-
PKGS="har-validator cypress cypress-cucumber-preprocessor cypress-wait-until @testing-library/cypress"
459+
PKGS="har-validator cypress cypress-wait-until @testing-library/cypress querystring"
460460
for pkg in $PKGS; do
461461
npm install --no-save --no-package-lock --legacy-peer-deps $pkg@$(node -p \
462462
-e "require('./package-lock.json').dependencies['$pkg'].version" \

VERSION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
VERSION_MAJOR=129
22
VERSION_MINOR=0
3-
VERSION_PATCH=0
4-
VERSION_SUFFIX=-dev
3+
VERSION_PATCH=2
4+
VERSION_SUFFIX=

buildchain/buildchain/versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def load_version_information() -> None:
8383
ETCD_VERSION: str = "3.5.15"
8484
ETCD_IMAGE_VERSION: str = f"{ETCD_VERSION}-0"
8585
NGINX_IMAGE_VERSION: str = "1.27.2-alpine"
86-
NODEJS_IMAGE_VERSION: str = "16.14.0"
86+
NODEJS_IMAGE_VERSION: str = "20.11.1"
8787
KEEPALIVED_VERSION: str = "2.3.1"
8888
CERT_MANAGER_VERSION: str = "1.16.1"
8989

0 commit comments

Comments
 (0)