Extend Azure AD Application password validity on trusted.ci.jenkins.io
(current end date: 2024-09-02T00:00:00Z)
#801
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.
This PR generates a new Azure AD application password with a new end date for the
trusted.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 themodule.controller_service_principal_end_date
section (do NOT save it anywhere!)and (manually) update the trusted.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 trusted.ci.jenkins.io controller Azure AD Application password
Update Terraform file `trusted.ci.jenkins.io.tf` with new expiration date
changes detected: path "module.controller_service_principal_end_date" updated from "2024-09-02T00:00:00Z" to "2024-11-20T00:00:00Z" in file "trusted.ci.jenkins.io.tf"
Created automatically by Updatecli
Options:
Most of Updatecli configuration is done via its manifest(s).
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!