-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add OIDC auth to infra repo #66
Conversation
Signed-off-by: George Adams <[email protected]>
This is your friendly self-service bot. Thank you for raising a pull request to update the configuration of your GitHub organization. The following conditions need to fulfilled for auto-merging to be available:
Otterdog commands and optionsYou can trigger otterdog actions by commenting on this PR:
|
This comment has been minimized.
This comment has been minimized.
This is your friendly self-service bot. The current configuration is in-sync with the live settings. 🚀 |
Signed-off-by: George Adams <[email protected]>
This is your friendly self-service bot. Diff for c07070cOrganization adoptium[id=adoptium]
there have been 4 validation infos, enable verbose output with '-v' to to display them.
! repository[name=".eclipsefdn"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name=".github"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name="adoptium"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name="adoptium.net"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name="adoptium.net-redesign"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name="api.adoptium.net"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name="blog.adoptium.net"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name="dash.adoptium.net"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name="documentation"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name="documentation-services"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
+ add repo_secret[name="AZURE_CLIENT_ID_OIDC", repository="infrastructure"] {
+ name = "AZURE_CLIENT_ID_OIDC"
+ value = "pass:bots/adoptium/azure/azure-client-id-oidc-infra"
+ }
+ add repo_secret[name="AZURE_SUBSCRIPTION_ID", repository="infrastructure"] {
+ name = "AZURE_SUBSCRIPTION_ID"
+ value = "pass:bots/adoptium/azure/azure-subscription-id"
+ }
+ add repo_secret[name="AZURE_TENANT_ID", repository="infrastructure"] {
+ name = "AZURE_TENANT_ID"
+ value = "pass:bots/adoptium/azure/azure-tenant-id"
+ }
! repository[name="marketplace-api.adoptium.net"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name="obsolete---adoptium.net"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name="secrets"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
Plan: 3 to add, 13 to change, 0 to delete. Warnings
cc @adoptium/eclipsefdn-security cc @adoptium/eclipsefdn-releng |
This is your friendly self-service bot. The following changes have been successfully applied: Organization adoptium[id=adoptium]
there have been 4 validation infos, enable verbose output with '-v' to to display them.
! repository[name=".eclipsefdn"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name=".github"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name="adoptium"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name="adoptium.net"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name="adoptium.net-redesign"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name="api.adoptium.net"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name="blog.adoptium.net"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name="dash.adoptium.net"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name="documentation"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name="documentation-services"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name="marketplace-api.adoptium.net"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name="obsolete---adoptium.net"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
! repository[name="secrets"] {
! custom_properties = {
+ eclipse_project = "adoptium"
}
! }
Applying changes:
Done.
Executed plan: 0 added, 13 changed, 0 deleted. NoteThe pull request was only partially applied as it requires some access to secrets or the Web UI, cc @adoptium/eclipsefdn-security cc @adoptium/eclipsefdn-releng |
/otterdog done |
This is your friendly self-service bot. The PR has been marked as being completed. |
The problem that the custom_properties were shown again in the diff view has been fixed in eclipse-csi/otterdog@46dd16d This was because the eclipse_project property has a default value if it is not set but this default value was not coerced when doing the diff |
as part of adoptium/infrastructure#3217
I'll send the secret to @netomi