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: 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: workspaces:
- name: source - name: source
workspace: git-source mountPath: /source
- name: cargo-cache - name: cargo-cache
workspace: cargo-cache mountPath: /usr/local/cargo/registry
runAfter: optional: true
- build-image steps:
params: - name: run
- name: args image: "$(params.image-name):$(tasks.fetch-repository.results.commit)"
value: workingDir: "$(workspaces.source.path)"
command: []
args:
[ [
--no-default-features, --no-default-features,
--features, --features,
@ -120,8 +125,13 @@ spec:
--test, --test,
test_loader, test_loader,
] ]
- name: docker-image workspaces:
value: "$(params.image-name):$(tasks.fetch-repository.results.commit)" - name: source
workspace: git-source
- name: cargo-cache
workspace: cargo-cache
runAfter:
- build-image
finally: finally:
- name: report-success - name: report-success
when: when: