-
Notifications
You must be signed in to change notification settings - Fork 28
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
feat(ci.jenkins.io) add resources for azure-vm agents in the new sponsorship subscription #519
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dduportal
changed the title
feat(ci.jenkins.io) add resources for azure-vm and aci agents in the …
feat(ci.jenkins.io) add resources for azure-vm and aci agents in the new sponsorship subscription
Nov 22, 2023
…sorship subscription Signed-off-by: Damien Duportal <[email protected]>
dduportal
force-pushed
the
feat/helpdesk-3818/2
branch
from
November 22, 2023 15:17
032e615
to
662d168
Compare
dduportal
changed the title
feat(ci.jenkins.io) add resources for azure-vm and aci agents in the new sponsorship subscription
feat(ci.jenkins.io) add resources for azure-vm agents in the new sponsorship subscription
Nov 22, 2023
dduportal
commented
Nov 22, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plan: 16 to add, 0 to change, 0 to destroy.
\o/
lemeurherve
approved these changes
Nov 22, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
dduportal
added a commit
that referenced
this pull request
Nov 22, 2023
…n to store agent NSG (#520) Related to jenkins-infra/helpdesk#3818 Fixup of #519 to correct the error ``` │ Error: creating/updating Network Security Group: (Name "ci.jenkins.io-ephemeralagents" / Resource Group "ci-jenkins-io-controller"): network.SecurityGroupsClient#CreateOrUpdate: Failure sending request: StatusCode=404 -- Original Error: Code="ResourceGroupNotFound" Message="Resource group 'ci-jenkins-io-controller' could not be found." ``` ---- Note that permissions have been increased to the SP to correct the following errors seen on the main branch: ``` │ Error: authorization.RoleAssignmentsClient#Create: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="AuthorizationFailed" Message="The client '<redacted>' with object id '<redacted>' does not have authorization to perform action 'Microsoft.Authorization/roleAssignments/write' over scope '/subscriptions/<redacted>/resourceGroups/ci-jenkins-io-ephemeral-agents/providers/Microsoft.Authorization/roleAssignments/e6e75982-06dc-57fd-1743-3a2648e0546f' or the scope is invalid. If access was recently granted, please refresh your credentials." ``` Signed-off-by: Damien Duportal <[email protected]>
dduportal
added a commit
that referenced
this pull request
Nov 22, 2023
…he proper provider (#521) Related to https://github.com/jenkins-infra/helpdesk/milestone/91 This PR fixes up #519 and #520 - Fixup of #520 by adding the proper provider to correct the error ``` │ Error: A resource with the ID "/subscriptions/****/resourceGroups/ci-jenkins-io-controller" already exists - to be managed via Terraform this resource needs to be imported into the State. Please see the resource documentation for "azurerm_resource_group" for more information. ``` - Allow specifying a custom storage account name for the new RG in the subscription as storage account name are scope to ALL Azure :'( to correct the error ``` │ Storage Account Name: "cijenkinsioagents"): storage.AccountsClient#Create: Failure sending request: StatusCode=409 -- Original Error: Code="StorageAccountAlreadyTaken" Message="The storage account named cijenkinsioagents is already taken." ``` - Cleanup of the `moved` declaration from #516 --------- Signed-off-by: Damien Duportal <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to jenkins-infra/helpdesk#3818
This PR adds resources for ci.jenkins.io in the "sponsorship" subscription to allow spinning up azure-vm and aci agents