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,18 +99,23 @@ spec:
runAfter:
- fetch-repository
- name: run-image
taskRef:
name: run-docker-image
taskSpec:
metadata: {}
stepTemplate:
name: ""
workingDir: "$(workspaces.source.path)"
workspaces:
- name: source
workspace: git-source
mountPath: /source
- name: cargo-cache
workspace: cargo-cache
runAfter:
- build-image
params:
- name: args
value:
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,
@ -120,8 +125,13 @@ spec:
--test,
test_loader,
]
- name: docker-image
value: "$(params.image-name):$(tasks.fetch-repository.results.commit)"
workspaces:
- name: source
workspace: git-source
- name: cargo-cache
workspace: cargo-cache
runAfter:
- build-image
finally:
- name: report-success
when: