Remove dependency on run-docker-image task.
Some checks failed
rust-test Build rust-test has failed
rust-build Build rust-build has succeeded

This commit is contained in:
Tom Alexander 2023-08-31 21:42:17 -04:00
parent a40a504f94
commit 7eccf8fccd
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -99,8 +99,32 @@ spec:
runAfter: runAfter:
- fetch-repository - fetch-repository
- name: run-image - name: run-image
taskRef: taskSpec:
name: run-docker-image 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: workspaces:
- name: source - name: source
workspace: git-source workspace: git-source
@ -108,20 +132,6 @@ spec:
workspace: cargo-cache workspace: cargo-cache
runAfter: runAfter:
- build-image - 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: finally:
- name: report-success - name: report-success
when: when: