-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat: add build directory for testing with dagger #8
Conversation
build/main.go
Outdated
WithExec([]string{"cargo", "build", "--release"}) | ||
|
||
// Flipt | ||
flipt := client.Container().From("flipt/flipt:latest"). |
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.
We have to use a dev version of flipt here because latest
doesn't have the routes that we need for testing yet.
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.
we should be able to merge flipt-io/flipt#2408, then we could use nightly
starting tomorrow
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.
I can actually build it now, now that ☝🏻 is merged
965f9aa
to
331eb12
Compare
} | ||
defer client.Close() | ||
|
||
dir := client.Host().Directory(".") |
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 works when you run from the root directory as
dagger run go run ./build
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.
looks great! one comment about switching to use nightly after merging the client API in Flipt
60c4773
to
0f57a9d
Compare
0f57a9d
to
c3e8f52
Compare
Basic directory structure for integration testing evaluation clients with Rust core.
Completes FLI-699