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

approvers:
- abhinavdahiya
- crawford
- csrwng
- ericavonb
- hexfusion
- smarterclayton
- wking
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
tag_specification:
name: '4.0'
namespace: ocp
promotion:
name: '4.0'
namespace: ocp
base_images:
base:
name: '4.0'
namespace: ocp
tag: base
canonical_go_repository: github.com/coreos/kubecsr
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this how the code is imported in Go? Or is the repo actually under coreos org?

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 repo is openshift org, the code is imported as above.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

similar situation to etcd

images:
- dockerfile_path: Dockerfile.kube-client-agent.openshift
from: base
to: kube-client-agent
- dockerfile_path: Dockerfile.kube-etcd-signer-server.openshift
from: base
to: kube-etcd-signer-server
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
build_root:
image_stream_tag:
cluster: https://api.ci.openshift.org
name: release
namespace: openshift
tag: golang-1.10
tests:
- as: unit
commands: make check
container:
from: src
- as: e2e-aws
commands: TEST_SUITE=openshift/conformance/parallel run-tests
openshift_installer:
cluster_profile: aws
12 changes: 12 additions & 0 deletions ci-operator/jobs/openshift/kubecsr/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# DO NOT EDIT; this file is auto-generated using tools/populate-owners.
# from https://github.com/openshift/etcd/blob/ea0cf681c7f0278eff72846a6bfcd017cdfc83bf/OWNERS
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md

approvers:
- abhinavdahiya
- crawford
- csrwng
- ericavonb
- hexfusion
- smarterclayton
- wking
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
postsubmits:
openshift/kubecsr:
- agent: kubernetes
branches:
- ^openshift-4\.0$
context: ""
decorate: true
decoration_config:
skip_cloning: true
name: branch-ci-openshift-kubecsr-openshift-4.0-images
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --promote
- --target=[images]
command:
- ci-operator
env:
- name: CONFIG_SPEC
valueFrom:
configMapKeyRef:
key: openshift-kubecsr-openshift-4.0.yaml
name: ci-operator-4.0-configs
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
serviceAccountName: ci-operator
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
presubmits:
openshift/kubecsr:
- agent: kubernetes
always_run: true
branches:
- openshift-4.0
context: ci/prow/e2e-aws
decorate: true
decoration_config:
skip_cloning: true
name: pull-ci-openshift-kubecsr-openshift-4.0-e2e-aws
rerun_command: /test e2e-aws
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --secret-dir=/usr/local/e2e-aws-cluster-profile
- --target=e2e-aws
- --template=/usr/local/e2e-aws
command:
- ci-operator
env:
- name: CLUSTER_TYPE
value: aws
- name: CONFIG_SPEC
valueFrom:
configMapKeyRef:
key: openshift-kubecsr-openshift-4.0.yaml
name: ci-operator-4.0-configs
- name: JOB_NAME_SAFE
value: e2e-aws
- name: TEST_COMMAND
value: TEST_SUITE=openshift/conformance/parallel run-tests
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /usr/local/e2e-aws-cluster-profile
name: cluster-profile
- mountPath: /usr/local/e2e-aws
name: job-definition
subPath: cluster-launch-installer-e2e.yaml
serviceAccountName: ci-operator
volumes:
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-aws
- configMap:
name: prow-job-cluster-launch-installer-e2e
name: job-definition
trigger: '(?m)^/test (?:.*? )?e2e-aws(?: .*?)?$'
- agent: kubernetes
always_run: true
branches:
- openshift-4.0
context: ci/prow/images
decorate: true
decoration_config:
skip_cloning: true
name: pull-ci-openshift-kubecsr-openshift-4.0-images
rerun_command: /test images
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --target=[images]
- --target=[release:latest]
command:
- ci-operator
env:
- name: CONFIG_SPEC
valueFrom:
configMapKeyRef:
key: openshift-kubecsr-openshift-4.0.yaml
name: ci-operator-4.0-configs
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
serviceAccountName: ci-operator
trigger: '(?m)^/test (?:.*? )?images(?: .*?)?$'
- agent: kubernetes
always_run: true
branches:
- openshift-4.0
context: ci/prow/unit
decorate: true
decoration_config:
skip_cloning: true
name: pull-ci-openshift-kubecsr-openshift-4.0-unit
rerun_command: /test unit
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --target=unit
command:
- ci-operator
env:
- name: CONFIG_SPEC
valueFrom:
configMapKeyRef:
key: openshift-kubecsr-openshift-4.0.yaml
name: ci-operator-4.0-configs
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
serviceAccountName: ci-operator
trigger: '(?m)^/test (?:.*? )?unit(?: .*?)?$'
1 change: 1 addition & 0 deletions cluster/ci/config/prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ tide:
- openshift/router
- openshift/imagebuilder
- openshift/must-gather
- openshift/kubecsr
- openshift/kubernetes-metrics-server
- openshift/cluster-version-operator
- openshift/service-catalog
Expand Down
3 changes: 3 additions & 0 deletions cluster/ci/config/prow/plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ plugins:
openshift/image-registry:
- approve

openshift/kubecsr:
- approve

openshift/kubernetes-metrics-server:
- approve

Expand Down