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

[v16] oneoff script: Use user directory instead of /tmp for downloading teleport #43248

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

marcoandredinis
Copy link
Contributor

Backport #43029 to branch/v16

Some systems have a very restricted size in `/tmp`.
When doing some tests, we found out that Amazon Linux 2023 EC2 instance
only has 475MB (possibly related to using an instance with 1GB of RAM?),
and that's not enough to download and uncompress the tarball.
We tried to optimize that and only extract the `teleport/teleport`
binary, but there's not enough space for that as well.

So, instead, we are now storing the teleport binary in the user's cache
dir.

Another change is that we also remove the created folder when the script
exits.
@marcoandredinis marcoandredinis added the no-changelog Indicates that a PR does not require a changelog entry label Jun 19, 2024
@github-actions github-actions bot requested review from gzdunek and probakowski June 19, 2024 15:07
@marcoandredinis marcoandredinis added this pull request to the merge queue Jun 19, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 19, 2024
@marcoandredinis marcoandredinis added this pull request to the merge queue Jun 19, 2024
Merged via the queue into branch/v16 with commit edafae3 Jun 19, 2024
39 checks passed
@marcoandredinis marcoandredinis deleted the bot/backport-43029-branch/v16 branch June 19, 2024 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants