Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/go_modules/pulumi-azure-native-sd…
Browse files Browse the repository at this point in the history
…k-e31420a4dc
  • Loading branch information
pducolin authored Dec 30, 2024
2 parents eb5c5c2 + 7521422 commit eea7763
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/docker/component.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func (d *Manager) ComposeStrUp(name string, composeManifests []ComposeInlineMani
Delete: pulumi.Sprintf("docker-compose %s down -t %d", composeFileArgs, defaultTimeout),
Environment: envVars,
},
utils.MergeOptions(d.opts, pulumi.DependsOn(runCommandDeps), pulumi.DeleteBeforeReplace(true))...,
utils.MergeOptions(d.opts, utils.PulumiDependsOn(runCommandDeps...), pulumi.DeleteBeforeReplace(true))...,
)
}

Expand Down
4 changes: 2 additions & 2 deletions resources/local/podman/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func NewInstance(e resourceslocal.Environment, args VMArgs, opts ...pulumi.Resou

podmanCommand := "podman --config " + dataPath

opts = utils.MergeOptions(opts, pulumi.DependsOn([]pulumi.Resource{dockerFile, dockerConfig}))
opts = utils.MergeOptions(opts, utils.PulumiDependsOn(dockerFile, dockerConfig))
buildPodman, err := runner.Command("podman-build"+args.Name, &command.Args{
Environment: pulumi.StringMap{"DOCKER_HOST_SSH_PUBLIC_KEY": pulumi.String(string(publicKey))},
Create: pulumi.Sprintf("%s build --format=docker --build-arg DOCKER_HOST_SSH_PUBLIC_KEY=\"$DOCKER_HOST_SSH_PUBLIC_KEY\" -t %s .", podmanCommand, args.Name),
Expand All @@ -67,7 +67,7 @@ func NewInstance(e resourceslocal.Environment, args VMArgs, opts ...pulumi.Resou
if err != nil {
return pulumi.StringOutput{}, "", -1, err
}
opts = utils.MergeOptions(opts, pulumi.DependsOn([]pulumi.Resource{buildPodman}))
opts = utils.MergeOptions(opts, utils.PulumiDependsOn(buildPodman))
runPodman, err := runner.Command("podman-run"+args.Name, &command.Args{
Environment: pulumi.StringMap{"DOCKER_HOST_SSH_PUBLIC_KEY": pulumi.String(string(publicKey))},
Create: pulumi.Sprintf("%s run -d --name=%[2]s_run -p 50022:22 %[2]s", podmanCommand, args.Name),
Expand Down

0 comments on commit eea7763

Please sign in to comment.