Skip to content

Commit

Permalink
openshift-docs enterprise-4.16 branch (#49225)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalexand-rh committed Feb 27, 2024
1 parent d05587b commit 0f1416b
Show file tree
Hide file tree
Showing 3 changed files with 151 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ tests:
- as: deploy-preview
steps:
env:
DISTROS: openshift-enterprise openshift-rosa openshift-dedicated microshift
DISTROS: openshift-enterprise microshift
PREVIEW_COMMENT: site
PREVIEW_SITE: ocpdocs-pr
test:
Expand All @@ -25,7 +25,7 @@ tests:
steps:
env:
BUILD: build.py
DISTROS: openshift-enterprise openshift-rosa openshift-dedicated microshift
DISTROS: openshift-enterprise microshift
VERSION: "4.14"
test:
- ref: openshift-docs-asciidoctor
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
build_root:
image_stream_tag:
name: openshift-docs-asciidoc
namespace: ocp
tag: latest
use_build_cache: true
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 200m
memory: 400Mi
tests:
- as: deploy-preview
steps:
env:
DISTROS: openshift-enterprise openshift-rosa openshift-dedicated microshift
PREVIEW_COMMENT: site
PREVIEW_SITE: ocpdocs-pr
test:
- ref: openshift-docs-build-docs
- ref: openshift-docs-preview-comment
- as: validate-asciidoc
steps:
env:
BUILD: build.py
DISTROS: openshift-enterprise openshift-rosa openshift-dedicated microshift
VERSION: "4.16"
test:
- ref: openshift-docs-asciidoctor
- ref: openshift-docs-lint-topicmaps
- ref: openshift-docs-portal
zz_generated_metadata:
branch: enterprise-4.16
org: openshift
repo: openshift-docs
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
presubmits:
openshift/openshift-docs:
- agent: kubernetes
always_run: true
branches:
- ^enterprise-4\.16$
- ^enterprise-4\.16-
cluster: build03
context: ci/prow/deploy-preview
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-openshift-docs-enterprise-4.16-deploy-preview
rerun_command: /test deploy-preview
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=deploy-preview
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- 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: 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( | .* )deploy-preview,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^enterprise-4\.16$
- ^enterprise-4\.16-
cluster: build03
context: ci/prow/validate-asciidoc
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-openshift-docs-enterprise-4.16-validate-asciidoc
rerun_command: /test validate-asciidoc
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=validate-asciidoc
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- 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: 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( | .* )validate-asciidoc,?($|\s.*)

0 comments on commit 0f1416b

Please sign in to comment.