Build a cargo test image.
Some checks failed
semver Build semver has succeeded
cargo-fmt Build cargo-fmt has succeeded
cargo-test Build cargo-test has failed
build-cargo-fmt Build build-cargo-fmt has succeeded
build-cargo-test Build build-cargo-test has succeeded

We need this because the build fails missing crti.o.
This commit is contained in:
Tom Alexander
2023-07-12 23:14:22 -04:00
parent 8134a35368
commit a2267a5569
3 changed files with 72 additions and 0 deletions

View File

@@ -122,3 +122,37 @@ spec:
value: docker/cargo_fmt/
- name: path-to-dockerfile
value: docker/cargo_fmt/Dockerfile
- name: build-cargo-test
agent: tekton-pipeline
branches:
- "^v[0-9]+\\.[0-9]+\\.[0-9]+$"
context: build-docker
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: build-docker-pipeline
namespace: lighthouse
workspaces:
- name: git-source
volumeClaimTemplate:
spec:
storageClassName: "nfs-client"
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
subPath: git-source
- name: docker-credentials
secret:
secretName: harbor-plain
params:
- name: image-name
value: "harbor.fizz.buzz/private/cargo-test"
- name: path-to-image-context
value: docker/cargo_test/
- name: path-to-dockerfile
value: docker/cargo_test/Dockerfile