Skip to content

BUILD-9956 fix post run aws auth#28

Merged
julien-carsique-sonarsource merged 2 commits intomasterfrom
fix/jcarsique/BUILD-9956-awsPostRun
Dec 12, 2025
Merged

BUILD-9956 fix post run aws auth#28
julien-carsique-sonarsource merged 2 commits intomasterfrom
fix/jcarsique/BUILD-9956-awsPostRun

Conversation

@julien-carsique-sonarsource
Copy link
Contributor

@julien-carsique-sonarsource julien-carsique-sonarsource commented Dec 12, 2025

BUILD-9956

Add backend input option to force the selection of the backend (github or s3) instead of the default selection based on the repository visibility.

Add tests to cover both github and s3 backends.

Fix the AWS authentication.

  • the aws-auth step must share the AWS credentials with runs-on/cache
  • using global env is not possible as it pollutes the caller environment
  • using step level env fails in the post run execution due to bugs in the AWS client used by runs-on/cache
    The solution is to use aws-actions/configure-aws-credentials to locally save the credentials.
Cache saved successfully.
Cache saved with key: fix/jcarsique/BUILD-9956-awsPostRun/python-Linux-pytest-requests

@julien-carsique-sonarsource julien-carsique-sonarsource force-pushed the fix/jcarsique/BUILD-9956-awsPostRun branch from b61985c to 3177c70 Compare December 12, 2025 17:56
@julien-carsique-sonarsource julien-carsique-sonarsource marked this pull request as ready for review December 12, 2025 17:56
@julien-carsique-sonarsource julien-carsique-sonarsource requested a review from a team as a code owner December 12, 2025 17:56
@julien-carsique-sonarsource julien-carsique-sonarsource merged commit f3aa822 into master Dec 12, 2025
4 checks passed
@julien-carsique-sonarsource julien-carsique-sonarsource deleted the fix/jcarsique/BUILD-9956-awsPostRun branch December 12, 2025 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants