eclipse-tractusx / .eclipsefdn

Repository to host configurations related to the Eclipse Foundation.
https://eclipse-tractusx.github.io/.eclipsefdn/
1 stars 15 forks source link

Move SWAGGER related secrets to org level #21

Closed netomi closed 1 year ago

netomi commented 1 year ago

As requested in https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/3543

github-actions[bot] commented 1 year ago
Diff for 628ae1a3489894847deafef400254b0e2c7ddae7: ```diff Printing local diff for configuration at '/home/runner/work/.eclipsefdn/.eclipsefdn/otterdog-configs/otterdog.json' Actions are indicated with the following symbols: + create ! modify ! forced update - delete Organization eclipse-tractusx[id=eclipse-tractusx] there have been 37 validation infos, enable verbose output with '-v' to to display them. + add org_secret[name="SWAGGERHUB_API_KEY"] { + name = "SWAGGERHUB_API_KEY" + selected_repositories = [] + visibility = "public" + } + add org_secret[name="SWAGGERHUB_USER"] { + name = "SWAGGERHUB_USER" + selected_repositories = [] + visibility = "public" + } - remove repo_secret[name="SWAGGERHUB_API_KEY", repository="tractusx-edc"] { - name = "SWAGGERHUB_API_KEY" - } - remove repo_secret[name="SWAGGERHUB_USER", repository="tractusx-edc"] { - name = "SWAGGERHUB_USER" - } Plan: 2 to add, 0 to change, 2 to delete. ``` ```diff Showing diff to a canonical version of the configuration at '/home/runner/work/.eclipsefdn/.eclipsefdn/otterdog-configs/otterdog.json' Organization eclipse-tractusx[id=eclipse-tractusx] --- original +++ canonical @@ -420,13 +420,17 @@ web_commit_signoff_required: false } orgs.newRepo('puris-backend') { + allow_update_branch: false archived: true description: "puris-backend" + secret_scanning_push_protection: "disabled" web_commit_signoff_required: false } orgs.newRepo('puris-frontend') { + allow_update_branch: false archived: true description: "puris-frontend" + secret_scanning_push_protection: "disabled" web_commit_signoff_required: false } orgs.newRepo('sd-factory') { ```
netomi commented 1 year ago

I kept the orginal secret name SWAGGERHUB_API_KEY instead of naming it SWAGGERHUB_TOKEN so you dont have to update the tractusx-edc project. Please let me know if this is ok for you then I can merge the change.

It was already approved by @SebastianBezold and @Siegfriedk in the helpdesk ticket.

netomi commented 1 year ago

change has been applied, secrets exist now on org level.