Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,33 @@ jobs:
- name: Install Python dependencies
run: pip install -r requirements.txt

# Local S3 endpoint for tests/test_backup_store_config.py's S3 cells
# (an S3 store's /health against an endpoint that refuses, stalls and
# recovers), which devtools/run-tests runs on a SQLite build after the
# main suite. Same moto as the unit-test workflow, pinned in
# requirements-moto.txt, installed into a virtualenv of its own: its
# boto3 and botocore pins differ from requirements.txt's, and the
# suite keeps running on the environment installed above. On port
# 9200, clear of the server's.
- name: Start S3 mock
run: |
python -m venv "$RUNNER_TEMP/moto-venv"
"$RUNNER_TEMP/moto-venv/bin/pip" install -r requirements-moto.txt
nohup "$RUNNER_TEMP/moto-venv/bin/moto_server" -p 9200 > moto.log 2>&1 &
for _ in $(seq 1 30); do
if curl -sf http://127.0.0.1:9200/ > /dev/null; then exit 0; fi
sleep 1
done
echo "moto_server did not start"; cat moto.log; exit 1

- name: Run integration tests
env:
EXTENDDB_TEST_ENDPOINT: https://127.0.0.1:18443
EXTENDDB_ADMIN_USER: admin
EXTENDDB_ADMIN_PASSWORD: ${{ steps.init.outputs.admin_password }}
# The backup store wire tests' S3 cells; the file sets the AWS_*
# variables for the servers it starts, so none leaks here.
EXTENDDB_TEST_S3_ENDPOINT: http://127.0.0.1:9200
run: devtools/run-tests --extenddb --pytest --comprehensive --parallel --filter "not import_export"

# Same rationale as the postgres job: the daemonized server logs to
Expand All @@ -259,6 +281,10 @@ jobs:
if: failure()
run: sudo journalctl -t extenddb --no-pager -n 500 || true

- name: Print the S3 mock's log
if: failure()
run: cat moto.log || true

run-integration-dev-mode:
# dev-mode was shipped with no CI coverage at all, which is how the batch and
# transaction authorization regression reached main: the build compiled, so
Expand Down
10 changes: 10 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,161 changes: 1,128 additions & 33 deletions SOFTWARE-LICENSE-NOTICES-CASSANDRA.html

Large diffs are not rendered by default.

1,190 changes: 1,130 additions & 60 deletions SOFTWARE-LICENSE-NOTICES-DEV.html

Large diffs are not rendered by default.

936 changes: 900 additions & 36 deletions SOFTWARE-LICENSE-NOTICES-MONGODB.html

Large diffs are not rendered by default.

1,189 changes: 1,129 additions & 60 deletions SOFTWARE-LICENSE-NOTICES.html

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions crates/app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ extenddb-engine = { workspace = true }
extenddb-storage = { workspace = true }
extenddb-config = { workspace = true }
extenddb-server = { workspace = true }
extenddb-backup-store = { workspace = true }
futures = { workspace = true }
tokio = { workspace = true }
anyhow = { workspace = true }
clap = { workspace = true }
Expand Down
Loading
Loading