From 7f4ddad520cd9dcc98edbccf6c2b71939540bf8f Mon Sep 17 00:00:00 2001 From: OpenClaw Bot Date: Sat, 28 Feb 2026 04:26:31 +0000 Subject: [PATCH 1/3] Add Docker development environment - docker-compose.yml with Rust image - openclaw-network for container communication - Volume for cargo cache Closes #10 --- docker-compose.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..f2e5c47 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,23 @@ +version: '3.8' + +services: + builder: + image: rust:1.75-bookworm + container_name:-enveil-builder + working_dir: /app + volumes: + - ./code:/app + - cargo-cache:/usr/local/cargo/registry + networks: + - openclaw-network + environment: + - RUST_BACKTRACE=1 + command: ["tail", "-f", "/dev/null"] + +networks: + openclaw-network: + name: openclaw-network + external: true + +volumes: + cargo-cache: From 8b11d4f96f110ea666e4f3520a297d2962c041e0 Mon Sep 17 00:00:00 2001 From: OpenClaw Bot Date: Sat, 28 Feb 2026 04:33:54 +0000 Subject: [PATCH 2/3] Fix YAML syntax error in docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index f2e5c47..42c870e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ version: '3.8' services: builder: image: rust:1.75-bookworm - container_name:-enveil-builder + container_name: enveil-builder working_dir: /app volumes: - ./code:/app From 029f651ec2fc80e229dce3fc7bbf56afd76ff20d Mon Sep 17 00:00:00 2001 From: OpenClaw Bot Date: Sat, 28 Feb 2026 08:10:08 +0000 Subject: [PATCH 3/3] feat(#16): Add CI/CD pipeline - GitHub Actions workflow for tests - Release on merge to main --- .github/workflows/ci.yml | 41 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..afecde9 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,41 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install Rust + uses: dtolnay/rust-action@stable + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose + + release: + needs: test + if: github.ref == 'refs/heads/main' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Release + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + - name: Build release + run: cargo build --release + - name: Create Release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: v${{ github.run_number }} + release_name: Release v${{ github.run_number }} + draft: true