Add a shared cargo cache to the rust test pipeline.
All checks were successful
semver Build semver has succeeded
rustfmt Build rustfmt has succeeded
rust-test Build rust-test has succeeded

This is to be a better citizen by not constantly hammering github for the dependencies.
This commit is contained in:
Tom Alexander 2023-07-13 22:19:31 -04:00
parent d5a5d861c5
commit 7849a5c064
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -106,6 +106,8 @@ spec:
workspaces: workspaces:
- name: source - name: source
workspace: git-source workspace: git-source
- name: cargo-cache
workspace: cargo-cache
runAfter: runAfter:
- build-image - build-image
params: params:
@ -163,6 +165,7 @@ spec:
workspaces: workspaces:
- name: git-source - name: git-source
- name: docker-credentials - name: docker-credentials
- name: cargo-cache
workspaces: workspaces:
- name: git-source - name: git-source
volumeClaimTemplate: volumeClaimTemplate:
@ -174,6 +177,9 @@ spec:
requests: requests:
storage: 10Gi storage: 10Gi
subPath: rust-source subPath: rust-source
- name: cargo-cache
persistentVolumeClaim:
claimName: cargo-cache
- name: docker-credentials - name: docker-credentials
secret: secret:
secretName: harbor-plain secretName: harbor-plain