Skip to content

[Enhancement]: Support Temporalio dev container #1530

@JobaDiniz

Description

@JobaDiniz

Problem

Temporalio dev container: https://hub.docker.com/r/temporalio/temporal
Temporal: https://temporal.io/

Solution

Create a new nuget package Testcontainers.Temporalio

Benefit

Standard temporalio testcontainer package, helping integration tests using temporal dev server on CI.

Alternatives

Build on your own all the time:

container = new ContainerBuilder()
            .WithImage("temporalio/temporal:latest")
            .WithCommand("server", "start-dev", "--ip", "0.0.0.0")
            .WithPortBinding(GrpcPort, true)
            .WithPortBinding(HttpPort, true)
            .WithWaitStrategy(Wait.ForUnixContainer().UntilHttpRequestIsSucceeded(r => r
                .ForPath("/api/v1/namespaces")
                .ForPort(HttpPort)))
            .Build();

Would you like to help contributing this enhancement?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmoduleAn official Testcontainers module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions