Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a helper shell script to run Couchbase Lite C end-to-end tests against Sync Gateway backed by either Rosmar or Couchbase Server, intended for Jenkins and local developer use.
Changes:
- Added
integration-test/run_e2e_tests.shto clone and run couchbase-lite-tests viauvandpytest. - Updated
.gitignoreto ignore the clonedcouchbase-lite-testsworking directory.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| integration-test/run_e2e_tests.sh | New runner script for CBL e2e tests (env validation, backing-store selection, clone/build/run/pytest flow). |
| .gitignore | Ignores the couchbase-lite-tests checkout created by the new script. |
This can get invoked by Jenkins or by a user.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CBG-5198 add shell script to run couchbase lite e2e tests
This can get invoked by Jenkins or by a user.
This can be invoked in https://jenkins.sgwdev.com/job/Couchbase%20Lite%20E2E/ and this script runs on linux or mac.
The Jenkinsfile stores the information needed to run a pipeline. The versions of DEFAULT_COUCHBASE_LITE_VERSION and DEFAULT _COUCHBASE_SERVER_VERSION are stored as environment variables https://jenkins.sgwdev.com/manage/configure - we could probably share this server version with integration test runs and weekly runs. This uses active choice plugin to fill in the default value from this value. I tried to think of other ways to separate the version number from the jenkinsfile so this doesn't need to be backported to each branch and this was the best idea I had.