diff --git a/.lighthouse/triggers.yaml b/.lighthouse/triggers.yaml index fb1857b2..9393651a 100644 --- a/.lighthouse/triggers.yaml +++ b/.lighthouse/triggers.yaml @@ -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: