diff --git a/.lighthouse/pipeline-rust-build.yaml b/.lighthouse/pipeline-rust-build.yaml index 036a1b7..624e21a 100644 --- a/.lighthouse/pipeline-rust-build.yaml +++ b/.lighthouse/pipeline-rust-build.yaml @@ -137,7 +137,7 @@ spec: value: [] - name: docker-image value: "$(params.image-name):$(tasks.fetch-repository.results.commit)" - - name: run-image-all + - name: run-image-tracing-compare taskRef: name: run-docker-image workspaces: @@ -152,6 +152,26 @@ spec: value: ["--no-default-features", "--features", "tracing,compare"] - name: docker-image value: "$(params.image-name):$(tasks.fetch-repository.results.commit)" + - name: run-image-all + taskRef: + name: run-docker-image + workspaces: + - name: source + workspace: git-source + - name: cargo-cache + workspace: cargo-cache + runAfter: + - run-image-default + params: + - name: args + value: + [ + "--no-default-features", + "--features", + "tracing,compare,foreign_document_test", + ] + - name: docker-image + value: "$(params.image-name):$(tasks.fetch-repository.results.commit)" finally: - name: report-success when: diff --git a/Cargo.toml b/Cargo.toml index b150802..3829de9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -53,7 +53,7 @@ walkdir = { version = "2.3.3", optional = true } walkdir = "2.3.3" [features] -default = ["compare", "foreign_document_test"] +default = [] compare = [] foreign_document_test = ["compare", "dep:tokio", "dep:futures", "tokio/sync", "dep:walkdir"] tracing = ["dep:opentelemetry", "dep:opentelemetry-otlp", "dep:opentelemetry-semantic-conventions", "dep:tokio", "dep:tracing", "dep:tracing-opentelemetry", "dep:tracing-subscriber"] diff --git a/Makefile b/Makefile index a7412bc..fdab0f9 100644 --- a/Makefile +++ b/Makefile @@ -52,6 +52,7 @@ buildtest: > cargo build --no-default-features --features compare > cargo build --no-default-features --features tracing > cargo build --no-default-features --features compare,tracing +> cargo build --no-default-features --features compare,tracing,foreign_document_test .PHONY: foreign_document_test foreign_document_test: