Skip to content

Allow selecting coder server version used for scaletesting (release, dev build) #9574

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

Closed
mafredri opened this issue Sep 7, 2023 · 3 comments
Assignees
Labels
scaletest Issues related to scale testing.

Comments

@mafredri
Copy link
Member

mafredri commented Sep 7, 2023

At first, big.cdr.dev the one-click scaletest template will run the scaletest on the deployment itself.

We improve this so that the template spins up a new coder server based on the selected coder build (either release or dev-build).

@mafredri mafredri added the scaletest Issues related to scale testing. label Sep 7, 2023
@mafredri mafredri self-assigned this Sep 7, 2023
@cdr-bot cdr-bot bot added the feature label Sep 7, 2023
@johnstcn johnstcn assigned johnstcn and unassigned mafredri Sep 25, 2023
@johnstcn
Copy link
Member

johnstcn commented Sep 28, 2023

It may make sense to instead run two Coder deployments, accessible under different URLs:

  • The latest release
  • The latest nightly

The scaletest template can then be run on each independently.

@mafredri
Copy link
Member Author

@johnstcn that's definitely an option. In that scenario I would still like for us to have the ability to:

  1. Prevent automatic updates (while running a scaletest or testing an older version)
  2. Ability to easily change the deployed version (ideally accessible in an UI, like the runner)

We don't have to support 2 immediately, but we should keep it in mind. Why do we want it? For instance, say we detect a regression but are not sure when it started, we could then do a bisect type of flow.

That said, the original proposal has two pros:

  1. Everything is in one place (version, running)
  2. Enables the ability to test multiple versions either sequentially or concurrently

For now though, I'd classify these s as nice-to-haves.

@johnstcn
Copy link
Member

The Coder deployment on big.cdr.dev is now managed by FluxCD with configuration hosted on https://github.com/coder/big.cdr.dev. To override the version installed, we can either edit the configuration or suspend/unsuspend the HelmRelease directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scaletest Issues related to scale testing.
Projects
None yet
Development

No branches or pull requests

2 participants