Skip to content
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

Azure AD Application password for Azure VM agents in ci.jenkins.io expires on 2024-10-19T00:00:00Z #854

Conversation

jenkins-infra-updatecli[bot]
Copy link
Contributor

@jenkins-infra-updatecli jenkins-infra-updatecli bot commented Sep 28, 2024

This PR updates the Azure AD application password used in ci.jenkins.io controller to spawn Azure VM agents.

The current end date is set to 2024-10-19T00:00:00Z.

Important

⚠️ Merging this PR will prevent starting new Azure VM agents until the credential is updated on the controller.

You'll have to update manually the top-level credential azure-jenkins-sponsorship-credentials on the Jenkins UI.

The new password value, once the PR is merged and deployed, can be retrieved from the Terraform state,
by searching for module.ci_jenkins_io_sponsorship.azuread_application_password.controller.value.

Finally, verify both Azure Credential and Azure VM clouds by checking that a click on the "Verify <...>" buttons returns a success,
then restart the controller to ensure that the old credential is not kept in cache.


Generate new end date for the ci.jenkins.io controller Azure AD Application password

Update Terraform file `ci.jenkins.io.tf` with new expiration date

changes detected: path "module.controller_service_principal_end_date" updated from "2024-10-19T00:00:00Z" to "2025-01-13T00:00:00Z" in file "ci.jenkins.io.tf"

Jenkins pipeline link
Updatecli logo

Created automatically by Updatecli

Options:

Most of Updatecli configuration is done via its manifest(s).

  • If you close this pull request, Updatecli will automatically reopen it, the next time it runs.
  • If you close this pull request and delete the base branch, Updatecli will automatically recreate it, erasing all previous commits made.

Feel free to report any issues at github.com/updatecli/updatecli.
If you find this tool useful, do not hesitate to star our GitHub repository as a sign of appreciation, and/or to tell us directly on our chat!

@jenkins-infra-updatecli jenkins-infra-updatecli bot force-pushed the updatecli_main_ac1cbf6870ad183a95f5b19f8c41b94abb7fa24121a934fa7b390ff0e0d5f182 branch 6 times, most recently from 61028cf to 1bef0a0 Compare October 14, 2024 15:56
@jenkins-infra-updatecli jenkins-infra-updatecli bot force-pushed the updatecli_main_ac1cbf6870ad183a95f5b19f8c41b94abb7fa24121a934fa7b390ff0e0d5f182 branch from 1bef0a0 to c845b6d Compare October 15, 2024 09:52
@dduportal dduportal merged commit 5072e32 into main Oct 15, 2024
3 checks passed
@dduportal dduportal deleted the updatecli_main_ac1cbf6870ad183a95f5b19f8c41b94abb7fa24121a934fa7b390ff0e0d5f182 branch October 15, 2024 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants