From 42c4bd9456669bce6c39a9471ef4c8d51543fda1 Mon Sep 17 00:00:00 2001 From: Viet Nguyen Duc Date: Mon, 3 Feb 2025 14:32:17 +0700 Subject: [PATCH] [ci] Update CHANGELOG format for deploy Node/Standalone browser old versions Signed-off-by: Viet Nguyen Duc --- .github/workflows/release-chrome-versions.yml | 2 ++ README.md | 10 ++++++++-- tests/build-backward-compatible/bootstrap.sh | 3 ++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-chrome-versions.yml b/.github/workflows/release-chrome-versions.yml index 2db1e14d6..ab58de747 100644 --- a/.github/workflows/release-chrome-versions.yml +++ b/.github/workflows/release-chrome-versions.yml @@ -160,6 +160,8 @@ jobs: echo "GRID_VERSION=${GRID_VERSION}" >> $GITHUB_ENV env: GRID_VERSION: ${{ needs.deploy.outputs.GRID_VERSION }} + - name: Create CHANGELOG directory + run: mkdir -p ./CHANGELOG/${{ env.GRID_VERSION }} - name: Download results uses: actions/download-artifact@v4 with: diff --git a/README.md b/README.md index 0746cc8fb..89de7c8e6 100644 --- a/README.md +++ b/README.md @@ -183,7 +183,7 @@ A single command to enable that feature in Docker Engine: make set_containerd_image_store ``` -To build all the images for multiplatform, run the following command: +To build all the images for multiplatform at once, run the following command: ```bash PLATFORMS=linux/amd64,linux/arm64 make build @@ -195,7 +195,13 @@ To build the images for a specific platform, run the following command: PLATFORMS=linux/arm64 make build ``` -By default, without specifying the `PLATFORMS` variable, the images are built for the `linux/amd64` platform. +By default, without specifying the `PLATFORMS` variable, the images are built with current host architecture. + +Similarly, if you are using host ARM64 architecture, you can build the images for AMD64 architecture by running the following command: + +```bash +PLATFORMS=linux/amd64 make build +``` ___ diff --git a/tests/build-backward-compatible/bootstrap.sh b/tests/build-backward-compatible/bootstrap.sh index 31a982b70..7c9f59830 100755 --- a/tests/build-backward-compatible/bootstrap.sh +++ b/tests/build-backward-compatible/bootstrap.sh @@ -92,10 +92,11 @@ for CDP_VERSION in "${VERSION_LIST[@]}"; do fi if [ "${PUSH_IMAGE}" = "false" ]; then - echo -n "" > ./CHANGELOG/${SELENIUM_VERSION}/${BROWSER}_${CDP_VERSION}.md + echo "\`\`\`" > ./CHANGELOG/${SELENIUM_VERSION}/${BROWSER}_${CDP_VERSION}.md echo "$TAG_LOG_OUTPUT" | while IFS= read -r line; do echo "$line" >> ./CHANGELOG/${SELENIUM_VERSION}/${BROWSER}_${CDP_VERSION}.md done ; + echo "\`\`\`" >> ./CHANGELOG/${SELENIUM_VERSION}/${BROWSER}_${CDP_VERSION}.md else echo "${TAG_LOG_OUTPUT}" fi