Skip to content

Commit 2b9b894

Browse files
add test owners
1 parent 043833a commit 2b9b894

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

framework/components/dockercompose/billing_platform_service/billing_platform_service.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ type Input struct {
5151
RPCURL string `toml:"rpc_url"`
5252
WorkflowRegistryAddress string `toml:"workflow_registry_address"`
5353
CapabilitiesRegistryAddress string `toml:"capabilities_registry_address"`
54+
WorkflowOwners []string `toml:"workflow_owners"`
5455
}
5556

5657
func defaultBillingPlatformService(in *Input) *Input {
@@ -118,6 +119,7 @@ func New(in *Input) (*Output, error) {
118119
envVars["MAINNET_CAPABILITIES_REGISTRY_RPC_URL"] = in.RPCURL
119120
envVars["MAINNET_CAPABILITIES_REGISTRY_FINALITY_DEPTH"] = "10" // Arbitrary value, adjust as needed
120121

122+
envVars["TEST_OWNERS"] = strings.Join(in.WorkflowOwners, ",")
121123
envVars["STREAMS_API_URL"] = in.StreamsAPIURL
122124
envVars["STREAMS_API_KEY"] = in.StreamsAPIKey
123125
envVars["STREAMS_API_SECRET"] = in.StreamsAPISecret

framework/components/dockercompose/billing_platform_service/docker-compose.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ services:
3434
MAINNET_CAPABILITIES_REGISTRY_RPC_URL: ${MAINNET_CAPABILITIES_REGISTRY_RPC_URL:-}
3535
TESTNET_CAPABILITIES_REGISTRY_RPC_URL: ${MAINNET_CAPABILITIES_REGISTRY_RPC_URL:-}
3636
MAINNET_CAPABILITIES_REGISTRY_FINALITY_DEPTH: ${MAINNET_CAPABILITIES_REGISTRY_FINALITY_DEPTH:-}
37+
TEST_OWNERS: ${TEST_OWNERS:-}
3738
STREAMS_API_URL: ${STREAMS_API_URL:-}
3839
STREAMS_API_KEY: ${STREAMS_API_KEY:-}
3940
STREAMS_API_SECRET: ${STREAMS_API_SECRET:-}
@@ -87,4 +88,6 @@ services:
8788
billing-platform-service:
8889
condition: service_started
8990
restart: on-failure
90-
command: ["db", "populate-data", "--environment=local", "--billing-client-url=billing-platform-service:2222", "--skip-linking"]
91+
command: ["db", "populate-data", "--environment=local", "--billing-client-url=billing-platform-service:2222", "--linking-client-url=billing-platform-service:2257"]
92+
environment:
93+
TEST_OWNERS: ${TEST_OWNERS:-}

0 commit comments

Comments
 (0)