From ee4c157c542b036ea69045aa07ecfc50e750d7a9 Mon Sep 17 00:00:00 2001 From: Viet Nguyen Duc Date: Tue, 4 Mar 2025 19:46:32 +0000 Subject: [PATCH 1/4] Docker: Firefox stable latest version for ARM64 Signed-off-by: Viet Nguyen Duc --- .github/workflows/helm-chart-test.yml | 42 ++++++++++---------- .github/workflows/k8s-scaling-test.yml | 54 ++++++++++++++------------ Makefile | 4 +- NodeFirefox/Dockerfile | 2 +- tests/charts/make/chart_setup_env.sh | 28 ++++++++----- 5 files changed, 73 insertions(+), 57 deletions(-) diff --git a/.github/workflows/helm-chart-test.yml b/.github/workflows/helm-chart-test.yml index 2d008b7c10..18dcba271c 100644 --- a/.github/workflows/helm-chart-test.yml +++ b/.github/workflows/helm-chart-test.yml @@ -40,68 +40,68 @@ jobs: matrix: include: - k8s-version: 'v1.26.15' - test-strategy: disabled cluster: 'minikube' helm-version: 'v3.11.3' docker-version: '26.1.4' - python-version: '3.8' + python-version: '3.9' test-upgrade: true service-mesh: false - os: ubuntu-24.04 + os: ubuntu-22.04 + test-strategy: disabled - k8s-version: 'v1.27.16' - test-strategy: job cluster: 'minikube' helm-version: 'v3.12.3' docker-version: '26.1.4' python-version: '3.9' test-upgrade: true service-mesh: true - os: ubuntu-24.04 + os: ubuntu-22.04 + test-strategy: job - k8s-version: 'v1.28.15' - test-strategy: deployment cluster: 'minikube' helm-version: 'v3.13.3' docker-version: '26.1.4' python-version: '3.10' test-upgrade: true service-mesh: true - os: ubuntu-24.04 - - k8s-version: 'v1.29.13' - test-strategy: job_https + os: ubuntu-22.04 + test-strategy: deployment + - k8s-version: 'v1.29.14' cluster: 'minikube' helm-version: 'v3.14.3' docker-version: '27.5.1' python-version: '3.11' test-upgrade: true service-mesh: false - os: ubuntu-24.04 - - k8s-version: 'v1.30.9' - test-strategy: job_hostname + os: ubuntu-22.04 + test-strategy: job_https + - k8s-version: 'v1.30.10' cluster: 'minikube' helm-version: 'v3.15.4' docker-version: '27.5.1' python-version: '3.12' test-upgrade: true service-mesh: false - os: ubuntu-24.04 - - k8s-version: 'v1.31.5' - test-strategy: deployment_https + os: ubuntu-22.04 + test-strategy: job_hostname + - k8s-version: 'v1.31.6' cluster: 'minikube' helm-version: 'v3.16.4' - docker-version: '28.0.1' + docker-version: '27.4.1' python-version: '3.13' test-upgrade: true service-mesh: false - os: ubuntu-24.04 - - k8s-version: 'v1.32.1' - test-strategy: playwright_connect_grid + os: ubuntu-22.04 + test-strategy: deployment_https + - k8s-version: 'v1.32.2' cluster: 'minikube' helm-version: 'v3.17.0' - docker-version: '28.0.1' + docker-version: '26.1.4' python-version: '3.10' test-upgrade: true service-mesh: true - os: ubuntu-24.04 + os: ubuntu-22.04 + test-strategy: playwright_connect_grid env: CLUSTER: ${{ matrix.cluster }} KUBERNETES_VERSION: ${{ matrix.k8s-version }} diff --git a/.github/workflows/k8s-scaling-test.yml b/.github/workflows/k8s-scaling-test.yml index e9ee8e1bce..9d6b2683da 100644 --- a/.github/workflows/k8s-scaling-test.yml +++ b/.github/workflows/k8s-scaling-test.yml @@ -56,47 +56,53 @@ env: jobs: build-and-test: name: Test K8s - runs-on: ubuntu-24.04 + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: include: - - k8s-version: 'v1.31.5' + - k8s-version: 'v1.27.16' + cluster: 'minikube' + helm-version: 'v3.12.3' + docker-version: '26.1.4' + python-version: '3.9' + os: ubuntu-22.04 test-strategy: test_k8s_autoscaling_job_count_strategy_default_in_chaos + - k8s-version: 'v1.28.15' cluster: 'minikube' - helm-version: 'v3.16.4' - docker-version: '28.0.1' - python-version: '3.13' - - k8s-version: 'v1.31.5' + helm-version: 'v3.13.3' + docker-version: '26.1.4' + python-version: '3.10' + os: ubuntu-22.04 test-strategy: test_k8s_autoscaling_job_count_strategy_default_with_node_max_sessions + - k8s-version: 'v1.29.14' cluster: 'minikube' - helm-version: 'v3.16.4' - docker-version: '28.0.1' - python-version: '3.13' - - k8s-version: 'v1.31.5' + helm-version: 'v3.14.3' + docker-version: '27.5.1' + python-version: '3.11' + os: ubuntu-22.04 test-strategy: test_k8s_autoscaling_job_count_strategy_default + - k8s-version: 'v1.30.10' cluster: 'minikube' - helm-version: 'v3.16.4' - docker-version: '28.0.1' - python-version: '3.13' - - k8s-version: 'v1.31.5' + helm-version: 'v3.15.4' + docker-version: '27.5.1' + python-version: '3.12' + os: ubuntu-22.04 test-strategy: test_k8s_autoscaling_deployment_count_in_chaos + - k8s-version: 'v1.31.6' cluster: 'minikube' helm-version: 'v3.16.4' - docker-version: '28.0.1' + docker-version: '27.4.1' python-version: '3.13' - - k8s-version: 'v1.31.5' + os: ubuntu-22.04 test-strategy: test_k8s_autoscaling_deployment_count_with_node_max_sessions + - k8s-version: 'v1.32.2' cluster: 'minikube' - helm-version: 'v3.16.4' - docker-version: '28.0.1' - python-version: '3.13' - - k8s-version: 'v1.31.5' + helm-version: 'v3.17.0' + docker-version: '26.1.4' + python-version: '3.10' + os: ubuntu-22.04 test-strategy: test_k8s_autoscaling_deployment_count - cluster: 'minikube' - helm-version: 'v3.16.4' - docker-version: '28.0.1' - python-version: '3.13' env: CLUSTER: ${{ matrix.cluster }} KUBERNETES_VERSION: ${{ matrix.k8s-version }} diff --git a/Makefile b/Makefile index 6320b57b95..bba862b436 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,9 @@ check_dev_env: setup_dev_env: ./tests/charts/make/chart_setup_env.sh ; \ - make set_containerd_image_store + exit_code=$$? ; \ + make set_containerd_image_store ; \ + exit $$exit_code ; set_containerd_image_store: sudo mkdir -p /etc/docker diff --git a/NodeFirefox/Dockerfile b/NodeFirefox/Dockerfile index 906c6a4aa4..2038f32b6a 100644 --- a/NodeFirefox/Dockerfile +++ b/NodeFirefox/Dockerfile @@ -21,7 +21,7 @@ ARG FIREFOX_VERSION=latest ARG FIREFOX_DOWNLOAD_URL="" ARG FIREFOX_LANG_VERSION=${FIREFOX_VERSION} RUN apt-get update -qqy && \ - if [ "$(dpkg --print-architecture)" = "amd64" ]; then \ + if [ "$(dpkg --print-architecture)" = "amd64" ] || [ $FIREFOX_VERSION = "latest" ]; then \ if [ $FIREFOX_VERSION = "latest" ] || [ $FIREFOX_VERSION = "beta-latest" ] || [ $FIREFOX_VERSION = "nightly-latest" ] || [ $FIREFOX_VERSION = "devedition-latest" ] || [ $FIREFOX_VERSION = "esr-latest" ]; then \ /opt/bin/install-firefox-apt.sh \ && FIREFOX_VERSION=$(echo "-$FIREFOX_VERSION" | sed 's/-latest//') \ diff --git a/tests/charts/make/chart_setup_env.sh b/tests/charts/make/chart_setup_env.sh index 2f413cfd77..7ce3d216cf 100755 --- a/tests/charts/make/chart_setup_env.sh +++ b/tests/charts/make/chart_setup_env.sh @@ -2,7 +2,7 @@ echo "Set ENV variables" CLUSTER=${CLUSTER:-"minikube"} -DOCKER_VERSION=${DOCKER_VERSION:-"26.1.4"} +DOCKER_VERSION=${DOCKER_VERSION:-""} HELM_VERSION=${HELM_VERSION:-"latest"} KUBERNETES_VERSION=${KUBERNETES_VERSION:-$(curl -L -s https://dl.k8s.io/release/stable.txt)} @@ -28,6 +28,7 @@ echo \ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt-get update -qq || true if [ -n "${DOCKER_VERSION}" ]; then + DOCKER_VERSION_EXPECT=$DOCKER_VERSION if [[ "${DOCKER_VERSION}" == "20.10"* ]]; then DOCKER_VERSION="=5:${DOCKER_VERSION}~3-0~$(. /etc/os-release; echo "$ID")-$(. /etc/os-release; echo "$VERSION_CODENAME")" else @@ -36,21 +37,28 @@ if [ -n "${DOCKER_VERSION}" ]; then echo "Installing package docker-ce${DOCKER_VERSION}" ALLOW_DOWNGRADE="--allow-downgrades" fi -sudo apt-get install -yq ${ALLOW_DOWNGRADE} docker-ce${DOCKER_VERSION} docker-ce-cli${DOCKER_VERSION} -sudo apt-get install -yq ${ALLOW_DOWNGRADE} containerd.io docker-buildx-plugin docker-compose-plugin gcc-aarch64-linux-gnu qemu-user-static +sudo apt-get install -yqf ${ALLOW_DOWNGRADE} docker-ce${DOCKER_VERSION} docker-ce-cli${DOCKER_VERSION} +sudo apt-get install -yqf ${ALLOW_DOWNGRADE} containerd.io docker-buildx-plugin docker-compose-plugin gcc-aarch64-linux-gnu qemu-user-static sudo chmod 666 /var/run/docker.sock +if [ -n "${DOCKER_VERSION_EXPECT}" ]; then + DOCKER_VERSION_ACTUAL="$(docker version --format '{{.Server.Version}}')" + if [ "${DOCKER_VERSION_EXPECT}" != "${DOCKER_VERSION_ACTUAL}" ]; then + exit 1 + fi +fi docker version docker buildx version -docker buildx use default +docker buildx use default || true if [ "$(dpkg --print-architecture)" = "amd64" ]; then - docker run --privileged --rm tonistiigi/binfmt --install all + docker run --rm --privileged multiarch/qemu-user-static --reset -p yes --credential yes ; else - docker run --privileged --rm tonistiigi/binfmt --install all + docker run --rm --privileged aptman/qus -- -r ; + docker run --rm --privileged aptman/qus -s -- -p fi docker info echo "===============================" echo "Installing Docker compose for AMD64 / ARM64" -DOCKER_COMPOSE_VERSION="v2.33.1" +DOCKER_COMPOSE_VERSION="v2.26.0" curl -fsSL -o ./docker-compose "https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-linux-$(uname -m)" chmod +x ./docker-compose sudo mv ./docker-compose /usr/libexec/docker/cli-plugins @@ -95,14 +103,14 @@ elif [ "${CLUSTER}" = "minikube" ]; then go version echo "===============================" echo "Installing CRI-CTL (CLI for CRI-compatible container runtimes)" - CRICTL_VERSION="v1.32.0" + CRICTL_VERSION="v1.30.0" curl -fsSL -o crictl.tar.gz https://github.com/kubernetes-sigs/cri-tools/releases/download/$CRICTL_VERSION/crictl-$CRICTL_VERSION-linux-$(dpkg --print-architecture).tar.gz sudo tar -xf crictl.tar.gz -C /usr/local/bin rm -rf crictl.tar.gz crictl --version || true echo "===============================" echo "Installing CRI-Dockerd" - CRI_DOCKERD_VERSION="0.3.16" + CRI_DOCKERD_VERSION="0.3.14" curl -fsSL -o cri-dockerd.tgz https://github.com/Mirantis/cri-dockerd/releases/download/v$CRI_DOCKERD_VERSION/cri-dockerd-$CRI_DOCKERD_VERSION.$(dpkg --print-architecture).tgz sudo tar -xf cri-dockerd.tgz -C /tmp sudo mv /tmp/cri-dockerd/cri-dockerd /usr/local/bin/cri-dockerd @@ -120,7 +128,7 @@ elif [ "${CLUSTER}" = "minikube" ]; then cri-dockerd --version echo "===============================" echo "Installing CNI-Plugins (Container Network Interface)" - CNI_PLUGIN_VERSION="v1.6.2" + CNI_PLUGIN_VERSION="v1.4.0" CNI_PLUGIN_TAR="cni-plugins-linux-$(dpkg --print-architecture)-$CNI_PLUGIN_VERSION.tgz" CNI_PLUGIN_INSTALL_DIR="/opt/cni/bin" curl -sLO "https://github.com/containernetworking/plugins/releases/download/$CNI_PLUGIN_VERSION/$CNI_PLUGIN_TAR" From 7d2bbeaa66b04193b51ef6ace9db62fe1c402d99 Mon Sep 17 00:00:00 2001 From: Viet Nguyen Duc Date: Wed, 5 Mar 2025 06:37:06 +0000 Subject: [PATCH 2/4] Update browser versions matrix [skip ci] Signed-off-by: Viet Nguyen Duc --- .github/workflows/release-chrome-versions.yml | 2 +- .github/workflows/release-firefox-versions.yml | 13 ++++++++++--- Makefile | 2 +- NodeFirefox/Dockerfile | 8 +++++--- NodeFirefox/install-firefox-apt.sh | 0 tests/build-backward-compatible/browser-matrix.yml | 9 +++++++++ 6 files changed, 26 insertions(+), 8 deletions(-) mode change 100644 => 100755 NodeFirefox/install-firefox-apt.sh diff --git a/.github/workflows/release-chrome-versions.yml b/.github/workflows/release-chrome-versions.yml index c2d6aa133c..91a2d7dc6b 100644 --- a/.github/workflows/release-chrome-versions.yml +++ b/.github/workflows/release-chrome-versions.yml @@ -31,7 +31,7 @@ on: browser-versions: description: 'List browser version to build. E.g: [130, 131]' required: true - default: '[97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133]' + default: '[97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134]' push-image: description: 'Push image after testing successfully' required: true diff --git a/.github/workflows/release-firefox-versions.yml b/.github/workflows/release-firefox-versions.yml index 5b82f96fda..e2ca162b43 100644 --- a/.github/workflows/release-firefox-versions.yml +++ b/.github/workflows/release-firefox-versions.yml @@ -31,7 +31,7 @@ on: browser-versions: description: 'List browser version to build. E.g: [130, 131]' required: true - default: '[98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135]' + default: '[98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136]' push-image: description: 'Push image after testing successfully' required: true @@ -123,14 +123,21 @@ jobs: - name: Build Hub image for testing if: env.REUSE_BASE == 'false' run: make hub - - name: Test images with Grid core ${{ env.GRID_VERSION }} and ${{ env.BROWSER_NAME }} v${{ env.BROWSER_VERSION }} + - name: Test images Node with Grid core ${{ env.GRID_VERSION }} and ${{ env.BROWSER_NAME }} v${{ env.BROWSER_VERSION }} + uses: nick-invision/retry@master + with: + timeout_minutes: 20 + max_attempts: 3 + retry_wait_seconds: 60 + command: | + TEST_FIREFOX_INSTALL_LANG_PACKAGE=false FIREFOX_VERSION=${FIREFOX_VERSION} make test_firefox + - name: Test images Standalone with Grid core ${{ env.GRID_VERSION }} and ${{ env.BROWSER_NAME }} v${{ env.BROWSER_VERSION }} uses: nick-invision/retry@master with: timeout_minutes: 20 max_attempts: 3 retry_wait_seconds: 60 command: | - FIREFOX_VERSION=${FIREFOX_VERSION} make test_firefox FIREFOX_VERSION=${FIREFOX_VERSION} make test_firefox_standalone - name: Push images with Grid core ${{ env.GRID_VERSION }} and ${{ env.BROWSER_NAME }} v${{ env.BROWSER_VERSION }} if: env.PUSH_IMAGE == 'true' diff --git a/Makefile b/Makefile index bba862b436..e7d715e92b 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ CURRENT_PLATFORM := $(shell if [ `arch` = "aarch64" ] || [ `arch` = "arm64" ]; t PLATFORMS := $(or $(PLATFORMS),$(shell echo $$PLATFORMS),$(CURRENT_PLATFORM)) SEL_PASSWD := $(or $(SEL_PASSWD),$(SEL_PASSWD),secret) CHROMIUM_VERSION := $(or $(CHROMIUM_VERSION),$(CHROMIUM_VERSION),latest) -FIREFOX_DOWNLOAD_URL := $(or $(FIREFOX_DOWNLOAD_URL),$(FIREFOX_DOWNLOAD_URL),https://download-installer.cdn.mozilla.net/pub/firefox/nightly/2025/01/2025-01-06-09-47-46-mozilla-central/firefox-135.0a1.en-US.linux-aarch64.deb) +FIREFOX_DOWNLOAD_URL := $(or $(FIREFOX_DOWNLOAD_URL),$(FIREFOX_DOWNLOAD_URL),) SBOM_OUTPUT := $(or $(SBOM_OUTPUT),$(SBOM_OUTPUT),package_versions.txt) KEDA_TAG_PREV_VERSION := $(or $(KEDA_TAG_PREV_VERSION),$(KEDA_TAG_PREV_VERSION),2.16.1-selenium-grid) KEDA_CORE_VERSION := $(or $(KEDA_CORE_VERSION),$(KEDA_CORE_VERSION),2.16.1) diff --git a/NodeFirefox/Dockerfile b/NodeFirefox/Dockerfile index 2038f32b6a..07d99d7137 100644 --- a/NodeFirefox/Dockerfile +++ b/NodeFirefox/Dockerfile @@ -21,7 +21,9 @@ ARG FIREFOX_VERSION=latest ARG FIREFOX_DOWNLOAD_URL="" ARG FIREFOX_LANG_VERSION=${FIREFOX_VERSION} RUN apt-get update -qqy && \ - if [ "$(dpkg --print-architecture)" = "amd64" ] || [ $FIREFOX_VERSION = "latest" ]; then \ + FIREFOX_MAJOR_VERSION=${FIREFOX_VERSION%%.*} && \ + ARCH=$(if [ "$(dpkg --print-architecture)" = "amd64" ]; then echo "x86_64"; else echo "aarch64"; fi) && \ + if [ "$(dpkg --print-architecture)" = "amd64" ] || [ $FIREFOX_VERSION = "latest" ] || [ "${FIREFOX_MAJOR_VERSION}" -ge 136 ]; then \ if [ $FIREFOX_VERSION = "latest" ] || [ $FIREFOX_VERSION = "beta-latest" ] || [ $FIREFOX_VERSION = "nightly-latest" ] || [ $FIREFOX_VERSION = "devedition-latest" ] || [ $FIREFOX_VERSION = "esr-latest" ]; then \ /opt/bin/install-firefox-apt.sh \ && FIREFOX_VERSION=$(echo "-$FIREFOX_VERSION" | sed 's/-latest//') \ @@ -31,9 +33,9 @@ RUN apt-get update -qqy && \ ln -fs $(which firefox$FIREFOX_VERSION) /usr/bin/firefox ; \ fi ; \ else \ - FIREFOX_DOWNLOAD_URL="https://download-installer.cdn.mozilla.net/pub/firefox/releases/$FIREFOX_VERSION/linux-x86_64/en-US/firefox-$FIREFOX_VERSION.deb" \ + FIREFOX_DOWNLOAD_URL="https://download-installer.cdn.mozilla.net/pub/firefox/releases/$FIREFOX_VERSION/linux-$ARCH/en-US/firefox-$FIREFOX_VERSION.deb" \ && if [ "404" = "$(curl -s -o /dev/null -w "%{http_code}" $FIREFOX_DOWNLOAD_URL)" ]; then \ - FIREFOX_DOWNLOAD_URL="https://download-installer.cdn.mozilla.net/pub/firefox/releases/$FIREFOX_VERSION/linux-x86_64/en-US/firefox-$FIREFOX_VERSION.tar.bz2" ; \ + FIREFOX_DOWNLOAD_URL="https://download-installer.cdn.mozilla.net/pub/firefox/releases/$FIREFOX_VERSION/linux-$ARCH/en-US/firefox-$FIREFOX_VERSION.tar.bz2" ; \ fi ; \ fi \ else \ diff --git a/NodeFirefox/install-firefox-apt.sh b/NodeFirefox/install-firefox-apt.sh old mode 100644 new mode 100755 diff --git a/tests/build-backward-compatible/browser-matrix.yml b/tests/build-backward-compatible/browser-matrix.yml index def16269e6..4fbdabbdc7 100644 --- a/tests/build-backward-compatible/browser-matrix.yml +++ b/tests/build-backward-compatible/browser-matrix.yml @@ -1,10 +1,19 @@ matrix: browser: + '136': + EDGE_VERSION: null + CHROME_VERSION: null + FIREFOX_VERSION: 136.0 + FIREFOX_PLATFORMS: linux/amd64,linux/arm64 '135': + EDGE_VERSION: null + CHROME_VERSION: null FIREFOX_VERSION: 135.0.1 FIREFOX_DOWNLOAD_URL: https://download-installer.cdn.mozilla.net/pub/firefox/nightly/2025/01/2025-01-06-09-47-46-mozilla-central/firefox-135.0a1.en-US.linux-aarch64.deb FIREFOX_PLATFORMS: linux/amd64,linux/arm64 '134': + EDGE_VERSION: null + CHROME_VERSION: google-chrome-stable=134.0.6998.35-1 FIREFOX_VERSION: 134.0.2 FIREFOX_DOWNLOAD_URL: https://download-installer.cdn.mozilla.net/pub/firefox/nightly/2024/11/2024-11-25-09-40-45-mozilla-central/firefox-134.0a1.en-US.linux-aarch64.deb FIREFOX_PLATFORMS: linux/amd64,linux/arm64 From 663ba7cf6ce3e8af268c45aafabb1e277b08d78c Mon Sep 17 00:00:00 2001 From: Viet Nguyen Duc Date: Wed, 5 Mar 2025 09:56:41 +0000 Subject: [PATCH 3/4] Expand range of versions Signed-off-by: Viet Nguyen Duc --- .github/workflows/release-chrome-versions.yml | 11 +++++++++-- .github/workflows/release-edge-versions.yml | 11 +++++++++-- tests/build-backward-compatible/browser-matrix.yml | 7 +++++++ 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-chrome-versions.yml b/.github/workflows/release-chrome-versions.yml index 91a2d7dc6b..4238817795 100644 --- a/.github/workflows/release-chrome-versions.yml +++ b/.github/workflows/release-chrome-versions.yml @@ -31,7 +31,7 @@ on: browser-versions: description: 'List browser version to build. E.g: [130, 131]' required: true - default: '[97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134]' + default: '[95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134]' push-image: description: 'Push image after testing successfully' required: true @@ -123,7 +123,7 @@ jobs: - name: Build Hub image for testing if: env.REUSE_BASE == 'false' run: make hub - - name: Test images with Grid core ${{ env.GRID_VERSION }} and ${{ env.BROWSER_NAME }} v${{ env.BROWSER_VERSION }} + - name: Test images Node with Grid core ${{ env.GRID_VERSION }} and ${{ env.BROWSER_NAME }} v${{ env.BROWSER_VERSION }} uses: nick-invision/retry@master with: timeout_minutes: 20 @@ -131,6 +131,13 @@ jobs: retry_wait_seconds: 60 command: | make test_chrome + - name: Test images Standalone with Grid core ${{ env.GRID_VERSION }} and ${{ env.BROWSER_NAME }} v${{ env.BROWSER_VERSION }} + uses: nick-invision/retry@master + with: + timeout_minutes: 20 + max_attempts: 3 + retry_wait_seconds: 60 + command: | make test_chrome_standalone - name: Push images with Grid core ${{ env.GRID_VERSION }} and ${{ env.BROWSER_NAME }} v${{ env.BROWSER_VERSION }} if: env.PUSH_IMAGE == 'true' diff --git a/.github/workflows/release-edge-versions.yml b/.github/workflows/release-edge-versions.yml index 0d776ea775..4397386c5b 100644 --- a/.github/workflows/release-edge-versions.yml +++ b/.github/workflows/release-edge-versions.yml @@ -31,7 +31,7 @@ on: browser-versions: description: 'List browser version to build. E.g: [130, 131]' required: true - default: '[114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133]' + default: '[95, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133]' push-image: description: 'Push image after testing successfully' required: true @@ -123,7 +123,7 @@ jobs: - name: Build Hub image for testing if: env.REUSE_BASE == 'false' run: make hub - - name: Test images with Grid core ${{ env.GRID_VERSION }} and ${{ env.BROWSER_NAME }} v${{ env.BROWSER_VERSION }} + - name: Test images Node with Grid core ${{ env.GRID_VERSION }} and ${{ env.BROWSER_NAME }} v${{ env.BROWSER_VERSION }} uses: nick-invision/retry@master with: timeout_minutes: 20 @@ -131,6 +131,13 @@ jobs: retry_wait_seconds: 60 command: | make test_edge + - name: Test images Standalone with Grid core ${{ env.GRID_VERSION }} and ${{ env.BROWSER_NAME }} v${{ env.BROWSER_VERSION }} + uses: nick-invision/retry@master + with: + timeout_minutes: 20 + max_attempts: 3 + retry_wait_seconds: 60 + command: | make test_edge_standalone - name: Push images with Grid core ${{ env.GRID_VERSION }} and ${{ env.BROWSER_NAME }} v${{ env.BROWSER_VERSION }} if: env.PUSH_IMAGE == 'true' diff --git a/tests/build-backward-compatible/browser-matrix.yml b/tests/build-backward-compatible/browser-matrix.yml index 4fbdabbdc7..c8f1a0a7f7 100644 --- a/tests/build-backward-compatible/browser-matrix.yml +++ b/tests/build-backward-compatible/browser-matrix.yml @@ -166,3 +166,10 @@ matrix: '97': CHROME_VERSION: google-chrome-stable=97.0.4692.99-1 FIREFOX_VERSION: 97.0.2 + '96': + CHROME_VERSION: google-chrome-stable=96.0.4664.110-1 + FIREFOX_VERSION: 96.0.3 + '95': + CHROME_VERSION: google-chrome-stable=95.0.4638.69-1 + EDGE_VERSION: microsoft-edge-stable=95.0.1020.40-1 + FIREFOX_VERSION: 95.0.2 From 443d2bf4bc505c4518fc6d5e743fbf29d432cbb1 Mon Sep 17 00:00:00 2001 From: Viet Nguyen Duc Date: Wed, 5 Mar 2025 11:30:46 +0000 Subject: [PATCH 4/4] Update README Signed-off-by: Viet Nguyen Duc --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 2eca25386b..e860ef61e7 100644 --- a/README.md +++ b/README.md @@ -153,8 +153,7 @@ Similarly, Microsoft does not build Edge (`microsoft-edge`) for Linux/ARM platfo $ docker run --rm -it -p 4444:4444 -p 5900:5900 -p 7900:7900 --shm-size 2g selenium/standalone-chromium:latest ``` -- Mozilla Firefox now is available for Linux/ARM64 via [Nightly channel](https://blog.nightly.mozilla.org/2024/04/19/firefox-nightly-now-available-for-linux-on-arm64/). -The Firefox version in ARM64 will be different with the AMD64 until the stable release is available (Noted: we had workaround by pinning the versions getting from [Firefox download installer](https://download-installer.cdn.mozilla.net/pub/firefox/nightly/). The Firefox (node and standalone) images are available in multi-arch. +- Mozilla Firefox now is available for Linux/ARM64 via APT stable channel from v136+. The Firefox (node and standalone) images are available in multi-arch. Multi-arch images are tested on CircleCI with resource class Linux/ARM64. See the status below.