Skip to content

Commit

Permalink
[v14] Update install script references to use CDN (#44838) (#45087)
Browse files Browse the repository at this point in the history
* Update install script references to use CDN (#44838)

* Update link in main doc page

* Add back blank line at the end of `docs/config.json`

Co-authored-by: fheinecke <23390735+fheinecke@users.noreply.github.com>

---------

Co-authored-by: fheinecke <23390735+fheinecke@users.noreply.github.com>
  • Loading branch information
mcbattirola and fheinecke authored Aug 14, 2024
1 parent 3f7da83 commit 1250517
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/post-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ jobs:
.variables.teleport.latest_oss_docker_image |= sub(":.*";":")+$version |
.variables.teleport.latest_oss_debug_docker_image |= sub(":.*";":")+$version |
.variables.teleport.latest_ent_docker_image |= sub(":.*";":")+$version |
.variables.teleport.latest_ent_debug_docker_image |= sub(":.*";":")+$version' \
.variables.teleport.latest_ent_debug_docker_image |= sub(":.*";":")+$version |
.variables.teleport.teleport_install_script_url |= sub("install-v.*.sh"; "install-v"+$version+".sh")' \
docs/config.json > docs/confignew.json
cat docs/confignew.json
mv docs/confignew.json docs/config.json
Expand Down
3 changes: 2 additions & 1 deletion docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,8 @@
"latest_oss_docker_image": "public.ecr.aws/gravitational/teleport-distroless:14.3.23",
"latest_oss_debug_docker_image": "public.ecr.aws/gravitational/teleport-distroless-debug:14.3.23",
"latest_ent_docker_image": "public.ecr.aws/gravitational/teleport-ent-distroless:14.3.23",
"latest_ent_debug_docker_image": "public.ecr.aws/gravitational/teleport-ent-distroless-debug:14.3.23"
"latest_ent_debug_docker_image": "public.ecr.aws/gravitational/teleport-ent-distroless-debug:14.3.23",
"teleport_install_script_url": "https://cdn.teleport.dev/install-v15.4.11.sh"
},
"terraform": {
"version": "1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/includes/install-linux-oss.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ The following command updates the repository for the package manager on the
local operating system and installs the provided Teleport version:

```code
$ curl https://goteleport.com/static/install.sh | bash -s (=teleport.version=)
$ curl (=teleport.teleport_install_script_url=) | bash -s (=teleport.version=)
```

2 changes: 1 addition & 1 deletion docs/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ set up records for:
On your Linux host, run the following command to install the Teleport binary:

```code
$ curl https://goteleport.com/static/install.sh | bash -s (=teleport.version=)
$ curl (=teleport.teleport_install_script_url=) | bash -s (=teleport.version=)
```

#### Configure Teleport
Expand Down
2 changes: 1 addition & 1 deletion examples/agent-pool-terraform/teleport/userdata
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

curl https://goteleport.com/static/install.sh | bash -s ${teleport_version} ${teleport_edition}
curl https://cdn.teleport.dev/install-v${teleport_version}.sh | bash -s ${teleport_version} ${teleport_edition}

echo ${token} > /var/lib/teleport/token
cat<<EOF >/etc/teleport.yaml
Expand Down

0 comments on commit 1250517

Please sign in to comment.