-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[teleport-update] Add link subcommand (#48712)
* wip * refactor * docs * updater * add link command * test LinkPackage * cleanup * fix enterprise paths * fix systemd linking * typo * comment * comments * typo * feedback * adjust systemd service locations * cleanup tests, adjust service link path
- Loading branch information
Showing
13 changed files
with
978 additions
and
144 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
lib/autoupdate/agent/testdata/TestUpdater_Enable/insecure_URL.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: v1 | ||
kind: update_config | ||
spec: | ||
proxy: "" | ||
group: "" | ||
url_template: http://example.com | ||
enabled: false | ||
status: | ||
active_version: "" | ||
backup_version: "" |
10 changes: 10 additions & 0 deletions
10
lib/autoupdate/agent/testdata/TestUpdater_Enable/install_error.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: v1 | ||
kind: update_config | ||
spec: | ||
proxy: "" | ||
group: "" | ||
url_template: "" | ||
enabled: false | ||
status: | ||
active_version: "" | ||
backup_version: "" |
10 changes: 10 additions & 0 deletions
10
lib/autoupdate/agent/testdata/TestUpdater_Enable/invalid_metadata.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: "" | ||
kind: "" | ||
spec: | ||
proxy: "" | ||
group: "" | ||
url_template: "" | ||
enabled: false | ||
status: | ||
active_version: "" | ||
backup_version: "" |
10 changes: 10 additions & 0 deletions
10
lib/autoupdate/agent/testdata/TestUpdater_Update/insecure_URL.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: v1 | ||
kind: update_config | ||
spec: | ||
proxy: localhost | ||
group: "" | ||
url_template: http://example.com | ||
enabled: true | ||
status: | ||
active_version: "" | ||
backup_version: "" |
10 changes: 10 additions & 0 deletions
10
lib/autoupdate/agent/testdata/TestUpdater_Update/install_error.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: v1 | ||
kind: update_config | ||
spec: | ||
proxy: localhost | ||
group: "" | ||
url_template: "" | ||
enabled: true | ||
status: | ||
active_version: "" | ||
backup_version: "" |
10 changes: 10 additions & 0 deletions
10
lib/autoupdate/agent/testdata/TestUpdater_Update/invalid_metadata.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: "" | ||
kind: "" | ||
spec: | ||
proxy: localhost | ||
group: "" | ||
url_template: "" | ||
enabled: false | ||
status: | ||
active_version: "" | ||
backup_version: "" |
10 changes: 10 additions & 0 deletions
10
lib/autoupdate/agent/testdata/TestUpdater_Update/reload_fails.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: v1 | ||
kind: update_config | ||
spec: | ||
proxy: localhost | ||
group: "" | ||
url_template: https://example.com | ||
enabled: true | ||
status: | ||
active_version: old-version | ||
backup_version: backup-version |
10 changes: 10 additions & 0 deletions
10
lib/autoupdate/agent/testdata/TestUpdater_Update/sync_fails.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: v1 | ||
kind: update_config | ||
spec: | ||
proxy: localhost | ||
group: "" | ||
url_template: https://example.com | ||
enabled: true | ||
status: | ||
active_version: old-version | ||
backup_version: backup-version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.