Skip to content

Commit

Permalink
researching
Browse files Browse the repository at this point in the history
  • Loading branch information
erka committed Jul 1, 2024
1 parent a0ecc19 commit 78ea602
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build/testing/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,13 @@ func Unit(ctx context.Context, client *dagger.Client, flipt *dagger.Container) e
WithExposedPort(8081, dagger.ContainerWithExposedPortOpts{
Description: "schema registry endpoint",
}).
WithEnvVariable("REDPANDA_ADVERTISE_KAFKA_ADDRESS", "kafka-1:9092").
WithEnvVariable("REDPANDA_KAFKA_ADDRESS", "PLAINTEXT://localhost:9092, OUTSIDE://kafka:9092").
WithEnvVariable("REDPANDA_ADVERTISE_KAFKA_ADDRESS", "PLAINTEXT://localhost:9092, OUTSIDE://kafka:9092").
WithExec(nil).
AsService()
flipt = flipt.
WithEnvVariable("KAFKA_BOOTSTRAP_SERVER", "kafka-1").
WithServiceBinding("kafka-1", kafka)
WithEnvVariable("KAFKA_BOOTSTRAP_SERVER", "kafka").
WithServiceBinding("kafka", kafka)

if goFlags := os.Getenv("GOFLAGS"); goFlags != "" {
flipt = flipt.WithEnvVariable("GOFLAGS", goFlags)
Expand Down

0 comments on commit 78ea602

Please sign in to comment.