From fcb1d630f6dc7325845fbc1651a2cc23d3b4e318 Mon Sep 17 00:00:00 2001 From: "circleci-app[bot]" <127350680+circleci-app[bot]@users.noreply.github.com> Date: Fri, 29 May 2026 22:30:00 +0000 Subject: [PATCH] fix: correct SHA256 typo, update machine images, scope build workflows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix CIRCLE_SHA2256 typo (extra '2') in build-linux-amd64 Build step; same class of bug fixed in #120/#121 but this instance was missed - Upgrade ubuntu-2004:202201-02 → ubuntu-2204:current for both Linux machine executor jobs (amd64 and arm64) - Add branch/tag filters to build_linux, build_windows, build_macos workflows so they only run on master or v* tags instead of every branch --- .circleci/config.yml | 42 +++++++++++++++++++++++++++++++++++------- 1 file changed, 35 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8160ac21..0d077166 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -110,7 +110,7 @@ jobs: command: python ./test_btec_script.py build-linux-amd64: machine: - image: ubuntu-2004:202201-02 + image: ubuntu-2204:current working_directory: ~/repo steps: - checkout @@ -124,7 +124,7 @@ jobs: name: Build with build.spec command: | export PYTHONHASHSEED=42 - export CIRCLE_SHORT_SHA256=$(eval echo $CIRCLE_SHA2256 | cut -c -7) + export CIRCLE_SHORT_SHA256=$(eval echo $CIRCLE_SHA256 | cut -c -7) export BUILD_FILE_NAME=staking_deposit-cli-${CIRCLE_SHORT_SHA256}-linux-amd64; mkdir ${BUILD_FILE_NAME}; pyenv global 3.10.2; @@ -157,7 +157,7 @@ jobs: path: /tmp/artifacts build-linux-arm64: machine: - image: ubuntu-2004:202201-02 + image: ubuntu-2204:current resource_class: arm.medium working_directory: ~/repo steps: @@ -316,11 +316,39 @@ workflows: - win-py310-script build_linux: jobs: - - build-linux-amd64 - - build-linux-arm64 + - build-linux-amd64: + filters: + branches: + only: + - master + tags: + only: + - /^v.*/ + - build-linux-arm64: + filters: + branches: + only: + - master + tags: + only: + - /^v.*/ build_windows: jobs: - - build-windows + - build-windows: + filters: + branches: + only: + - master + tags: + only: + - /^v.*/ build_macos: jobs: - - build-macos + - build-macos: + filters: + branches: + only: + - master + tags: + only: + - /^v.*/