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
@@ -1,8 +1,6 @@
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: tectonic-console-builder-v29
project_image:
dockerfile_path: Dockerfile.buildroot
images:
items:
- dockerfile_path: Dockerfile
Expand All @@ -22,29 +20,45 @@ resources:
limits:
memory: 6Gi
requests:
cpu: 1000m
memory: 6Gi
cpu: "1"
memory: 3Gi
test_binary_build_commands: yarn install --immutable && npx playwright install chromium
tests:
- as: lint
steps:
test:
- as: lint
commands: yarn install && yarn run lint && yarn run build
from: src
resources:
requests:
cpu: 200m
memory: 300Mi
commands: make lint
container:
from: test-bin
skip_if_only_changed: \.md$|^docs/|^demo/|^\.claude/|^\.github/|^\.vscode/|^\.husky/|^hack/|^\.tekton/|^(LICENSE|OWNERS)$
- as: unit
commands: make unit
container:
from: test-bin
skip_if_only_changed: \.md$|^docs/|^demo/|^\.claude/|^\.github/|^\.vscode/|^\.husky/|^hack/|^\.tekton/|^(LICENSE|OWNERS)$
- as: e2e-aws
pipeline_skip_if_only_changed: \.md$|^docs/|^demo/|^\.claude/|^\.github/|^\.vscode/|^\.husky/|^hack/|^\.tekton/|^(LICENSE|OWNERS)$
steps:
cluster_profile: openshift-org-aws
env:
OPERATORS: |
[
{"name": "serverless-operator", "source": "redhat-operators", "channel": "stable", "install_namespace": "openshift-serverless", "operator_group": "openshift-serverless"},
{"name": "openshift-pipelines-operator-rh", "source": "redhat-operators", "channel": "latest", "install_namespace": "openshift-operators"}
]
test:
- as: unit
commands: yarn install && yarn run test
from: src
- ref: install-operators
- as: e2e
cli: latest
commands: make e2e
dependencies:
- env: PLUGIN_PULL_SPEC
name: faas-console-plugin
from: test-bin
grace_period: 30m0s
resources:
requests:
cpu: 200m
memory: 300Mi
cpu: 500m
timeout: 3h0m0s
workflow: openshift-e2e-aws
zz_generated_metadata:
branch: master
org: openshift
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,90 @@
presubmits:
openshift/faas-console-plugin:
- agent: kubernetes
always_run: false
annotations:
pipeline_skip_if_only_changed: \.md$|^docs/|^demo/|^\.claude/|^\.github/|^\.vscode/|^\.husky/|^hack/|^\.tekton/|^(LICENSE|OWNERS)$
branches:
- ^master$
- ^master-
cluster: build07
context: ci/prow/e2e-aws
decorate: true
decoration_config:
sparse_checkout_files:
- Dockerfile

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tbh I don't know how all this works, but should not be also Dockerfile.buildroot here? Maybe not I do not know.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's probably all right.

labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: openshift-org-aws
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-faas-console-plugin-master-e2e-aws
rerun_command: /test e2e-aws
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
- --secret-dir=/secrets/ci-pull-credentials
- --target=e2e-aws
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/ci-pull-credentials
name: ci-pull-credentials
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: ci-pull-credentials
secret:
secretName: ci-pull-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( | .* )e2e-aws,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down Expand Up @@ -57,7 +142,7 @@ presubmits:
secretName: result-aggregator
trigger: (?m)^/test( | .* )images,?($|\s.*)
- agent: kubernetes
always_run: true
always_run: false
branches:
- ^master$
- ^master-
Expand All @@ -72,14 +157,13 @@ presubmits:
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-faas-console-plugin-master-lint
rerun_command: /test lint
skip_if_only_changed: \.md$|^docs/|^demo/|^\.claude/|^\.github/|^\.vscode/|^\.husky/|^hack/|^\.tekton/|^(LICENSE|OWNERS)$
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
- --secret-dir=/secrets/ci-pull-credentials
- --target=lint
command:
- ci-operator
Expand All @@ -98,12 +182,6 @@ presubmits:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
Expand All @@ -118,15 +196,6 @@ presubmits:
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
Expand All @@ -138,7 +207,7 @@ presubmits:
secretName: result-aggregator
trigger: (?m)^/test( | .* )lint,?($|\s.*)
- agent: kubernetes
always_run: true
always_run: false
branches:
- ^master$
- ^master-
Expand All @@ -153,14 +222,13 @@ presubmits:
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-faas-console-plugin-master-unit
rerun_command: /test unit
skip_if_only_changed: \.md$|^docs/|^demo/|^\.claude/|^\.github/|^\.vscode/|^\.husky/|^hack/|^\.tekton/|^(LICENSE|OWNERS)$
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
- --secret-dir=/secrets/ci-pull-credentials
- --target=unit
command:
- ci-operator
Expand All @@ -179,12 +247,6 @@ presubmits:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
Expand All @@ -199,15 +261,6 @@ presubmits:
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
Expand Down