-
Notifications
You must be signed in to change notification settings - Fork 102
Integration test overhaul #225
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
Integration test overhaul #225
Conversation
62be5c7
to
2a5843b
Compare
2a5843b
to
72930a8
Compare
72930a8
to
019fd39
Compare
019fd39
to
672551f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm.
Thanks for the PR. Nice work with keeping flexibility with environment varaible setup. Sorry for the delay in review. So only TM definition is required now. Which as discussed will be done later.
Please rebase the PR. |
Signed-off-by: Shreyas Rao <shreyas.sriganesh.rao@sap.com>
672551f
to
769cdd4
Compare
@swapnilgm PR is rebased. |
769cdd4
to
11e1f50
Compare
11e1f50
to
b694732
Compare
.ci/integration_test
Outdated
cleanup_test_environment | ||
echo "Successfully completed all tests." | ||
if [ -r "$INTEGRATION_TEST_KUBECONFIG" ]; then | ||
SOURCE_PATH=$SOURCE_PATH ETCD_VERSION=$ETCD_VERSION ETCDBR_VERSION=$ETCDBR_VERSION KUBECONFIG=$INTEGRATION_TEST_KUBECONFIG STORAGE_CONTAINER=$TEST_ID ACCESS_KEY_ID=$ACCESS_KEY_ID SECRET_ACCESS_KEY=$SECRET_ACCESS_KEY REGION=$REGION ginkgo -v -timeout=15m -mod=vendor test/e2e/integrationcluster |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SOURCE_PATH=$SOURCE_PATH ETCD_VERSION=$ETCD_VERSION ETCDBR_VERSION=$ETCDBR_VERSION KUBECONFIG=$INTEGRATION_TEST_KUBECONFIG STORAGE_CONTAINER=$TEST_ID ACCESS_KEY_ID=$ACCESS_KEY_ID SECRET_ACCESS_KEY=$SECRET_ACCESS_KEY REGION=$REGION ginkgo -v -timeout=15m -mod=vendor test/e2e/integrationcluster | |
KUBECONFIG=$INTEGRATION_TEST_KUBECONFIG STORAGE_CONTAINER=$TEST_ID ginkgo -v -timeout=15m -mod=vendor test/e2e/integrationcluster |
Signed-off-by: Shreyas Rao <shreyas.sriganesh.rao@sap.com>
b694732
to
ac47019
Compare
What this PR does / why we need it:
This PR adds support to run integration tests on any given k8s cluster. Introduces the
make integration-test-cluster
target, which can be used to run etcd-backup-restore integration tests by setting environment variablesINTEGRATION_TEST_KUBECONFIG
(cluster against which tests will be run),ETCD_VERSION
(optional) andETCDBR_VERSION
(optional), and S3 bucket details via environment variablesSTORAGE_CONTAINER
,ACCESS_KEY_ID
,SECRET_ACCESS_KEY
andREGION
.Which issue(s) this PR fixes:
Fixes partially #107
Special notes for your reviewer:
Will raise a separate PR for TM integration.
Release note: