Skip to content

Commit

Permalink
chore(test): Integration tests for k8s infrastructure (#5240)
Browse files Browse the repository at this point in the history
  • Loading branch information
german-muzquiz committed Feb 9, 2021
1 parent 6d5322b commit 447bb5e
Show file tree
Hide file tree
Showing 10 changed files with 1,049 additions and 191 deletions.
3 changes: 2 additions & 1 deletion clouddriver-kubernetes/clouddriver-kubernetes.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ task integrationTest(type: Test) {
description = 'Runs kubernetes provider integration tests.'
group = 'verification'

environment "PROJECT_ROOT", project.rootDir.toString()
environment "KUBECTL_PATH", "$project.rootDir/clouddriver-kubernetes/src/integration/resources/kubectl-wrapper.sh"
environment "KUBECONFIGS_HOME", "$project.rootDir/clouddriver-kubernetes/build/kubeconfigs"
useJUnitPlatform()

testClassesDirs = sourceSets.integration.output.classesDirs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
public abstract class BaseTest {

public static final String APP1_NAME = "testApp1";
public static final String APP2_NAME = "testApp2";
public static final String ACCOUNT1_NAME = "account1";
public static final String ACCOUNT2_NAME = "account2";

@LocalServerPort int port;

Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit 447bb5e

Please sign in to comment.