Configure a pipeline to run tests for every commit.
Some checks failed
semver Build semver has succeeded
cargo-fmt Build cargo-fmt has succeeded
build-cargo-fmt Build build-cargo-fmt has succeeded
cargo-test Build cargo-test has failed

This commit is contained in:
Tom Alexander 2023-07-12 22:33:30 -04:00
parent edcad08406
commit 24b308312e
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -56,6 +56,36 @@ spec:
params:
- name: GIT_BRANCH
value: "master"
- name: cargo-test
agent: tekton-pipeline
branches:
- ^.*$
context: cargo-test
max_concurrency: 1
# Override https-based url from lighthouse events.
clone_uri: "git@code.fizz.buzz:talexander/organic.git"
pipeline_run_spec:
serviceAccountName: build-bot
pipelineRef:
name: cargo-test-pipeline
namespace: lighthouse
workspaces:
- name: git-source
volumeClaimTemplate:
spec:
storageClassName: "nfs-client"
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
subPath: rust-source
params:
- name: cargo-test-args
value:
- --lib
- --test
- test_loader
- name: build-cargo-fmt
agent: tekton-pipeline
branches: