From 9c2cac86ad2a1539043dfd7fcda6507c47170d2d Mon Sep 17 00:00:00 2001 From: Luc Coupal Date: Sun, 17 Mar 2024 09:39:57 -0400 Subject: [PATCH 1/3] ci: fix semantic-release nmp integrity check failing due to node version --- .github/workflows/semantic_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/semantic_release.yml b/.github/workflows/semantic_release.yml index cc5f151..07015a2 100644 --- a/.github/workflows/semantic_release.yml +++ b/.github/workflows/semantic_release.yml @@ -45,7 +45,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: "lts/*" + node-version: "latest" - name: Install semantic-release run: npm install --save-dev semantic-release - name: Install semantic-release additional plugins (git) From 8c4d18e0344cd86c2e39f4e619a39b644a848992 Mon Sep 17 00:00:00 2001 From: RedLeaderOne Date: Thu, 21 Mar 2024 08:40:42 -0400 Subject: [PATCH 2/3] fix: docker build error with docker-container driver --- tests/bats_testing_tools/run_bats_tests_in_docker.bash | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/bats_testing_tools/run_bats_tests_in_docker.bash b/tests/bats_testing_tools/run_bats_tests_in_docker.bash index d925901..1c8b466 100644 --- a/tests/bats_testing_tools/run_bats_tests_in_docker.bash +++ b/tests/bats_testing_tools/run_bats_tests_in_docker.bash @@ -63,6 +63,7 @@ docker build \ --build-arg "TEAMCITY_VERSION=${TEAMCITY_VERSION}" \ --file "${N2ST_BATS_TESTING_TOOLS_ABS_PATH}/Dockerfile.bats-core-code-isolation.${BATS_DOCKERFILE_DISTRO}" \ --tag n2st-bats-test-code-isolation/"${PROJECT_GIT_NAME}" \ + --load \ . if [[ ${TEAMCITY_VERSION} ]]; then From 3c243013f4ca6115e05048b5a25d344b4025db59 Mon Sep 17 00:00:00 2001 From: RedLeaderOne Date: Thu, 21 Mar 2024 08:58:35 -0400 Subject: [PATCH 3/3] fix: set build platform explicitly --- tests/bats_testing_tools/run_bats_tests_in_docker.bash | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/bats_testing_tools/run_bats_tests_in_docker.bash b/tests/bats_testing_tools/run_bats_tests_in_docker.bash index 1c8b466..a95491e 100644 --- a/tests/bats_testing_tools/run_bats_tests_in_docker.bash +++ b/tests/bats_testing_tools/run_bats_tests_in_docker.bash @@ -63,6 +63,7 @@ docker build \ --build-arg "TEAMCITY_VERSION=${TEAMCITY_VERSION}" \ --file "${N2ST_BATS_TESTING_TOOLS_ABS_PATH}/Dockerfile.bats-core-code-isolation.${BATS_DOCKERFILE_DISTRO}" \ --tag n2st-bats-test-code-isolation/"${PROJECT_GIT_NAME}" \ + --platform "linux/$(uname -m)" \ --load \ .