Skip to content

Commit

Permalink
Merge pull request #2953 from chancez/hive_job
Browse files Browse the repository at this point in the history
Add ci-operator config to build Apache Hive
  • Loading branch information
openshift-merge-robot authored Feb 26, 2019
2 parents 5dcc75c + 84e9417 commit e0a8e85
Show file tree
Hide file tree
Showing 7 changed files with 109 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ci-operator/config/operator-framework/hive/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
approvers:
- chancez
reviewers:
- tschuy
- EmilyM1
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
tag_specification:
name: '4.0'
namespace: ocp
promotion:
name: '4.0'
namespace: ocp
base_images:
hadoop:
name: '4.0'
namespace: ocp
tag: hadoop
images:
- from: hadoop
to: hive
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: []
5 changes: 5 additions & 0 deletions ci-operator/jobs/operator-framework/hive/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
approvers:
- chancez
reviewers:
- tschuy
- EmilyM1
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
postsubmits:
operator-framework/hive:
- agent: kubernetes
branches:
- ^master$
context: ""
decorate: true
decoration_config:
skip_cloning: true
name: branch-ci-operator-framework-hive-master-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: operator-framework-hive-master.yaml
name: ci-operator-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,35 @@
presubmits:
operator-framework/hive:
- agent: kubernetes
always_run: true
branches:
- master
context: ci/prow/images
decorate: true
decoration_config:
skip_cloning: true
name: pull-ci-operator-framework-hive-master-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: operator-framework-hive-master.yaml
name: ci-operator-configs
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
serviceAccountName: ci-operator
trigger: '(?m)^/test (?:.*? )?images(?: .*?)?$'
1 change: 1 addition & 0 deletions cluster/ci/config/prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ tide:
- operator-framework/helm
- operator-framework/presto
- operator-framework/hadoop
- operator-framework/hive
- openshift/release-controller
- containers/libpod
- openshift/csi-operator
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 @@ -343,6 +343,9 @@ plugins:
operator-framework/hadoop:
- approve

operator-framework/hive:
- approve

containers/libpod:
- approve
- assign
Expand Down

0 comments on commit e0a8e85

Please sign in to comment.