Skip to content

Commit

Permalink
Update install script references to use CDN
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbattirola committed Jul 30, 2024
1 parent ff68deb commit 733b87b
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 10 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
5 changes: 3 additions & 2 deletions docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -1352,7 +1352,8 @@
"latest_oss_docker_image": "public.ecr.aws/gravitational/teleport-distroless:13.3.7",
"latest_oss_debug_docker_image": "public.ecr.aws/gravitational/teleport-distroless-debug:13.3.7",
"latest_ent_docker_image": "public.ecr.aws/gravitational/teleport-ent-distroless:13.3.7",
"latest_ent_debug_docker_image": "public.ecr.aws/gravitational/teleport-ent-distroless-debug:13.3.7"
"latest_ent_debug_docker_image": "public.ecr.aws/gravitational/teleport-ent-distroless-debug:13.3.7",
"teleport_install_script_url": "https://cdn.teleport.dev/install-v15.4.11.sh"
},
"terraform": {
"version": "1.0.0"
Expand Down Expand Up @@ -2675,4 +2676,4 @@
"permanent": true
}
]
}
}
2 changes: 1 addition & 1 deletion docs/pages/deploy-a-cluster/linux-demo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,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 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/includes/install-linux.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Install Teleport on your Linux server:
1. Install Teleport on your Linux server:

```code
$ curl https://goteleport.com/static/install.sh | bash -s ${TELEPORT_VERSION} <Var name="edition" />
$ curl (=teleport.teleport_install_script_url=) | bash -s ${TELEPORT_VERSION} <Var name="edition" />
```

The installation script detects the package manager on your Linux server and
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Download and run the installation script on the server where you want to install
Teleport:

```code
$ curl https://goteleport.com/static/install.sh | bash -s ${TELEPORT_VERSION?} ${TELEPORT_EDITION?}
$ curl (=teleport.teleport_install_script_url=) | bash -s ${TELEPORT_VERSION?} ${TELEPORT_EDITION?}
```

### Package repositories
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/upgrading/automatic-agent-updates.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ Server ID Hostname Services Version Upgrader
<TabItem label="Managed Teleport Enterprise">

```code
$ curl https://goteleport.com/static/install.sh | bash -s ${TELEPORT_VERSION?} cloud
$ curl (=teleport.teleport_install_script_url=) | bash -s ${TELEPORT_VERSION?} cloud
```

</TabItem>
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/upgrading/reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ Service, then on each of your agents:
1. Install the new Teleport version on your Linux server:

```code
$ curl https://goteleport.com/static/install.sh | bash -s <Var name="version" /> <Var name="edition" />
$ curl (=teleport.teleport_install_script_url=) | bash -s <Var name="version" /> <Var name="edition" />
```

The installation script detects the package manager on your Linux server and
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 733b87b

Please sign in to comment.