Skip to content

Commit

Permalink
fix one more transpiler test
Browse files Browse the repository at this point in the history
  • Loading branch information
tedim52 committed Oct 27, 2023
1 parent b1a6b80 commit f1794a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func TestAngularCompose(t *testing.T) {
`)
expectedResult := `def run(plan):
plan.upload_files(src = "web--volume0", name = "./angular")
plan.add_service(name = "web", config = ServiceConfig(image="alpine", ports={"port0": PortSpec(number=4200, transport_protocol="TCP")}, files={"/project": "web--volume0", "/project/node_modules": ServiceConfig(persistent_key="volume1")}, env_vars={}))
plan.add_service(name = "web", config = ServiceConfig(image=ImageBuildSpec(context_dir="angular", target_stage="builder"), ports={"port0": PortSpec(number=4200, transport_protocol="TCP")}, files={"/project": "web--volume0", "/project/node_modules": ServiceConfig(persistent_key="volume1")}, env_vars={}))
`

result, err := convertComposeToStarlark(composeBytes, map[string]string{})
Expand Down

0 comments on commit f1794a6

Please sign in to comment.