Extend Azure AD Application password validity on infra.ci.jenkins.io
(current end date: 2024-09-26T00:00:00Z)
#822
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
infra.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 theresource.azuread_application_password.infra_ci_jenkins_io.end_date
section (do NOT save it anywhere!)and (manually) update the infra.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 infra.ci.jenkins.io controller Azure AD Application password
Update Terraform file `infra.ci.jenkins.io.tf` with new expiration date
changes detected: path "resource.azuread_application_password.infra_ci_jenkins_io.end_date" updated from "2024-09-26T00:00:00Z" to "2024-12-18T00:00:00Z" in file "infra.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!