From e126a202697772a22399efff045f2acc3c595e3b Mon Sep 17 00:00:00 2001 From: Samuel Loury Date: Fri, 22 Mar 2024 14:28:49 +0100 Subject: [PATCH] chore: Try using another name for the SONAR_TOKEN env variable Somehow, the PYPI_* ones work well and not SONAR_TOKEN. I suppose there might be something hardcoded in circleci about SONAR_TOKEN. So I'm trying with another name. --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d14f1ff..2ebbbdb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -51,7 +51,7 @@ jobs: circleci-agent step halt fi - run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.3/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" - - run: earthly --secret SONAR_TOKEN="${SONAR_TOKEN}" --ci +sanity-check + - run: earthly --secret SONAR_TOKEN="${MY_SONAR_TOKEN}" --ci +sanity-check deploy: machine: image: ubuntu-2204:2023.10.1 @@ -60,4 +60,4 @@ jobs: steps: - checkout - run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.3/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" - - run: earthly --secret SONAR_TOKEN="${SONAR_TOKEN}" --secret pypi_username="${PYPI_USERNAME}" --secret pypi_password="${PYPI_PASSWORD}" --ci --push +deploy + - run: earthly --secret SONAR_TOKEN="${MY_SONAR_TOKEN}" --secret pypi_username="${PYPI_USERNAME}" --secret pypi_password="${PYPI_PASSWORD}" --ci --push +deploy