-
Notifications
You must be signed in to change notification settings - Fork 894
feat(scaletest): add scaletest-runner template #9662
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
51b5054
feat(scaletest): add scaletest-runner template
mafredri 9a579fb
add setup/scaletest-sa.yaml
mafredri cde4388
fix typo
mafredri cd20cb8
shfmt
mafredri 12ecd71
fix typo
mafredri 55d6fd8
fix shellcheck
mafredri b251af9
fmt
mafredri 1b1b401
improve precondition
mafredri fa0de66
turn namespace into param
mafredri 77d575c
turn some params to non-ephemeral
mafredri abab20f
expose concurrency knobs as parameters
mafredri dac2ff8
refactor phase, create lib
mafredri 059988e
refactor to use state dir in run dir
mafredri 6352ce1
move permission check higher up
mafredri 67e54a6
fixup! turn namespace into param
mafredri 8f6950a
fixup! turn namespace into param
mafredri 964778e
add cleanup strategy and make minor tweaks
mafredri 57fd74e
move prepare/install step to Dockerfile
mafredri 4c22a73
fix
mafredri 35ac68f
add todo for cleanup
mafredri 7cffd30
store timestamps for all status messages
mafredri 5cb0e9b
make fmt/shfmt
mafredri e037b6b
fix unbound var
mafredri f336a0a
clean up previous runs if needed
mafredri 047c784
clean up results json files
mafredri 18875f4
add previous phase
mafredri 0507591
fix
mafredri d83f480
grep -c <3
mafredri 179f5b4
ns
mafredri 5f5d3b1
add compression of old archives
mafredri c9205ce
s/echo/log/
mafredri f7b8c00
increase zstd compression level
mafredri 4688f59
make sleep a dry-run op
mafredri 3f4008c
make compression a dry-run op
mafredri 0fce513
show dry-run in status
mafredri 94b49e9
make shellcheck happy
mafredri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add setup/scaletest-sa.yaml
- Loading branch information
commit 9a579fb97a4e39a6e77d8c420e571f05a580f75d
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: scaletest-sa | ||
namespace: coder-big | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
name: scaletest-role | ||
namespace: coder-big | ||
rules: | ||
- apiGroups: | ||
- "" | ||
resources: ["*"] | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- patch | ||
- delete | ||
- deletecollection | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: scaletest-rolebinding | ||
namespace: coder-big | ||
subjects: | ||
- kind: ServiceAccount | ||
name: scaletest-sa | ||
roleRef: | ||
kind: Role | ||
name: scaletest-role | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: coder-provisioner-podmonitor-rolebinding | ||
namespace: coder-big | ||
subjects: | ||
- kind: ServiceAccount | ||
name: coder-provisioner | ||
roleRef: | ||
kind: Role | ||
name: coder-podmonitor | ||
--- |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be incorporated into scaletest/terraform instead
EDIT: If you prefer, I can incorporate this when I'm going through and updating the tf config instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I'd appreciate that! Should I remove it from this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nah you can leave it.