gravitational / teleport

The easiest, and most secure way to access and protect all of your infrastructure.
https://goteleport.com
GNU Affero General Public License v3.0
17.58k stars 1.76k forks source link

For GitHub actions provide option to pull the teleport version automatically #47659

Open stevenGravy opened 3 weeks ago

stevenGravy commented 3 weeks ago

What would you like Teleport to do?

The current spec in GitHub actions has a hardcoded version to pull the teleport package. Instead have a option pull the version from the recommended agent version such as https://teleport.example.com/webapi/automaticupgrades/channel/stable/cloud/version.

Image

What problem does this solve?

Keeps the Teleport version used in GitHub actions in line with Teleport Cluster. Otherwise this becomes a regular maintenance item for every upgrade in Teleport to all the GitHub actions.

If a workaround exists, please include it.

The GitHub actions has to be updated regularly or variables used.

strideynet commented 3 weeks ago

Sweet idea. Should be pretty easy to do.

strideynet commented 2 weeks ago

Spoke to @hugoShaka and it looks like that endpoint is going to disappear in the mid-term future - we should wait for https://github.com/gravitational/teleport/pull/47126 and then proceed with this task based on the changes from the new auto-updater work.