Skip to content

CBG-5198 add shell script & Jenkinsfile to run couchbase lite e2e tests#8345

Open
torcolvin wants to merge 2 commits into
mainfrom
CBG-5198
Open

CBG-5198 add shell script & Jenkinsfile to run couchbase lite e2e tests#8345
torcolvin wants to merge 2 commits into
mainfrom
CBG-5198

Conversation

@torcolvin

@torcolvin torcolvin commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator

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.

Copilot AI review requested due to automatic review settings June 5, 2026 22:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.sh to clone and run couchbase-lite-tests via uv and pytest.
  • Updated .gitignore to ignore the cloned couchbase-lite-tests working 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.

Comment thread integration-test/e2e/run_e2e_tests.sh
Comment thread integration-test/e2e/run_e2e_tests.sh
Comment thread integration-test/run_e2e_tests.sh Outdated
Comment thread integration-test/run_e2e_tests.sh Outdated
Comment thread integration-test/e2e/run_e2e_tests.sh
@torcolvin torcolvin self-assigned this Jun 11, 2026
This can get invoked by Jenkins or by a user.
@torcolvin torcolvin changed the title CBG-5198 add shell script to run couchbase lite e2e tests CBG-5198 add shell script & Jenkinsfile to run couchbase lite e2e tests Jun 17, 2026
@torcolvin torcolvin assigned bbrks and unassigned torcolvin Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants