Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/actions/cpp-bazel/pre-merge/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ runs:
shell: bash
run: |
cd foreign/cpp
bazel test --config=ci //:low-level-e2e
bazel test --config=ci //:e2e

- name: Stop server after e2e tests
if: always() && inputs.task == 'e2e'
Expand Down
1 change: 0 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ updates:
- package-ecosystem: "bazel"
directories:
- "/foreign/cpp"
- "/bdd/cpp"
schedule:
interval: "weekly"
day: "thursday"
Expand Down
25 changes: 0 additions & 25 deletions bdd/cpp/.bazelrc

This file was deleted.

1 change: 0 additions & 1 deletion bdd/cpp/.bazelversion

This file was deleted.

1 change: 0 additions & 1 deletion bdd/cpp/.gitignore

This file was deleted.

53 changes: 0 additions & 53 deletions bdd/cpp/BUILD.bazel

This file was deleted.

10 changes: 5 additions & 5 deletions bdd/cpp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@

# C++ BDD harness, built in three stages so the runtime image carries only what the test run
# needs (~330 MB instead of ~10 GB for a single toolchain image):
# 1. build - Bazel builds the cucumber-cpp wire server. bdd/cpp is its own Bazel module and
# links the Iggy C++ SDK from foreign/cpp via local_path_override; rules_rust
# fetches its own Rust toolchain, so no system Rust is needed.
# 1. build - Bazel builds the cucumber-cpp wire server from the foreign/cpp module, where a
# symlink exposes the step definitions stored under bdd/cpp; rules_rust fetches
# its own Rust toolchain, so no system Rust is needed.
# 2. deps - Bundler installs the Ruby Cucumber runner (compiles the ffi native extension).
# 3. runtime - copies the wire server binary and the vendored gems, then runs cucumber.
# cucumber-cpp v0.8.0 is wire-only: the Ruby runner reads the shared feature files and drives
# the C++ wire server over the wire protocol.

# Stage 1: build the wire server with Bazel.
FROM gcr.io/bazel-public/bazel:9.1.1 AS build
FROM gcr.io/bazel-public/bazel:9.2.0 AS build

USER root
WORKDIR /workspace
COPY . .

RUN cd bdd/cpp \
RUN cd foreign/cpp \
&& bazel build --config=ci //:bdd_wire_server \
&& cp bazel-bin/bdd_wire_server /tmp/bdd_wire_server

Expand Down
33 changes: 0 additions & 33 deletions bdd/cpp/MODULE.bazel

This file was deleted.

Loading
Loading