Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support Ryuk for the compose module #2485

Merged
merged 19 commits into from
Apr 22, 2024
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: rename local compose testss
mdelapenya committed Apr 19, 2024
commit 7aad6e1390603d52ac4500f04fe1b4a73bb00332
18 changes: 9 additions & 9 deletions modules/compose/compose_test.go
Original file line number Diff line number Diff line change
@@ -115,7 +115,7 @@ func TestLocalDockerCompose(t *testing.T) {
checkIfError(t, err)
}

func TestDockerComposeStrategyForInvalidService(t *testing.T) {
func TestLocalDockerComposeStrategyForInvalidService(t *testing.T) {
path := RenderComposeSimple(t)

identifier := strings.ToLower(uuid.New().String())
@@ -138,7 +138,7 @@ func TestDockerComposeStrategyForInvalidService(t *testing.T) {
assert.Contains(t, compose.Services, "nginx")
}

func TestDockerComposeWithWaitLogStrategy(t *testing.T) {
func TestLocalDockerComposeWithWaitLogStrategy(t *testing.T) {
path := RenderComposeComplex(t)

identifier := strings.ToLower(uuid.New().String())
@@ -162,7 +162,7 @@ func TestDockerComposeWithWaitLogStrategy(t *testing.T) {
assert.Contains(t, compose.Services, "mysql")
}

func TestDockerComposeWithWaitForService(t *testing.T) {
func TestLocalDockerComposeWithWaitForService(t *testing.T) {
path := RenderComposeSimple(t)

identifier := strings.ToLower(uuid.New().String())
@@ -187,7 +187,7 @@ func TestDockerComposeWithWaitForService(t *testing.T) {
assert.Contains(t, compose.Services, "nginx")
}

func TestDockerComposeWithWaitForShortLifespanService(t *testing.T) {
func TestLocalDockerComposeWithWaitForShortLifespanService(t *testing.T) {
path := filepath.Join(testdataPackage, "docker-compose-short-lifespan.yml")

identifier := strings.ToLower(uuid.New().String())
@@ -212,7 +212,7 @@ func TestDockerComposeWithWaitForShortLifespanService(t *testing.T) {
assert.Contains(t, compose.Services, "tzatziki")
}

func TestDockerComposeWithWaitHTTPStrategy(t *testing.T) {
func TestLocalDockerComposeWithWaitHTTPStrategy(t *testing.T) {
path := RenderComposeSimple(t)

identifier := strings.ToLower(uuid.New().String())
@@ -237,7 +237,7 @@ func TestDockerComposeWithWaitHTTPStrategy(t *testing.T) {
assert.Contains(t, compose.Services, "nginx")
}

func TestDockerComposeWithContainerName(t *testing.T) {
func TestLocalDockerComposeWithContainerName(t *testing.T) {
path := RenderComposeWithName(t)

identifier := strings.ToLower(uuid.New().String())
@@ -262,7 +262,7 @@ func TestDockerComposeWithContainerName(t *testing.T) {
assert.Contains(t, compose.Services, "nginx")
}

func TestDockerComposeWithWaitStrategy_NoExposedPorts(t *testing.T) {
func TestLocalDockerComposeWithWaitStrategy_NoExposedPorts(t *testing.T) {
path := filepath.Join(testdataPackage, "docker-compose-no-exposed-ports.yml")

identifier := strings.ToLower(uuid.New().String())
@@ -284,7 +284,7 @@ func TestDockerComposeWithWaitStrategy_NoExposedPorts(t *testing.T) {
assert.Contains(t, compose.Services, "nginx")
}

func TestDockerComposeWithMultipleWaitStrategies(t *testing.T) {
func TestLocalDockerComposeWithMultipleWaitStrategies(t *testing.T) {
path := RenderComposeComplex(t)

identifier := strings.ToLower(uuid.New().String())
@@ -308,7 +308,7 @@ func TestDockerComposeWithMultipleWaitStrategies(t *testing.T) {
assert.Contains(t, compose.Services, "mysql")
}

func TestDockerComposeWithFailedStrategy(t *testing.T) {
func TestLocalDockerComposeWithFailedStrategy(t *testing.T) {
path := RenderComposeSimple(t)

identifier := strings.ToLower(uuid.New().String())