Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
build_root:
image_stream_tag:
name: openshift-docs-asciidoc
namespace: ocp
tag: latest
use_build_cache: true
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 400m
memory: 800Mi
tests:
- as: validate-asciidoc
steps:
env:
DISTROS: openshift-monitoring
PREVIEW_SITE: ocpdocs-pr
test:
- ref: openshift-docs-build-docs
- ref: openshift-docs-preview-comment-pages
- ref: openshift-docs-asciidoctor
- ref: openshift-docs-lint-topicmaps
- ref: openshift-docs-jira-links
- ref: openshift-docs-vale-review
- as: validate-portal
steps:
env:
BUILD: build_for_portal.py
DISTROS: openshift-monitoring
VERSION: jtbd
test:
- ref: openshift-docs-portal
zz_generated_metadata:
branch: monitoring-docs-main-jtbd
org: openshift
repo: openshift-docs
variant: jtbd
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
presubmits:
openshift/openshift-docs:
- agent: kubernetes
always_run: true
branches:
- ^monitoring-docs-main-jtbd$
- ^monitoring-docs-main-jtbd-
cluster: build01
context: ci/prow/jtbd-validate-asciidoc
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/variant: jtbd
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-openshift-docs-monitoring-docs-main-jtbd-jtbd-validate-asciidoc
rerun_command: /test jtbd-validate-asciidoc
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --target=validate-asciidoc
- --variant=jtbd
command:
- ci-operator
env:
- name: HTTP_SERVER_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
ports:
- containerPort: 8080
name: http
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )jtbd-validate-asciidoc,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^monitoring-docs-main-jtbd$
- ^monitoring-docs-main-jtbd-
cluster: build01
context: ci/prow/jtbd-validate-portal
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/variant: jtbd
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-openshift-docs-monitoring-docs-main-jtbd-jtbd-validate-portal
rerun_command: /test jtbd-validate-portal
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --target=validate-portal
- --variant=jtbd
command:
- ci-operator
env:
- name: HTTP_SERVER_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
ports:
- containerPort: 8080
name: http
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )jtbd-validate-portal,?($|\s.*)