2023-07-11 09:26:49 +00:00
|
|
|
apiVersion: config.lighthouse.jenkins-x.io/v1alpha1
|
|
|
|
kind: TriggerConfig
|
|
|
|
spec:
|
|
|
|
postsubmits:
|
|
|
|
- name: semver
|
|
|
|
agent: tekton-pipeline
|
|
|
|
branches:
|
|
|
|
- ^main$
|
|
|
|
- ^master$
|
|
|
|
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: semver
|
|
|
|
namespace: lighthouse
|
|
|
|
workspaces:
|
|
|
|
- name: git-source
|
|
|
|
volumeClaimTemplate:
|
|
|
|
spec:
|
|
|
|
storageClassName: "nfs-client"
|
|
|
|
accessModes:
|
|
|
|
- ReadWriteOnce
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
storage: 10Gi
|
|
|
|
subPath: organic-source
|
|
|
|
params: []
|
2023-07-11 10:49:08 +00:00
|
|
|
- name: cargo-fmt
|
|
|
|
agent: tekton-pipeline
|
|
|
|
branches:
|
|
|
|
- ^main$
|
|
|
|
- ^master$
|
|
|
|
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-fmt-pipeline
|
|
|
|
namespace: lighthouse
|
|
|
|
workspaces:
|
|
|
|
- name: git-source
|
|
|
|
volumeClaimTemplate:
|
|
|
|
spec:
|
|
|
|
storageClassName: "nfs-client"
|
|
|
|
accessModes:
|
|
|
|
- ReadWriteOnce
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
storage: 10Gi
|
|
|
|
subPath: rust-source
|
2023-07-13 04:26:08 +00:00
|
|
|
params: []
|
2023-07-13 03:27:27 +00:00
|
|
|
- name: organic-test
|
2023-07-13 02:33:30 +00:00
|
|
|
agent: tekton-pipeline
|
2023-07-13 03:27:27 +00:00
|
|
|
context: organic-test
|
2023-07-13 02:33:30 +00:00
|
|
|
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
|
2023-07-13 03:05:59 +00:00
|
|
|
- name: cargo-image
|
2023-07-13 03:27:27 +00:00
|
|
|
value: harbor.fizz.buzz/private/organic-test
|
2023-07-11 10:49:08 +00:00
|
|
|
- name: build-cargo-fmt
|
|
|
|
agent: tekton-pipeline
|
|
|
|
branches:
|
|
|
|
- "^v[0-9]+\\.[0-9]+\\.[0-9]+$"
|
|
|
|
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-fmt"
|
|
|
|
- name: path-to-image-context
|
|
|
|
value: docker/cargo_fmt/
|
|
|
|
- name: path-to-dockerfile
|
|
|
|
value: docker/cargo_fmt/Dockerfile
|
2023-07-13 03:27:27 +00:00
|
|
|
- name: build-organic-test
|
2023-07-13 03:14:22 +00:00
|
|
|
agent: tekton-pipeline
|
|
|
|
branches:
|
|
|
|
- "^v[0-9]+\\.[0-9]+\\.[0-9]+$"
|
|
|
|
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
|
2023-07-13 04:42:18 +00:00
|
|
|
value: "harbor.fizz.buzz/private/organic-test"
|
2023-07-13 03:14:22 +00:00
|
|
|
- name: path-to-image-context
|
2023-07-13 03:27:27 +00:00
|
|
|
value: docker/organic_test/
|
2023-07-13 03:14:22 +00:00
|
|
|
- name: path-to-dockerfile
|
2023-07-13 03:27:27 +00:00
|
|
|
value: docker/organic_test/Dockerfile
|