Skip to content

Commit

Permalink
make test
Browse files Browse the repository at this point in the history
  • Loading branch information
day0hero committed Mar 1, 2024
1 parent ac8a06d commit c858c95
Show file tree
Hide file tree
Showing 15 changed files with 685 additions and 5 deletions.
89 changes: 89 additions & 0 deletions tests/all-pipelines-industrial-edge-factory.expected.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
---
# Source: pipelines/templates/tekton-config.yaml
apiVersion: operator.tekton.dev/v1alpha1
kind: TektonConfig
metadata:
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
name: config
spec:
addon:
params:
- name: clusterTasks
value: "true"
- name: pipelineTemplates
value: "true"
- name: communityClusterTasks
value: "true"
chain:
artifacts.taskrun.format: in-toto
artifacts.taskrun.storage: tekton
artifacts.taskrun.signer: x509
artifacts.oci.storage: oci
artifacts.oci.format: simplesigning
artifacts.oci.signer: x509
transparency.enabled: "true"
dashboard:
readonly: false
params:
- name: createRbacResource
value: "true"
pipeline:
await-sidecar-readiness: true
default-service-account: pipeline
disable-affinity-assistant: false
disable-creds-init: false
enable-api-fields: stable
enable-bundles-resolver: true
enable-cluster-resolver: true
enable-custom-tasks: true
enable-git-resolver: true
enable-hub-resolver: true
enable-provenance-in-status: false
enable-tekton-oci-bundles: false
metrics.pipelinerun.duration-type: histogram
metrics.pipelinerun.level: pipeline
metrics.taskrun.duration-type: histogram
metrics.taskrun.level: task
params:
- name: enableMetrics
value: "true"
performance:
disable-ha: false
require-git-ssh-secret-known-hosts: false
running-in-environment-with-injected-sidecars: true
send-cloudevents-for-runs: false
trusted-resources-verification-no-match-policy: ignore
platforms:
openshift:
pipelinesAsCode:
enable: true
settings:
application-name: Pipelines as Code CI
auto-configure-new-github-repo: "false"
bitbucket-cloud-check-source-ip: "true"
custom-console-name: ""
custom-console-url: ""
custom-console-url-pr-details: ""
custom-console-url-pr-tasklog: ""
error-detection-from-container-logs: "true"
error-detection-max-number-of-lines: "50"
error-detection-simple-regexp: ^(?P<filename>[^:]*):(?P<line>[0-9]+):(?P<column>[0-9]+):([
]*)?(?P<error>.*)
error-log-snippet: "true"
hub-catalog-name: tekton
hub-url: https://api.hub.tekton.dev/v1
remote-tasks: "true"
secret-auto-create: "true"
secret-github-app-token-scoped: "true"
profile: all
pruner:
disabled: false
keep: 100
resources:
- pipelinerun
schedule: 0 8 * * *
targetNamespace: openshift-pipelines
trigger:
default-service-account: pipeline
enable-api-fields: stable
89 changes: 89 additions & 0 deletions tests/all-pipelines-industrial-edge-hub.expected.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
---
# Source: pipelines/templates/tekton-config.yaml
apiVersion: operator.tekton.dev/v1alpha1
kind: TektonConfig
metadata:
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
name: config
spec:
addon:
params:
- name: clusterTasks
value: "true"
- name: pipelineTemplates
value: "true"
- name: communityClusterTasks
value: "true"
chain:
artifacts.taskrun.format: in-toto
artifacts.taskrun.storage: tekton
artifacts.taskrun.signer: x509
artifacts.oci.storage: oci
artifacts.oci.format: simplesigning
artifacts.oci.signer: x509
transparency.enabled: "true"
dashboard:
readonly: false
params:
- name: createRbacResource
value: "true"
pipeline:
await-sidecar-readiness: true
default-service-account: pipeline
disable-affinity-assistant: false
disable-creds-init: false
enable-api-fields: stable
enable-bundles-resolver: true
enable-cluster-resolver: true
enable-custom-tasks: true
enable-git-resolver: true
enable-hub-resolver: true
enable-provenance-in-status: false
enable-tekton-oci-bundles: false
metrics.pipelinerun.duration-type: histogram
metrics.pipelinerun.level: pipeline
metrics.taskrun.duration-type: histogram
metrics.taskrun.level: task
params:
- name: enableMetrics
value: "true"
performance:
disable-ha: false
require-git-ssh-secret-known-hosts: false
running-in-environment-with-injected-sidecars: true
send-cloudevents-for-runs: false
trusted-resources-verification-no-match-policy: ignore
platforms:
openshift:
pipelinesAsCode:
enable: true
settings:
application-name: Pipelines as Code CI
auto-configure-new-github-repo: "false"
bitbucket-cloud-check-source-ip: "true"
custom-console-name: ""
custom-console-url: ""
custom-console-url-pr-details: ""
custom-console-url-pr-tasklog: ""
error-detection-from-container-logs: "true"
error-detection-max-number-of-lines: "50"
error-detection-simple-regexp: ^(?P<filename>[^:]*):(?P<line>[0-9]+):(?P<column>[0-9]+):([
]*)?(?P<error>.*)
error-log-snippet: "true"
hub-catalog-name: tekton
hub-url: https://api.hub.tekton.dev/v1
remote-tasks: "true"
secret-auto-create: "true"
secret-github-app-token-scoped: "true"
profile: all
pruner:
disabled: false
keep: 100
resources:
- pipelinerun
schedule: 0 8 * * *
targetNamespace: openshift-pipelines
trigger:
default-service-account: pipeline
enable-api-fields: stable
89 changes: 89 additions & 0 deletions tests/all-pipelines-medical-diagnosis-hub.expected.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
---
# Source: pipelines/templates/tekton-config.yaml
apiVersion: operator.tekton.dev/v1alpha1
kind: TektonConfig
metadata:
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
name: config
spec:
addon:
params:
- name: clusterTasks
value: "true"
- name: pipelineTemplates
value: "true"
- name: communityClusterTasks
value: "true"
chain:
artifacts.taskrun.format: in-toto
artifacts.taskrun.storage: tekton
artifacts.taskrun.signer: x509
artifacts.oci.storage: oci
artifacts.oci.format: simplesigning
artifacts.oci.signer: x509
transparency.enabled: "true"
dashboard:
readonly: false
params:
- name: createRbacResource
value: "true"
pipeline:
await-sidecar-readiness: true
default-service-account: pipeline
disable-affinity-assistant: false
disable-creds-init: false
enable-api-fields: stable
enable-bundles-resolver: true
enable-cluster-resolver: true
enable-custom-tasks: true
enable-git-resolver: true
enable-hub-resolver: true
enable-provenance-in-status: false
enable-tekton-oci-bundles: false
metrics.pipelinerun.duration-type: histogram
metrics.pipelinerun.level: pipeline
metrics.taskrun.duration-type: histogram
metrics.taskrun.level: task
params:
- name: enableMetrics
value: "true"
performance:
disable-ha: false
require-git-ssh-secret-known-hosts: false
running-in-environment-with-injected-sidecars: true
send-cloudevents-for-runs: false
trusted-resources-verification-no-match-policy: ignore
platforms:
openshift:
pipelinesAsCode:
enable: true
settings:
application-name: Pipelines as Code CI
auto-configure-new-github-repo: "false"
bitbucket-cloud-check-source-ip: "true"
custom-console-name: ""
custom-console-url: ""
custom-console-url-pr-details: ""
custom-console-url-pr-tasklog: ""
error-detection-from-container-logs: "true"
error-detection-max-number-of-lines: "50"
error-detection-simple-regexp: ^(?P<filename>[^:]*):(?P<line>[0-9]+):(?P<column>[0-9]+):([
]*)?(?P<error>.*)
error-log-snippet: "true"
hub-catalog-name: tekton
hub-url: https://api.hub.tekton.dev/v1
remote-tasks: "true"
secret-auto-create: "true"
secret-github-app-token-scoped: "true"
profile: all
pruner:
disabled: false
keep: 100
resources:
- pipelinerun
schedule: 0 8 * * *
targetNamespace: openshift-pipelines
trigger:
default-service-account: pipeline
enable-api-fields: stable
89 changes: 89 additions & 0 deletions tests/all-pipelines-naked.expected.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
---
# Source: pipelines/templates/tekton-config.yaml
apiVersion: operator.tekton.dev/v1alpha1
kind: TektonConfig
metadata:
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
name: config
spec:
addon:
params:
- name: clusterTasks
value: "true"
- name: pipelineTemplates
value: "true"
- name: communityClusterTasks
value: "true"
chain:
artifacts.taskrun.format: in-toto
artifacts.taskrun.storage: tekton
artifacts.taskrun.signer: x509
artifacts.oci.storage: oci
artifacts.oci.format: simplesigning
artifacts.oci.signer: x509
transparency.enabled: "true"
dashboard:
readonly: false
params:
- name: createRbacResource
value: "true"
pipeline:
await-sidecar-readiness: true
default-service-account: pipeline
disable-affinity-assistant: false
disable-creds-init: false
enable-api-fields: stable
enable-bundles-resolver: true
enable-cluster-resolver: true
enable-custom-tasks: true
enable-git-resolver: true
enable-hub-resolver: true
enable-provenance-in-status: false
enable-tekton-oci-bundles: false
metrics.pipelinerun.duration-type: histogram
metrics.pipelinerun.level: pipeline
metrics.taskrun.duration-type: histogram
metrics.taskrun.level: task
params:
- name: enableMetrics
value: "true"
performance:
disable-ha: false
require-git-ssh-secret-known-hosts: false
running-in-environment-with-injected-sidecars: true
send-cloudevents-for-runs: false
trusted-resources-verification-no-match-policy: ignore
platforms:
openshift:
pipelinesAsCode:
enable: true
settings:
application-name: Pipelines as Code CI
auto-configure-new-github-repo: "false"
bitbucket-cloud-check-source-ip: "true"
custom-console-name: ""
custom-console-url: ""
custom-console-url-pr-details: ""
custom-console-url-pr-tasklog: ""
error-detection-from-container-logs: "true"
error-detection-max-number-of-lines: "50"
error-detection-simple-regexp: ^(?P<filename>[^:]*):(?P<line>[0-9]+):(?P<column>[0-9]+):([
]*)?(?P<error>.*)
error-log-snippet: "true"
hub-catalog-name: tekton
hub-url: https://api.hub.tekton.dev/v1
remote-tasks: "true"
secret-auto-create: "true"
secret-github-app-token-scoped: "true"
profile: all
pruner:
disabled: false
keep: 100
resources:
- pipelinerun
schedule: 0 8 * * *
targetNamespace: openshift-pipelines
trigger:
default-service-account: pipeline
enable-api-fields: stable
Loading

0 comments on commit c858c95

Please sign in to comment.