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
15 changes: 15 additions & 0 deletions ci-operator/config/openshift/extended-platform-tests/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools.
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md

approvers:
- deads2k
- mfojtik
- soltysh
- sttts
- tnozicka
options: {}
reviewers:
- deads2k
- mfojtik
- soltysh
- sttts
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
base_images:
base:
name: "4.4"
namespace: ocp
tag: base
binary_build_commands: make build WHAT=cmd/extended-platform-tests
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: golang-1.13
images:
- dockerfile_path: Dockerfile.rhel
from: base
inputs:
root:
as:
- builder
paths: null
to: extended-platform-tests
promotion:
name: "4.4"
namespace: ocp
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@stevekuznetsov this config will produce an image extended-platform-tests . We will add this image as in initcontainer to the cluster-launch-installer-e2e.yaml template, so that we can enable a new suite e2e-extended-platform in
all openshift repos, eventually. What do I need to do to make this image available to all? Will this config do it? I'm reading docs, but will ask you, too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the image has the binary extended-platform-tests similar to very similar to openshift-tests

Copy link
Member

Choose a reason for hiding this comment

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

@sallyom yeah promoting the image will make it available for anyone whose tag_specification is ocp namespace, which is pretty much anyone who is interested in using these tests, I guess

resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tag_specification:
name: "4.4"
namespace: ocp
tests:
- as: unit
commands: make test
container:
from: src
15 changes: 15 additions & 0 deletions ci-operator/jobs/openshift/extended-platform-tests/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools.
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md

approvers:
- deads2k
- mfojtik
- soltysh
- sttts
- tnozicka
options: {}
reviewers:
- deads2k
- mfojtik
- soltysh
- sttts
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
postsubmits:
openshift/extended-platform-tests:
- agent: kubernetes
branches:
- ^master$
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
name: branch-ci-openshift-extended-platform-tests-master-images
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --branch=master
- --give-pr-author-access-to-namespace=true
- --org=openshift
- --promote
- --repo=extended-platform-tests
- --resolver-address=http://ci-operator-configresolver-ci.svc.ci.openshift.org
- --sentry-dsn-path=/etc/sentry-dsn/ci-operator
- --target=[images]
command:
- ci-operator
env:
- name: CONFIG_SPEC
valueFrom:
configMapKeyRef:
key: openshift-extended-platform-tests-master.yaml
name: ci-operator-master-configs
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/sentry-dsn
name: sentry-dsn
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: sentry-dsn
secret:
secretName: sentry-dsn
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
presubmits:
openshift/extended-platform-tests:
- agent: kubernetes
always_run: true
branches:
- master
context: ci/prow/images
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-extended-platform-tests-master-images
rerun_command: /test images
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --branch=master
- --give-pr-author-access-to-namespace=true
- --org=openshift
- --repo=extended-platform-tests
- --resolver-address=http://ci-operator-configresolver-ci.svc.ci.openshift.org
- --sentry-dsn-path=/etc/sentry-dsn/ci-operator
- --target=[images]
- --target=[release:latest]
command:
- ci-operator
env:
- name: CONFIG_SPEC
valueFrom:
configMapKeyRef:
key: openshift-extended-platform-tests-master.yaml
name: ci-operator-master-configs
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/sentry-dsn
name: sentry-dsn
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: sentry-dsn
secret:
secretName: sentry-dsn
trigger: (?m)^/test( | .* )images,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- master
context: ci/prow/unit
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-extended-platform-tests-master-unit
rerun_command: /test unit
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --branch=master
- --give-pr-author-access-to-namespace=true
- --org=openshift
- --repo=extended-platform-tests
- --resolver-address=http://ci-operator-configresolver-ci.svc.ci.openshift.org
- --sentry-dsn-path=/etc/sentry-dsn/ci-operator
- --target=unit
command:
- ci-operator
env:
- name: CONFIG_SPEC
valueFrom:
configMapKeyRef:
key: openshift-extended-platform-tests-master.yaml
name: ci-operator-master-configs
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/sentry-dsn
name: sentry-dsn
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: sentry-dsn
secret:
secretName: sentry-dsn
trigger: (?m)^/test( | .* )unit,?($|\s.*)
1 change: 1 addition & 0 deletions core-services/prow/02_config/_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -910,6 +910,7 @@ tide:
- openshift-kni/performance-addon-operators
- openshift-kni/cnf-features-deploy
- openshift-priv/ci-experiment-origin
- openshift/extended-platform-tests
Copy link
Member

Choose a reason for hiding this comment

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

We should also add this repo to the other long list, the one that configures tide for the non-master branches.

- labels:
- lgtm
- approved
Expand Down
14 changes: 14 additions & 0 deletions core-services/prow/02_config/_plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ approve:
- repos:
- openshift/cluster-csi-snapshot-controller-operator
require_self_approval: false
- repos:
- openshift/extended-platform-tests
require_self_approval: false
- repos:
- openshift/extended-platform-tests
require_self_approval: false
Copy link
Member

Choose a reason for hiding this comment

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

Why twice?

blunderbuss:
max_request_count: 2
request_count: 2
Expand Down Expand Up @@ -1269,6 +1275,12 @@ lgtm:
- repos:
- openshift/cluster-csi-snapshot-controller-operator
review_acts_as_lgtm: true
- repos:
- openshift/extended-platform-tests
review_acts_as_lgtm: true
- repos:
- openshift/extended-platform-tests
review_acts_as_lgtm: true
Copy link
Member

Choose a reason for hiding this comment

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

Why twice?

override:
allow_top_level_owners: true
owners:
Expand Down Expand Up @@ -2053,6 +2065,8 @@ plugins:
- approve
openshift/etcd:
- approve
openshift/extended-platform-tests:
- approve
openshift/external-dns:
- approve
openshift/external-storage:
Expand Down