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
19 changes: 6 additions & 13 deletions ci-operator/config/quay/quay/quay-quay-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,14 @@ images:
items:
- dockerfile_path: Dockerfile
to: quay-server
- dockerfile_literal: |
FROM src
RUN dnf module enable -y nodejs:20 && \
dnf install -y nodejs \
alsa-lib atk at-spi2-atk cups-libs libdrm libXcomposite \
libXdamage libXrandr mesa-libgbm pango nss nss-util nspr \
libxkbcommon libXfixes libXcursor libXext libXi libXtst \
libwayland-client && \
dnf clean all
WORKDIR /go/src/github.com/quay/quay/web
RUN npm ci
ENV PLAYWRIGHT_BROWSERS_PATH=/opt/playwright
RUN npx playwright install chromium
- dockerfile_path: web/playwright/Dockerfile
from: src
to: quay-playwright-runner
promotion:
to:
- namespace: quay
tag: latest
tag_by_commit: true
releases:
latest:
candidate:
Expand Down
65 changes: 65 additions & 0 deletions ci-operator/jobs/quay/quay/quay-quay-master-postsubmits.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
postsubmits:
quay/quay:
- agent: kubernetes
always_run: true
branches:
- ^master$
cluster: build01
decorate: true
decoration_config:
sparse_checkout_files:
- Dockerfile
- web/playwright/Dockerfile
labels:
ci-operator.openshift.io/is-promotion: "true"
ci.openshift.io/generator: prowgen
job-release: "4.21"
max_concurrency: 1
name: branch-ci-quay-quay-master-images
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --image-mirror-push-secret=/etc/push-secret/.dockerconfigjson
- --promote
- --report-credentials-file=/etc/report/credentials
- --target=[images]
command:
- ci-operator
image: quay-proxy.ci.openshift.org/openshift/ci:ci_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/push-secret
name: push-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: push-secret
secret:
secretName: registry-push-credentials-ci-central
- name: result-aggregator
secret:
secretName: result-aggregator
2 changes: 2 additions & 0 deletions ci-operator/jobs/quay/quay/quay-quay-master-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ presubmits:
decoration_config:
sparse_checkout_files:
- Dockerfile
- web/playwright/Dockerfile
labels:
ci.openshift.io/generator: prowgen
job-release: "4.21"
Expand Down Expand Up @@ -68,6 +69,7 @@ presubmits:
decoration_config:
sparse_checkout_files:
- Dockerfile
- web/playwright/Dockerfile
timeout: 4h0m0s
labels:
ci-operator.openshift.io/cloud: aws
Expand Down