Iramis Valentin
dd2a0681e2
Fix broken `dartboard load` command ( #101 )
...
* modify configmap.yaml template to account for new dir structure, have load.go account for new dir structure, added TODO to load.go
* account for new k6 folder structure in k6Run()
* add .helmignore
* fix linter issues
* use sync.Once to ensure file path entries are only cached once per-command execution
* remove debug log lines
* add comments to 'FileEntries' functions
* fix unused assignment
* add relative paths to K6Run() calls
2025-09-03 18:19:32 -04:00
Iramis Valentin
fd824db806
Add override option to Dart files for rancher charts repo ( #81 )
2025-07-23 17:39:27 -04:00
Silvio Moioli
0fbefd3647
bugfix: kubectl run does not have --http-debug ( #69 )
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2025-06-06 11:00:55 -04:00
Iramis Valentin
53479fd4ac
add support for extra env vars, add rancher chart repo override ( #54 )
...
* add support for extra env vars, add rancher chart repo override
* fix ineffectual assignment
2025-05-29 11:18:01 -04:00
Iramis Valentin
6e4e1f8bda
add k6_with_env.sh for more easily running a given k6 script with a given .env
2025-02-21 21:11:46 +00:00
Silvio Moioli
79e3ec9d1a
improve log line with copypastable command
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2025-01-28 09:31:42 +01:00
Alejandro Ruiz
f6b58e5c86
Use correct cluster name when importing images into k3d
2025-01-21 16:27:23 +01:00
Alejandro Ruiz
d8e1c3dbd7
Rename key to rancher_values
2025-01-20 12:10:46 +01:00
Alejandro Ruiz
696f30021f
Add support for specifying arbitrary helm values for installing Rancher
2025-01-17 17:37:08 +01:00
Silvio Moioli
b1abb20d52
refactoring: rename 'backend' to 'node_module'
...
That's what it really is.
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-12-19 15:38:57 +01:00
Silvio Moioli
39f3dbbf69
bugfix: pass variables to init
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-12-18 14:21:41 +01:00
Silvio Moioli
612983cba0
bugfix: set monitoring taints correctly ( #31 )
2024-12-09 10:06:24 +01:00
Iramis Valentin
e7a3f5042e
Handle tofu workspaces and store stateful files in workspace-specific dirs ( #29 )
2024-12-05 14:08:28 +01:00
Iramis Valentin
8763800b68
Merge pull request #28 from moio/k6_logging_attempt_2
...
Add debug log line to run k6 directly: refined
2024-12-02 12:28:48 -05:00
Silvio Moioli
b302f74809
bugfix: restore variables in destroy subcommand ( #23 )
2024-12-02 17:26:48 +01:00
Silvio Moioli
7f84aaa760
add debug log line to run k6 directly
...
When k6 scripts need to be debugged it is cumbersome to do so in the tester cluster
Add a developer friendly log line to copypaste in order to run the same k6
script that dartboard would run locally, by using the correct parameters
(eg. base url pointing to the tunnel instead of the private address)
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-12-02 14:36:49 +01:00
Iramis Valentin
71b54338c9
Merge pull request #26 from moio/k6_debug
...
add debug log line to run k6 directly
2024-11-20 13:02:43 -05:00
Silvio Moioli
bbaf995145
add debug log line to run k6 directly
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-11-14 15:52:48 +01:00
Silvio Moioli
2e4f7f9d11
bump k6 in kubectl.go to match the vendored version
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-11-14 15:30:28 +01:00
Silvio Moioli
c75c4625de
EXPERIMENTAL: use embedded tofu directly
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-11-06 14:51:48 +01:00
Silvio Moioli
3c395ea3cc
use embedded tofu
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-11-04 13:10:07 +01:00
Silvio Moioli
0320249e87
use embedded helm instead importing it as library
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-10-04 16:55:17 +02:00
Silvio Moioli
33b2decbb4
use embedded kubectl instead of direct API access
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-10-04 16:55:17 +02:00
Silvio Moioli
dd07f0334c
use embedded kubectl instead of system one
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-10-04 16:55:17 +02:00
Silvio Moioli
f9f76df9a5
use embedded k3d
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-10-04 16:55:17 +02:00
Silvio Moioli
b7c0f0b22b
add code to run a vendored binary
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-10-04 16:55:17 +02:00
Silvio Moioli
a4f4ad33d6
add code to extract vendored binaries
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-10-04 16:55:17 +02:00
Iramis Valentin
d7021084c5
Merge pull request #7 from rancher/wait_more
...
Fix Rancher monitoring deployment errors
2024-08-30 10:29:02 -04:00
Silvio Moioli
0f64afa0a4
Wait until Rancher components are ready before installing Rancher Monitoring
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-08-30 10:27:55 +02:00
Silvio Moioli
500f769556
uniform dart recipes: defaults commented, simple simple darts
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-08-30 10:26:21 +02:00
Silvio Moioli
a4da74986e
fix lint errors
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-08-29 13:17:41 +02:00
Silvio Moioli
9b1c2aace3
Fix up package imports after the migration
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-08-28 17:01:19 +02:00
Iramis Valentin
a216c3b59f
refactor tofu/format pkg
2024-08-16 05:41:02 +00:00
Iramis Valentin
671a2b2caa
make tofu/format convert func public, use in tofu pkg for parsing hcl
2024-08-16 02:22:00 +00:00
Iramis Valentin
97c187ce56
less hacky tofuvars parsing using cty and hclwrite
2024-08-15 23:38:29 +00:00
Iramis Valentin
b947266314
add hacks to enable parsing []interface{} and map[string]interface{} input vars
2024-08-15 23:38:28 +00:00
Iramis Valentin
7406088c64
add tofu/format package
2024-08-15 23:34:58 +00:00
Silvio Moioli
f34df128b0
Rename recipes to darts
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-08-12 14:56:16 +02:00
Silvio Moioli
ca790fb042
add option to override the Rancher image
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-08-08 09:58:42 +02:00
Silvio Moioli
c1286ce8ed
autodetect and use the Prime registry
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-08-08 09:57:10 +02:00
Silvio Moioli
71e49df9e3
Restructure scli's UI
...
- remove most commandline parameters in favor of a config file (recipe)
- add k3d examples of recipes
- add passthrough tofu subcommands: apply and destroy
- split setup subcommand into deploy and load
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-08-02 15:34:53 +02:00
Silvio Moioli
c24dfda16d
refactor: move files per https://go.dev/doc/modules/layout
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-07-22 10:07:25 +02:00