Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehul-Kumar-27 committed Aug 25, 2024
1 parent b4756a2 commit 5a839e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ci/satellite.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ func (m *HarborSatellite) ExecuteTestsForSatellite(ctx context.Context, source *
fmt.Printf("Docker Host: %s\n", dockerHost)

goContainer = containerWithDocker.
WithMountedDirectory("/app", source).
WithWorkdir("/app").
WithMountedDirectory(PROJ_MOUNT, source).
WithWorkdir(PROJ_MOUNT).
WithExec([]string{"go", "test", "./..."})

output, err := goContainer.Stdout(ctx)
Expand Down
2 changes: 1 addition & 1 deletion ci/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (m *HarborSatellite) Service(
) *dagger.Service {
port := 2375
return dag.Container().
From(fmt.Sprintf("docker:%s-dind", dockerVersion)).
From(fmt.Sprintf("docker:%s", dockerVersion)).
WithMountedCache(
"/var/lib/docker",
dag.CacheVolume(dockerVersion+"-docker-lib"),
Expand Down

0 comments on commit 5a839e6

Please sign in to comment.