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

[v17] Client tools autoupdates #48635

Merged
merged 2 commits into from
Nov 11, 2024
Merged

Conversation

vapopov
Copy link
Contributor

@vapopov vapopov commented Nov 7, 2024

Backports:
#47815
#48218

changelog: Client tools {tctl,tsh} auto-updates controlled by cluster configuration

* Client auto updates integration for tctl/tsh

* Add version validation
Fix recursive version check for darwin platform
Fix cleanup for multi-package support

* Fix identifying tools removal from home directory

* Replace ToolsMode with ToolsAutoUpdate

* Reuse insecure flag for tests

* Fix CheckRemote with login

* Fix windows administrative access requirement
Update must be able to be canceled, re-execute with latest version or last updated
Show progress bar before request is made

* Fix update cancellation for login action
Address review comments

* Add signal handler with stack context cancellation

* Use copy instead of hard link for windows
Fix progress bar if we can't receive size of package

* Replace with list in order to support manual cancel

* Download archive package to temp directory

* Decrease timeout for client tools proxy call
@vapopov vapopov requested review from sclevine and hugoShaka November 7, 2024 21:50
@github-actions github-actions bot added audit-log Issues related to Teleports Audit Log size/lg tctl tctl - Teleport admin tool tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Nov 7, 2024
@github-actions github-actions bot requested a review from bernardjkim November 7, 2024 21:50
@vapopov vapopov force-pushed the vapopv/client-tools-autoupdates-v17 branch from 7abde91 to 4cdee4a Compare November 7, 2024 22:09
@vapopov vapopov enabled auto-merge November 8, 2024 19:48
@vapopov vapopov added this pull request to the merge queue Nov 11, 2024
Merged via the queue into branch/v17 with commit 200eb57 Nov 11, 2024
42 checks passed
@vapopov vapopov deleted the vapopv/client-tools-autoupdates-v17 branch November 11, 2024 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audit-log Issues related to Teleports Audit Log backport size/lg tctl tctl - Teleport admin tool tsh tsh - Teleport's command line tool for logging into nodes running Teleport.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants