Skip to content

Commit

Permalink
create namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
davejrt committed Jul 16, 2021
1 parent 6a4264a commit 3e7eea0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .buildkite/integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ if [[ "${VERBOSE:-"false"}" == "true" ]]; then
TEST_ARGS+=("-v")
fi

kubectl create ns ns-sourcegraph

TEST_ARGS+=("./...")

echo "--- Running integration tests"
Expand Down
11 changes: 10 additions & 1 deletion tests/integration/fresh/step1/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ const storageClass = new k8s.storage.v1.StorageClass(
{ provider: k8sProvider }
)

const nameSpace = new k8s.v1.nameSpace(
'sourcegraph-namespace',
{
metadata: {
}
},
{ provider: k8sProvider }
)

const globOptions = {
ignore: ['**/kustomization.yaml'],
}
Expand All @@ -39,7 +48,7 @@ baseFiles.then(
},
{
providers: { kubernetes: k8sProvider },
dependsOn: [storageClass],
dependsOn: [storageClass,nameSpace],
}
)
)
Expand Down

0 comments on commit 3e7eea0

Please sign in to comment.