Skip to content

Commit

Permalink
Merge pull request #7317 from aravindhp/wmco
Browse files Browse the repository at this point in the history
CI integration for windows-machine-config-operator
  • Loading branch information
openshift-merge-robot authored Feb 28, 2020
2 parents f4d38dd + 2ba09e0 commit 32a4c73
Show file tree
Hide file tree
Showing 7 changed files with 482 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
reviewers:
- aravindhp
- ravisantoshgudimetla
approvers:
- aravindhp
- ravisantoshgudimetla
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
binary_build_commands: make build
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: golang-1.13
images:
- dockerfile_path: build/Dockerfile.ci
from: ""
to: windows-machine-config-operator
promotion:
name: "4.5"
namespace: ocp
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tag_specification:
name: "4.5"
namespace: ocp
tests:
- as: lint
commands: make lint
container:
from: src
- as: build
commands: make build
container:
from: src
- as: unit
commands: make unit
container:
from: src
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
reviewers:
- aravindhp
- ravisantoshgudimetla
approvers:
- aravindhp
- ravisantoshgudimetla
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
postsubmits:
openshift/windows-machine-config-operator:
- agent: kubernetes
branches:
- ^master$
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
name: branch-ci-openshift-windows-machine-config-operator-master-images
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --branch=master
- --give-pr-author-access-to-namespace=true
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --kubeconfig=/etc/apici/kubeconfig
- --org=openshift
- --promote
- --repo=windows-machine-config-operator
- --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-windows-machine-config-operator-master.yaml
name: ci-operator-master-configs
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/apici
name: apici-ci-operator-credentials
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/sentry-dsn
name: sentry-dsn
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: apici-ci-operator-credentials
secret:
items:
- key: sa.ci-operator.apici.config
path: kubeconfig
secretName: apici-ci-operator-credentials
- name: pull-secret
secret:
secretName: regcred
- name: sentry-dsn
secret:
secretName: sentry-dsn
Loading

0 comments on commit 32a4c73

Please sign in to comment.