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 infra.ci.jenkins.io (current end date: 2024-09-26T00:00:00Z) #822

Conversation

jenkins-infra-updatecli[bot]
Copy link
Contributor

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

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 the resource.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"

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_1019a34d70ff7787c9728384be3b9652e4d0c6bb98dbae38785ac7b387fc0317 branch 7 times, most recently from 121ee4f to 3d32c5a Compare September 13, 2024 07:44
@jenkins-infra-updatecli jenkins-infra-updatecli bot force-pushed the updatecli_main_1019a34d70ff7787c9728384be3b9652e4d0c6bb98dbae38785ac7b387fc0317 branch 4 times, most recently from 4d5191a to 37df4a4 Compare September 19, 2024 12:55
... tion date

Made with ❤️️ by updatecli
@jenkins-infra-updatecli jenkins-infra-updatecli bot force-pushed the updatecli_main_1019a34d70ff7787c9728384be3b9652e4d0c6bb98dbae38785ac7b387fc0317 branch from 37df4a4 to 7626a40 Compare September 19, 2024 12:57
Copy link
Collaborator

@smerle33 smerle33 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@smerle33 smerle33 merged commit b568ca3 into main Sep 19, 2024
3 checks passed
@smerle33 smerle33 deleted the updatecli_main_1019a34d70ff7787c9728384be3b9652e4d0c6bb98dbae38785ac7b387fc0317 branch September 19, 2024 13:12
dduportal added a commit that referenced this pull request Sep 19, 2024
…sts (#839)

Fixes the following problems:

- #822 has a wrong
documentation (body)
- Same for its title
- Recent updates did added an unexpected `null` value

---------

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants