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

Extend Azure AD Application password validity on cert.ci.jenkins.io (current end date: 2024-08-24T12:00:00Z) #797

Conversation

jenkins-infra-updatecli[bot]
Copy link
Contributor

This PR generates a new Azure AD application password with a new end date for the cert.ci.jenkins.io controller (to allow spawning Azure VM agents).

Once this PR is merged and deployed with success by Terraform (on infra.ci.jenkins.io),
you can retrieve the new password value from the Terraform state with terraform show -json
then searching for the new password in values.value of the module.controller_service_principal_end_date section (do NOT save it anywhere!)
and (manually) update the cert.ci.jenkins.io credential named azure-jenkins-sponsorship-credentials through the Jenkins UI.

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 cert.ci.jenkins.io controller Azure AD Application password

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

changes detected: path "module.controller_service_principal_end_date" updated from "2024-08-24T12:00:00Z" to "2024-11-06T00:00:00Z" in file "cert.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!

... ion date

Made with ❤️️ by updatecli
@dduportal dduportal merged commit 8cc114a into main Aug 8, 2024
3 checks passed
@dduportal dduportal deleted the updatecli_main_e360614a61d03f9251a4a232064aac0eb719c370325dc7579bd8a04dea5e2b80 branch August 8, 2024 16:04
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