Skip to content

Add --config flag to override config file location#80

Open
carole-lavillonniere wants to merge 1 commit intocarole/drg-550from
carole/drg-551-config-flag
Open

Add --config flag to override config file location#80
carole-lavillonniere wants to merge 1 commit intocarole/drg-550from
carole/drg-551-config-flag

Conversation

@carole-lavillonniere
Copy link
Collaborator

@carole-lavillonniere carole-lavillonniere commented Mar 5, 2026

cmd.Env = env.With(env.APIEndpoint, mockServer.URL).With(env.AuthToken, "test-token-for-license-validation")
output, err := cmd.CombinedOutput()

_, stderr, err := runLstk(t, "", env.With(env.APIEndpoint, mockServer.URL).With(env.AuthToken, "test-token-for-license-validation"), "start")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We now use runLstk in each integration test. Previously it was only used in config_test.go

@carole-lavillonniere carole-lavillonniere force-pushed the carole/drg-551-config-flag branch 3 times, most recently from 6687d22 to 60396ea Compare March 5, 2026 14:21
@carole-lavillonniere carole-lavillonniere force-pushed the carole/drg-551-config-flag branch from 60396ea to 1754153 Compare March 5, 2026 14:28
@carole-lavillonniere carole-lavillonniere marked this pull request as ready for review March 5, 2026 14:30
Copy link
Member

@silv-io silv-io left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I wonder if we'll need that for the tests launched in the pty as well?

@carole-lavillonniere
Copy link
Collaborator Author

LGTM! I wonder if we'll need that for the tests launched in the pty as well?

Yes could be at some point

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants