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

OneOff Script: use ent build if cluster is Enterprise #33061

Merged
merged 2 commits into from
Oct 9, 2023

Conversation

marcoandredinis
Copy link
Contributor

We were always using the OSS version of teleport in the one-off scripts.

This PR changes that to pick the correct version depending on the running version in the Proxy.

lib/web/scripts/oneoff/oneoff.sh Show resolved Hide resolved
@marcoandredinis
Copy link
Contributor Author

The flaky tester is failing because the test times out.
It is compressing some files using gzip and it takes around 4s (locally)

Can I please get a waiver on this flaky test? (admins only? cc @r0mant )

I can change the compression level to BestSpeed for this test if that's preferable

@r0mant
Copy link
Collaborator

r0mant commented Oct 6, 2023

I can change the compression level to BestSpeed for this test if that's preferable

@marcoandredinis Would this speed up the test? If so, that would be better, yes.

@marcoandredinis
Copy link
Contributor Author

It goes from 4s to less than a second (locally at least)
This method is used elsewhere: for compressing the certificates for Database Access
But I think it should be ok to always use best speed, but please let me know if you think otherwise.

@marcoandredinis marcoandredinis added this pull request to the merge queue Oct 6, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 6, 2023
@marcoandredinis marcoandredinis added this pull request to the merge queue Oct 6, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 6, 2023
@avatus avatus added this pull request to the merge queue Oct 6, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 6, 2023
@avatus avatus added this pull request to the merge queue Oct 7, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 7, 2023
@marcoandredinis marcoandredinis added this pull request to the merge queue Oct 9, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 9, 2023
We were always using the OSS version of teleport in the one-off scripts.

This PR changes that to pick the correct version depending on the
running version in the Proxy.
Merged via the queue into master with commit c3550a2 Oct 9, 2023
31 checks passed
@marcoandredinis marcoandredinis deleted the marco/oneoff_use_ent_bin branch October 9, 2023 14:03
@public-teleport-github-review-bot

@marcoandredinis See the table below for backport results.

Branch Result
branch/v13 Create PR
branch/v14 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants