chore: import upstream snapshot with attribution
CI (OpenClaw E2E) / openclaw test (push) Has been cancelled
CI / coverage-report (push) Has been cancelled
CI / test-kubernetes (push) Has been cancelled
CI / should-run-thorough (push) Has been cancelled
CI / test-thorough (cloudwatch-demo) (push) Has been cancelled
CI / test-thorough (flink-ecs) (push) Has been cancelled
CI / test-thorough (upstream-lambda) (push) Has been cancelled
CI / test-thorough (prefect-ecs-fargate) (push) Has been cancelled
Release / build-binaries (zip, opensre.exe, onefile, windows-latest, windows-x64) (push) Has been cancelled
Benchmark image — build + push to ECR (any adapter) / build + push (push) Has been cancelled
CI / quality (ubuntu-latest) (push) Has been cancelled
CI / test (tools-runtime) (push) Has been cancelled
CI / test (e2e-general) (push) Has been cancelled
CI / test (cli-runtime) (push) Has been cancelled
CI / test (e2e-provider-and-openclaw) (push) Has been cancelled
CI / test (integrations-and-misc) (push) Has been cancelled
Release / verify (push) Has been cancelled
Release / build-python-dist (push) Has been cancelled
Release / build-binaries (tar.gz, opensre, onedir, macos-15-intel, darwin-x64) (push) Has been cancelled
Release / build-binaries (tar.gz, opensre, onedir, macos-latest, darwin-arm64) (push) Has been cancelled
Release / build-binaries (tar.gz, opensre, onedir, ubuntu-22.04, linux-x64) (push) Has been cancelled
Release / publish-release (push) Has been cancelled
Release / publish-main-release (push) Has been cancelled
Interactive Shell Live (PR + post-merge) / turn-checks (no-LLM) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Interactive Shell Live (PR + post-merge) / turn-live shard ${{ matrix.shard_index }} (push) Has been cancelled
Release / prepare (push) Has been cancelled
Release / build-binaries (tar.gz, opensre, onedir, ubuntu-22.04-arm, linux-arm64) (push) Has been cancelled
Synthetic Deterministic Tests / Synthetic offline (deterministic) (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 13:10:45 +08:00
commit 4b6817381b
3933 changed files with 525247 additions and 0 deletions
@@ -0,0 +1,8 @@
#!/bin/bash
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$SCRIPT_DIR/../.."
echo "=== Flink ECS Test Case Deployment (SDK) ==="
python3 infrastructure_sdk/deploy.py
@@ -0,0 +1,8 @@
#!/bin/bash
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$SCRIPT_DIR/../.."
echo "=== Flink ECS Test Case Teardown (SDK) ==="
python3 infrastructure_sdk/destroy.py
@@ -0,0 +1,2 @@
# Build artifacts - copied during deploy.sh
flink_job/
@@ -0,0 +1,18 @@
FROM python:3.11-slim
WORKDIR /app
# Copy app and config, then install dependencies
COPY app/__init__.py /app/app/__init__.py
COPY config /app/config
COPY tests/e2e/upstream_apache_flink_ecs/pipeline_code/flink_job/requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r /app/requirements.txt
# Copy Flink job code
COPY tests/e2e/upstream_apache_flink_ecs/pipeline_code/flink_job /app/flink_job
# Copy entrypoint script
COPY tests/e2e/upstream_apache_flink_ecs/infrastructure_code/flink_image/entrypoint.sh /app/entrypoint.sh
RUN chmod +x /app/entrypoint.sh
ENTRYPOINT ["/app/entrypoint.sh"]
@@ -0,0 +1,17 @@
#!/bin/bash
set -e
echo "[FLINK] Starting batch job..."
echo "[FLINK] LANDING_BUCKET=$LANDING_BUCKET"
echo "[FLINK] PROCESSED_BUCKET=$PROCESSED_BUCKET"
echo "[FLINK] CORRELATION_ID=$CORRELATION_ID"
echo "[FLINK] S3_KEY=$S3_KEY"
# Run the PyFlink batch job
python -m flink_job.main \
--input-bucket "$LANDING_BUCKET" \
--output-bucket "$PROCESSED_BUCKET" \
--correlation-id "$CORRELATION_ID" \
--s3-key "$S3_KEY"
echo "[FLINK] Batch job completed successfully"