Skip to content

Commit

Permalink
fix(compose): remove test volumes (#2712)
Browse files Browse the repository at this point in the history
Remove test volumes so that we don't leave orphaned resources after
tests have run.

Remove really unused code as there is no need for it.

Add missing error checks on pipe setup.
  • Loading branch information
stevenh authored Aug 9, 2024
1 parent b36f59f commit dbc0ba9
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 113 deletions.
8 changes: 0 additions & 8 deletions modules/compose/compose_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@ func (f stackUpOptionFunc) applyToStackUp(o *stackUpOptions) {
f(o)
}

//nolint:unused
type stackDownOptionFunc func(do *api.DownOptions)

//nolint:unused
func (f stackDownOptionFunc) applyToStackDown(do *api.DownOptions) {
f(do)
}

// RunServices is comparable to 'docker compose run' as it only creates a subset of containers
// instead of all services defined by the project
func RunServices(serviceNames ...string) StackUpOption {
Expand Down
Loading

0 comments on commit dbc0ba9

Please sign in to comment.