Skip to content

Commit

Permalink
chore: Try using another name for the SONAR_TOKEN env variable
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Konubinix committed Mar 22, 2024
1 parent 06d89b8 commit e126a20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit e126a20

Please sign in to comment.