diff --git a/.circleci/config.yml b/.circleci/config.yml index f521cc19..f602989c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,7 +10,7 @@ jobs: - run: go get github.com/golang/lint/golint - run: golint - run: go build -v - - run: make -C integration-test/testdata + - run: make -C e2e/testdata - run: go test -v ./... release: diff --git a/integration-test/auth.go b/e2e/auth.go similarity index 99% rename from integration-test/auth.go rename to e2e/auth.go index d84c72cd..25bfc083 100644 --- a/integration-test/auth.go +++ b/e2e/auth.go @@ -1,4 +1,4 @@ -package integration +package e2e import ( "crypto/rand" diff --git a/integration-test/integration_test.go b/e2e/e2e_test.go similarity index 99% rename from integration-test/integration_test.go rename to e2e/e2e_test.go index 90eaf2af..ecc39eca 100644 --- a/integration-test/integration_test.go +++ b/e2e/e2e_test.go @@ -1,4 +1,4 @@ -package integration +package e2e import ( "context" diff --git a/integration-test/kubeconfig.go b/e2e/kubeconfig.go similarity index 97% rename from integration-test/kubeconfig.go rename to e2e/kubeconfig.go index 4948840e..072b91c0 100644 --- a/integration-test/kubeconfig.go +++ b/e2e/kubeconfig.go @@ -1,4 +1,4 @@ -package integration +package e2e import ( "html/template" diff --git a/integration-test/testdata/.gitignore b/e2e/testdata/.gitignore similarity index 100% rename from integration-test/testdata/.gitignore rename to e2e/testdata/.gitignore diff --git a/integration-test/testdata/Makefile b/e2e/testdata/Makefile similarity index 100% rename from integration-test/testdata/Makefile rename to e2e/testdata/Makefile diff --git a/integration-test/testdata/kubeconfig.yaml b/e2e/testdata/kubeconfig.yaml similarity index 100% rename from integration-test/testdata/kubeconfig.yaml rename to e2e/testdata/kubeconfig.yaml diff --git a/integration-test/testdata/oidc-discovery.json b/e2e/testdata/oidc-discovery.json similarity index 100% rename from integration-test/testdata/oidc-discovery.json rename to e2e/testdata/oidc-discovery.json diff --git a/integration-test/testdata/oidc-jwks.json b/e2e/testdata/oidc-jwks.json similarity index 100% rename from integration-test/testdata/oidc-jwks.json rename to e2e/testdata/oidc-jwks.json diff --git a/integration-test/testdata/oidc-token.json b/e2e/testdata/oidc-token.json similarity index 100% rename from integration-test/testdata/oidc-token.json rename to e2e/testdata/oidc-token.json diff --git a/integration-test/testdata/openssl.cnf b/e2e/testdata/openssl.cnf similarity index 100% rename from integration-test/testdata/openssl.cnf rename to e2e/testdata/openssl.cnf