arduino / arduino-cli

Arduino command line tool
https://arduino.github.io/arduino-cli/latest/
GNU General Public License v3.0
4.24k stars 371 forks source link

[skip-changelog] use OIDC to retrieve the credentials #2541

Closed umbynos closed 4 months ago

umbynos commented 4 months ago

Please check if the PR fulfills these requirements

See how to contribute

What kind of change does this PR introduce?

infra change

What is the current behavior?

We currently use statically generated credentials to access to s3 buckets.

What is the new behavior?

OpenID Connect allows workflows to exchange short-lived tokens directly from your cloud provider (see here)

Does this PR introduce a breaking change, and is titled accordingly?

no

Other information

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (20b9ba1) 69.37% compared to head (1e0d26e) 69.39%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2541 +/- ## ========================================== + Coverage 69.37% 69.39% +0.01% ========================================== Files 203 203 Lines 20149 20149 ========================================== + Hits 13978 13982 +4 + Misses 5048 5045 -3 + Partials 1123 1122 -1 ``` | [Flag](https://app.codecov.io/gh/arduino/arduino-cli/pull/2541/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=arduino) | Coverage Δ | | |---|---|---| | [unit](https://app.codecov.io/gh/arduino/arduino-cli/pull/2541/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=arduino) | `69.39% <ø> (+0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=arduino#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.