-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
STONEBLD-2371 Tests for multi platform controller #51236
Closed
Closed
Changes from all commits
Commits
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
11 changes: 11 additions & 0 deletions
11
ci-operator/config/redhat-appstudio/multi-platform-controller/OWNERS
This file contains 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,11 @@ | ||
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools. | ||
# Fetched from https://github.com/redhat-appstudio/jvm-build-service root OWNERS | ||
# If the repo had OWNERS_ALIASES then the aliases were expanded | ||
# Logins who are not members of 'openshift' organization were filtered out | ||
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md | ||
|
||
approvers: | ||
- stuartwdouglas | ||
options: {} | ||
reviewers: | ||
- stuartwdouglas |
51 changes: 51 additions & 0 deletions
51
...-appstudio/multi-platform-controller/redhat-appstudio-multi-platform-controller-main.yaml
This file contains 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,51 @@ | ||||||
base_images: | ||||||
e2e-test-runner: | ||||||
name: redhat-appstudio | ||||||
namespace: ci | ||||||
tag: e2e-test-runner | ||||||
build_root: | ||||||
image_stream_tag: | ||||||
name: release | ||||||
namespace: openshift | ||||||
tag: golang-1.20 | ||||||
images: | ||||||
- dockerfile_path: Dockerfile | ||||||
to: redhat-appstudio-multi-platform-controller-image | ||||||
- dockerfile_path: Dockerfile.otp | ||||||
to: redhat-appstudio-multi-platform-controller-otp-server | ||||||
releases: | ||||||
latest: | ||||||
release: | ||||||
architecture: amd64 | ||||||
channel: fast | ||||||
version: "4.13" | ||||||
resources: | ||||||
'*': | ||||||
limits: | ||||||
memory: 4Gi | ||||||
requests: | ||||||
cpu: 100m | ||||||
memory: 200Mi | ||||||
tests: | ||||||
- as: multi-platform-controller-e2e | ||||||
cluster_claim: | ||||||
architecture: amd64 | ||||||
cloud: aws | ||||||
labels: | ||||||
region: us-west-2 | ||||||
owner: rhtap | ||||||
product: ocp | ||||||
timeout: 1h0m0s | ||||||
version: "4.13" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we've updated all jobs to use 4.14
Suggested change
|
||||||
skip_if_only_changed: ^docs/|^\.github/|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$ | ||||||
steps: | ||||||
dependencies: | ||||||
OTP_SERVER_IMAGE: redhat-appstudio-multi-platform-controller-otp-server | ||||||
COMPONENT_IMAGE: redhat-appstudio-multi-platform-controller-image | ||||||
test: | ||||||
- ref: redhat-appstudio-e2e | ||||||
workflow: redhat-appstudio-claim | ||||||
zz_generated_metadata: | ||||||
branch: main | ||||||
org: redhat-appstudio | ||||||
repo: multi-platform-controller |
11 changes: 11 additions & 0 deletions
11
ci-operator/jobs/redhat-appstudio/multi-platform-controller/OWNERS
This file contains 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,11 @@ | ||
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools. | ||
# Fetched from https://github.com/redhat-appstudio/jvm-build-service root OWNERS | ||
# If the repo had OWNERS_ALIASES then the aliases were expanded | ||
# Logins who are not members of 'openshift' organization were filtered out | ||
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md | ||
|
||
approvers: | ||
- stuartwdouglas | ||
options: {} | ||
reviewers: | ||
- stuartwdouglas |
127 changes: 127 additions & 0 deletions
127
...multi-platform-controller/redhat-appstudio-multi-platform-controller-main-presubmits.yaml
This file contains 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,127 @@ | ||
presubmits: | ||
redhat-appstudio/multi-platform-controller: | ||
- agent: kubernetes | ||
always_run: true | ||
branches: | ||
- ^main$ | ||
- ^main- | ||
cluster: build03 | ||
context: ci/prow/images | ||
decorate: true | ||
decoration_config: | ||
skip_cloning: true | ||
labels: | ||
ci.openshift.io/generator: prowgen | ||
pj-rehearse.openshift.io/can-be-rehearsed: "true" | ||
name: pull-ci-redhat-appstudio-multi-platform-controller-main-images | ||
rerun_command: /test 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] | ||
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( | .* )images,?($|\s.*) | ||
- agent: kubernetes | ||
always_run: false | ||
branches: | ||
- ^main$ | ||
- ^main- | ||
cluster: build03 | ||
context: ci/prow/multi-platform-controller-e2e | ||
decorate: true | ||
decoration_config: | ||
skip_cloning: true | ||
labels: | ||
ci.openshift.io/generator: prowgen | ||
pj-rehearse.openshift.io/can-be-rehearsed: "true" | ||
name: pull-ci-redhat-appstudio-multi-platform-controller-main-multi-platform-controller-e2e | ||
rerun_command: /test multi-platform-controller-e2e | ||
skip_if_only_changed: ^docs/|^\.github/|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$ | ||
spec: | ||
containers: | ||
- args: | ||
- --gcs-upload-secret=/secrets/gcs/service-account.json | ||
- --hive-kubeconfig=/secrets/hive-hive-credentials/kubeconfig | ||
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson | ||
- --report-credentials-file=/etc/report/credentials | ||
- --secret-dir=/secrets/ci-pull-credentials | ||
- --target=multi-platform-controller-e2e | ||
command: | ||
- ci-operator | ||
image: ci-operator:latest | ||
imagePullPolicy: Always | ||
name: "" | ||
resources: | ||
requests: | ||
cpu: 10m | ||
volumeMounts: | ||
- mountPath: /secrets/ci-pull-credentials | ||
name: ci-pull-credentials | ||
readOnly: true | ||
- mountPath: /secrets/gcs | ||
name: gcs-credentials | ||
readOnly: true | ||
- mountPath: /secrets/hive-hive-credentials | ||
name: hive-hive-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: ci-pull-credentials | ||
secret: | ||
secretName: ci-pull-credentials | ||
- name: hive-hive-credentials | ||
secret: | ||
secretName: hive-hive-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( | .* )multi-platform-controller-e2e,?($|\s.*) |
This file contains 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
This file contains 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
This file contains 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
11 changes: 11 additions & 0 deletions
11
core-services/prow/02_config/redhat-appstudio/multi-platform-controller/OWNERS
This file contains 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,11 @@ | ||
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools. | ||
# Fetched from https://github.com/redhat-appstudio/jvm-build-service root OWNERS | ||
# If the repo had OWNERS_ALIASES then the aliases were expanded | ||
# Logins who are not members of 'openshift' organization were filtered out | ||
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md | ||
|
||
approvers: | ||
- stuartwdouglas | ||
options: {} | ||
reviewers: | ||
- stuartwdouglas |
61 changes: 61 additions & 0 deletions
61
core-services/prow/02_config/redhat-appstudio/multi-platform-controller/_pluginconfig.yaml
This file contains 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,61 @@ | ||
external_plugins: | ||
redhat-appstudio/multi-platform-controller: | ||
- endpoint: http://refresh | ||
events: | ||
- issue_comment | ||
name: refresh | ||
- endpoint: http://cherrypick | ||
events: | ||
- issue_comment | ||
- pull_request | ||
name: cherrypick | ||
- endpoint: http://needs-rebase | ||
events: | ||
- issue_comment | ||
- pull_request | ||
name: needs-rebase | ||
- endpoint: http://backport-verifier | ||
events: | ||
- issue_comment | ||
- pull_request | ||
name: backport-verifier | ||
- endpoint: http://payload-testing-prow-plugin | ||
events: | ||
- issue_comment | ||
name: payload-testing-prow-plugin | ||
lgtm: | ||
- repos: | ||
- redhat-appstudio/multi-platform-controller | ||
review_acts_as_lgtm: true | ||
plugins: | ||
redhat-appstudio/multi-platform-controller: | ||
plugins: | ||
- assign | ||
- blunderbuss | ||
- cat | ||
- dog | ||
- heart | ||
- golint | ||
- goose | ||
- help | ||
- hold | ||
- jira | ||
- label | ||
- lgtm | ||
- lifecycle | ||
- override | ||
- pony | ||
- retitle | ||
- shrug | ||
- sigmention | ||
- skip | ||
- trigger | ||
- verify-owners | ||
- owners-label | ||
- wip | ||
- yuks | ||
triggers: | ||
- repos: | ||
- redhat-appstudio/multi-platform-controller | ||
trusted_apps: | ||
- dependabot |
6 changes: 6 additions & 0 deletions
6
core-services/prow/02_config/redhat-appstudio/multi-platform-controller/_prowconfig.yaml
This file contains 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,6 @@ | ||
branch-protection: | ||
orgs: | ||
redhat-appstudio: | ||
repos: | ||
multi-platform-controller: | ||
unmanaged: true |
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.