-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1183 from smarterclayton/cvo
Add cluster version operator job definitions
- Loading branch information
Showing
5 changed files
with
105 additions
and
0 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
ci-operator/config/openshift/cluster-version-operator/master.json
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,46 @@ | ||
{ | ||
"tag_specification": { | ||
"cluster": "https://api.ci.openshift.org", | ||
"namespace": "openshift", | ||
"name": "origin-v3.11", | ||
"tag": "", | ||
"tag_overrides": {} | ||
}, | ||
"base_images": { | ||
"base": { | ||
"cluster": "https://api.ci.openshift.org", | ||
"namespace": "openshift", | ||
"name": "origin-v3.11", | ||
"tag": "base" | ||
} | ||
}, | ||
"test_base_image": { | ||
"cluster": "https://api.ci.openshift.org", | ||
"namespace": "openshift", | ||
"name": "release", | ||
"tag": "golang-1.10" | ||
}, | ||
"canonical_go_repository": "github.com/openshift/cluster-version-operator", | ||
|
||
"images": [ | ||
{ | ||
"from": "base", | ||
"to": "cluster-version-operator" | ||
} | ||
], | ||
|
||
"tests": [ | ||
{ | ||
"as": "unit", | ||
"from": "src", | ||
"commands": "go test ./..." | ||
} | ||
], | ||
|
||
"resources": { | ||
"*": { | ||
"requests": { "cpu": "100m", "memory": "200Mi" }, | ||
"limits": { "cpu": "2", "memory": "4Gi" } | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...bs/openshift/cluster-version-operator/openshift-cluster-version-operator-postsubmits.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,27 @@ | ||
postsubmits: | ||
openshift/cluster-monitoring-operator: | ||
- name: branch-ci-openshift-cluster-version-operator-images | ||
agent: kubernetes | ||
labels: | ||
artifacts: images | ||
branches: | ||
- master | ||
decorate: true | ||
skip_cloning: true | ||
spec: | ||
serviceAccountName: ci-operator | ||
containers: | ||
- name: test | ||
image: ci-operator:latest | ||
env: | ||
- name: CONFIG_SPEC | ||
valueFrom: | ||
configMapKeyRef: | ||
name: ci-operator-openshift-cluster-version-operator | ||
key: master.json | ||
command: | ||
- ci-operator | ||
args: | ||
- --artifact-dir=$(ARTIFACTS) | ||
- --target=[images] | ||
- --promote |
29 changes: 29 additions & 0 deletions
29
...obs/openshift/cluster-version-operator/openshift-cluster-version-operator-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,29 @@ | ||
presubmits: | ||
openshift/cluster-capacity: | ||
- name: pull-ci-openshift-cluster-version-operator-unit | ||
agent: kubernetes | ||
context: ci/prow/unit | ||
branches: | ||
- master | ||
rerun_command: "/test unit" | ||
always_run: true | ||
trigger: "((?m)^/test( all| unit),?(\\s+|$))" | ||
decorate: true | ||
skip_cloning: true | ||
spec: | ||
serviceAccountName: ci-operator | ||
containers: | ||
- name: test | ||
image: ci-operator:latest | ||
env: | ||
- name: CONFIG_SPEC | ||
valueFrom: | ||
configMapKeyRef: | ||
name: ci-operator-openshift-cluster-version-operator | ||
key: master.json | ||
command: | ||
- ci-operator | ||
args: | ||
- --artifact-dir=$(ARTIFACTS) | ||
- --target=unit | ||
- --target=[images] |
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