-
Notifications
You must be signed in to change notification settings - Fork 2.3k
PROJQUAY-12561: ci(quay): aws quay operator smoke test #83451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
nasonawa
wants to merge
15
commits into
openshift:main
Choose a base branch
from
nasonawa:PROJQUAY-12561
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
8f0f723
ci(quay) aws quay operator smoke test
nasonawa 459dbbd
PROJQUAY-12561: ci(quay): aws quay operator smoke test
nasonawa 6d43f18
PROJQUAY-12561: ci(quay): aws quay operator smoke test
nasonawa f4e3013
PROJQUAY-12561: ci(quay): aws quay operator e2e complete tests.
nasonawa 41eb619
PROJQUAY-12561: ci(quay): aws quay operator e2e complete tests.
nasonawa be1e52c
PROJQUAY-12561: ci(quay): aws quay operator e2e complete tests.
nasonawa f9e51d6
PROJQUAY-12561: ci(quay): aws quay operator e2e complete tests.
nasonawa 3f617e1
fixed the npm installation for playwright
nasonawa 35a7c5f
fixed the typo in config
nasonawa 25cd113
added additional debug logs if the CRD is not up
nasonawa 8bffd36
fixed the extra-config issue
nasonawa a384122
fixed the S3 bucket convention
nasonawa 606df96
add additional status check for installation of quay CRD
nasonawa 5c65f7e
added additional logging for QUay install failures
nasonawa 011d21c
removed the mail server
nasonawa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
ci-operator/config/quay/quay/quay-quay-redhat-3.18__aws-ocp422-e2e-install.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| build_root: | ||
| image_stream_tag: | ||
| name: release | ||
| namespace: openshift | ||
| tag: rhel-9-release-golang-1.25-openshift-4.22 | ||
| images: | ||
| items: | ||
| - dockerfile_literal: | | ||
| FROM src | ||
| RUN dnf module enable -y nodejs:22 && \ | ||
| dnf install -y nodejs npm \ | ||
| 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 | ||
| from: src | ||
| to: quay-playwright-runner | ||
| releases: | ||
| latest: | ||
| candidate: | ||
| architecture: amd64 | ||
| product: ocp | ||
| stream: nightly | ||
| version: "4.22" | ||
| resources: | ||
| '*': | ||
| limits: | ||
| memory: 4Gi | ||
| requests: | ||
| cpu: 100m | ||
| memory: 200Mi | ||
| tests: | ||
| - as: aws-s3-3-18-nightly-4-22 | ||
| cron: '@weekly' | ||
| steps: | ||
| cluster_profile: aws-quay-qe | ||
| env: | ||
| BASE_DOMAIN: quayqe.devcluster.openshift.com | ||
| COMPUTE_NODE_TYPE: m5.4xlarge | ||
| MULTISTAGE_PARAM_OVERRIDE_QUAY_INDEX_IMAGE: quay.io/redhat-user-workloads/quay-eng-tenant/stable-3-18-v4-22@sha256:2a17e0af09b8d6242c8fb758da9a7a38829bdda5232a7b9f02f119c842dc2e9f | ||
| QUAY_EXTRA_CONFIG: | | ||
| FEATURE_PROGRAMMATIC_BOOTSTRAP: false | ||
| FEATURE_USER_METADATA: true | ||
| FEATURE_IMMUTABLE_TAGS: true | ||
| DEFAULT_UI: react | ||
| SUPER_USERS: | ||
| - admin | ||
| GLOBAL_READONLY_SUPER_USERS: | ||
| - readonly | ||
| QUAY_OPERATOR_CHANNEL: stable-3.18 | ||
| QUAY_OPERATOR_SOURCE: fbc-operator-catalog | ||
| post: | ||
| - ref: quay-operator-deprovision | ||
| test: | ||
| - ref: quay-operator-enable-catalogsource | ||
| - ref: quay-operator-deploy-aws-s3 | ||
| - ref: quay-operator-test-e2e | ||
| workflow: ipi-aws | ||
| zz_generated_metadata: | ||
| branch: redhat-3.18 | ||
| org: quay | ||
| repo: quay | ||
| variant: aws-ocp422-e2e-install | ||
84 changes: 84 additions & 0 deletions
84
ci-operator/jobs/quay/quay/quay-quay-redhat-3.18-periodics.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,84 @@ | ||
| periodics: | ||
| - agent: kubernetes | ||
| cluster: build07 | ||
| cron: '@weekly' | ||
| decorate: true | ||
| decoration_config: | ||
| skip_cloning: true | ||
| extra_refs: | ||
| - base_ref: redhat-3.18 | ||
| org: quay | ||
| repo: quay | ||
| labels: | ||
| ci-operator.openshift.io/cloud: aws | ||
| ci-operator.openshift.io/cloud-cluster-profile: aws-quay-qe | ||
| ci-operator.openshift.io/variant: aws-ocp422-e2e-install | ||
| ci.openshift.io/generator: prowgen | ||
| job-release: "4.22" | ||
| pj-rehearse.openshift.io/can-be-rehearsed: "true" | ||
| name: periodic-ci-quay-quay-redhat-3.18-aws-ocp422-e2e-install-aws-s3-3-18-nightly-4-22 | ||
| 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=aws-s3-3-18-nightly-4-22 | ||
| - --variant=aws-ocp422-e2e-install | ||
| 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 |
60 changes: 60 additions & 0 deletions
60
ci-operator/jobs/quay/quay/quay-quay-redhat-3.18-presubmits.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| presubmits: | ||
| quay/quay: | ||
| - agent: kubernetes | ||
| always_run: true | ||
| branches: | ||
| - ^redhat-3\.18$ | ||
| - ^redhat-3\.18- | ||
| cluster: build06 | ||
| context: ci/prow/aws-ocp422-e2e-install-images | ||
| decorate: true | ||
| decoration_config: | ||
| skip_cloning: true | ||
| labels: | ||
| ci-operator.openshift.io/variant: aws-ocp422-e2e-install | ||
| ci.openshift.io/generator: prowgen | ||
| job-release: "4.22" | ||
| pj-rehearse.openshift.io/can-be-rehearsed: "true" | ||
| name: pull-ci-quay-quay-redhat-3.18-aws-ocp422-e2e-install-images | ||
| rerun_command: /test aws-ocp422-e2e-install-images | ||
| 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=[images] | ||
| - --variant=aws-ocp422-e2e-install | ||
| 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/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( | .* )aws-ocp422-e2e-install-images,?($|\s.*) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| approvers: | ||
| - quay-approvers | ||
| reviewers: | ||
| - quay-approvers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../OWNERS |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we will need to add something here for looking up the latest build.. not sure what that looks like yet. The multistage param override is for gangway API triggering and replacing this value which we will just be using the cron schedule