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

Conversation

jenkins-infra-updatecli[bot]
Copy link
Contributor

@jenkins-infra-updatecli jenkins-infra-updatecli bot commented Aug 12, 2024

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

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 requested a review from a team August 12, 2024 21:30
@jenkins-infra-updatecli jenkins-infra-updatecli bot force-pushed the updatecli_main_ab61385ee3fa09084aa4842b5a9d9c2ca4dc882f77fac205278e30fe8907f328 branch 4 times, most recently from d7e5fcf to c5e75f8 Compare August 20, 2024 15:46
@jenkins-infra-updatecli jenkins-infra-updatecli bot force-pushed the updatecli_main_ab61385ee3fa09084aa4842b5a9d9c2ca4dc882f77fac205278e30fe8907f328 branch 2 times, most recently from 7ee536f to 266a606 Compare August 22, 2024 11:43
... ration date

Made with ❤️️ by updatecli
@jenkins-infra-updatecli jenkins-infra-updatecli bot force-pushed the updatecli_main_ab61385ee3fa09084aa4842b5a9d9c2ca4dc882f77fac205278e30fe8907f328 branch from 266a606 to b003726 Compare August 22, 2024 14:02
@dduportal dduportal enabled auto-merge (squash) August 22, 2024 15:22
@dduportal dduportal merged commit 3b1e7cf into main Aug 22, 2024
3 checks passed
@dduportal dduportal deleted the updatecli_main_ab61385ee3fa09084aa4842b5a9d9c2ca4dc882f77fac205278e30fe8907f328 branch August 22, 2024 15:23
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