|
|
|
@ -99,29 +99,41 @@ 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)"
|
|
|
|
|
command: []
|
|
|
|
|
args:
|
|
|
|
|
[
|
|
|
|
|
--no-default-features,
|
|
|
|
|
--features,
|
|
|
|
|
compare,
|
|
|
|
|
--no-fail-fast,
|
|
|
|
|
--lib,
|
|
|
|
|
--test,
|
|
|
|
|
test_loader,
|
|
|
|
|
]
|
|
|
|
|
workspaces:
|
|
|
|
|
- name: source
|
|
|
|
|
workspace: git-source
|
|
|
|
|
- name: cargo-cache
|
|
|
|
|
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
|
|
|
|
|
- name: IMAGE
|
|
|
|
|
value: "$(params.image-name):$(tasks.fetch-repository.results.commit)"
|
|
|
|
|
runAfter:
|
|
|
|
|
- build-image
|
|
|
|
|
finally:
|
|
|
|
|
- name: report-success
|
|
|
|
|
when:
|
|
|
|
|