diff --git a/.lighthouse/pipeline-rust-test.yaml b/.lighthouse/pipeline-rust-test.yaml index c1b2716..8cb0a53 100644 --- a/.lighthouse/pipeline-rust-test.yaml +++ b/.lighthouse/pipeline-rust-test.yaml @@ -99,8 +99,32 @@ spec: runAfter: - fetch-repository - name: run-image - taskRef: - name: run-docker-image + taskSpec: + metadata: {} + stepTemplate: + name: "" + workingDir: "$(workspaces.source.path)" + workspaces: + - name: source + mountPath: /source + - name: cargo-cache + mountPath: /usr/local/cargo/registry + optional: true + steps: + - name: run + image: "$(params.image-name):$(tasks.fetch-repository.results.commit)" + workingDir: "$(workspaces.source.path)" + command: [] + args: + [ + --no-default-features, + --features, + compare, + --no-fail-fast, + --lib, + --test, + test_loader, + ] workspaces: - name: source workspace: git-source @@ -108,20 +132,6 @@ spec: workspace: cargo-cache runAfter: - build-image - params: - - name: args - value: - [ - --no-default-features, - --features, - compare, - --no-fail-fast, - --lib, - --test, - test_loader, - ] - - name: docker-image - value: "$(params.image-name):$(tasks.fetch-repository.results.commit)" finally: - name: report-success when: