Closed tdeebswihart closed 11 months ago
Proof that this would have caught our issue:
$ TEMPORAL_VERSION=sha-f0e32dd bash test.sh
...
Error: unable to health check "temporal.api.workflowservice.v1.WorkflowService" service: connection error: desc = "transport: Error while dialing: dial tcp: lookup temporal on 127.0.0.11:53: no such host"
('export TEMPORAL_CLI_SHOW_STACKS=1' to see stack traces)
temporal | sql schema version compatibility check failed: dial tcp 192.168.208.3:5432: connect: connection refused
temporal | Unable to create server. Error: could not build arguments for function "go.uber.org/fx".(*module).constructCustomLogger.func2 (/go/pkg/mod/go.uber.org/fx@v1.20.0/module.go:251): failed to build fxevent.Logger: could not build arguments for function "go.temporal.io/server/temporal".glob..func8 (/home/builder/temporal/temporal/fx.go:1031): failed to build log.Logger: received non-nil error from function "go.temporal.io/server/temporal".ServerOptionsProvider (/home/builder/temporal/temporal/fx.go:180): sql schema version compatibility check failed: dial tcp 192.168.208.3:5432: connect: connection refused.
Closed in favor of https://github.com/temporalio/docker-builds/pull/175
What was changed
I added a simple "does the server start" test
Why?
So that we know when we let the magic smoke out, like when we broke the auto-setup image