Skip to content

Commit b5e8c80

Browse files
committed
Enable Ruby e2e test by default in Docker harness
1 parent c339d88 commit b5e8c80

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,8 @@ RUBY_SDK_E2E=1 ./scripts/test-in-docker.sh bundle exec ruby -Itest test/integrat
523523

524524
The test uploads `chameleon.jpg`, resizes it, and asserts on the live assembly results.
525525

526+
> **Note:** `./scripts/test-in-docker.sh` now defaults to `RUBY_SDK_E2E=1`. If you want to skip the live upload during local runs, invoke `RUBY_SDK_E2E=0 ./scripts/test-in-docker.sh` instead.
527+
526528
### Releasing on RubyGems
527529

528530
Let's say you wanted to release version `3.1.0`, here are the steps:

scripts/test-in-docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ DOCKER_ARGS=(
6161
-e BUNDLE_CACHE_PATH=/workspace/$CACHE_DIR/bundle-cache
6262
-e npm_config_cache=/workspace/$CACHE_DIR/npm-cache
6363
-e TEST_NODE_PARITY="${TEST_NODE_PARITY:-0}"
64+
-e RUBY_SDK_E2E="${RUBY_SDK_E2E:-1}"
6465
-v "$PWD":/workspace
6566
-w /workspace
6667
)
@@ -77,7 +78,6 @@ PASSTHROUGH_ENV_VARS=(
7778
TRANSLOADIT_KEY
7879
TRANSLOADIT_SECRET
7980
TRANSLOADIT_TEMPLATE_ID
80-
RUBY_SDK_E2E
8181
)
8282

8383
for var in "${PASSTHROUGH_ENV_VARS[@]}"; do

0 commit comments

Comments
 (0)