-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial configuration files for the cinder-operator.
Correct OWNER name Update OWNERS file to match current members
- Loading branch information
Showing
7 changed files
with
423 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
ci-operator/config/openstack-k8s-operators/cinder-operator/OWNERS
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,15 @@ | ||
approvers: | ||
- abays | ||
- dprince | ||
- olliewalsh | ||
- Sandeepyadav93 | ||
- stuggi | ||
- viroel | ||
options: {} | ||
reviewers: | ||
- abays | ||
- dprince | ||
- olliewalsh | ||
- Sandeepyadav93 | ||
- stuggi | ||
- viroel |
48 changes: 48 additions & 0 deletions
48
...enstack-k8s-operators/cinder-operator/openstack-k8s-operators-cinder-operator-master.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,48 @@ | ||
base_images: | ||
golangci-lint: | ||
name: golangci-lint | ||
namespace: ci | ||
tag: v1.46.0 | ||
binary_build_commands: make build | ||
build_root: | ||
image_stream_tag: | ||
name: release | ||
namespace: openshift | ||
tag: golang-1.18 | ||
resources: | ||
'*': | ||
limits: | ||
memory: 4Gi | ||
requests: | ||
cpu: 100m | ||
memory: 200Mi | ||
tests: | ||
- as: unit | ||
commands: make gotest | ||
container: | ||
from: src | ||
- as: govet | ||
commands: make govet | ||
container: | ||
from: src | ||
- as: golangci | ||
commands: | | ||
export GOCACHE=/tmp/ | ||
export GOLANGCI_LINT_CACHE=/tmp/.cache | ||
export GOPROXY=https://proxy.golang.org | ||
golangci-lint run --verbose --timeout=5m0s | ||
container: | ||
clone: true | ||
from: golangci-lint | ||
- as: golint | ||
commands: make golint | ||
container: | ||
from: src | ||
- as: gofmt | ||
commands: make gofmt || true | ||
container: | ||
from: src | ||
zz_generated_metadata: | ||
branch: master | ||
org: openstack-k8s-operators | ||
repo: cinder-operator |
15 changes: 15 additions & 0 deletions
15
ci-operator/jobs/openstack-k8s-operators/cinder-operator/OWNERS
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,15 @@ | ||
approvers: | ||
- abays | ||
- dprince | ||
- olliewalsh | ||
- Sandeepyadav93 | ||
- stuggi | ||
- viroel | ||
options: {} | ||
reviewers: | ||
- abays | ||
- dprince | ||
- olliewalsh | ||
- Sandeepyadav93 | ||
- stuggi | ||
- viroel |
247 changes: 247 additions & 0 deletions
247
...-operators/cinder-operator/openstack-k8s-operators-cinder-operator-master-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,247 @@ | ||
presubmits: | ||
openstack-k8s-operators/cinder-operator: | ||
- agent: kubernetes | ||
always_run: true | ||
branches: | ||
- ^master$ | ||
- ^master- | ||
cluster: build01 | ||
context: ci/prow/gofmt | ||
decorate: true | ||
decoration_config: | ||
skip_cloning: true | ||
labels: | ||
ci.openshift.io/generator: prowgen | ||
pj-rehearse.openshift.io/can-be-rehearsed: "true" | ||
name: pull-ci-openstack-k8s-operators-cinder-operator-master-gofmt | ||
rerun_command: /test gofmt | ||
spec: | ||
containers: | ||
- args: | ||
- --gcs-upload-secret=/secrets/gcs/service-account.json | ||
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson | ||
- --report-credentials-file=/etc/report/credentials | ||
- --target=gofmt | ||
command: | ||
- ci-operator | ||
image: ci-operator:latest | ||
imagePullPolicy: Always | ||
name: "" | ||
resources: | ||
requests: | ||
cpu: 10m | ||
volumeMounts: | ||
- mountPath: /secrets/gcs | ||
name: gcs-credentials | ||
readOnly: true | ||
- mountPath: /etc/pull-secret | ||
name: pull-secret | ||
readOnly: true | ||
- mountPath: /etc/report | ||
name: result-aggregator | ||
readOnly: true | ||
serviceAccountName: ci-operator | ||
volumes: | ||
- name: pull-secret | ||
secret: | ||
secretName: registry-pull-credentials | ||
- name: result-aggregator | ||
secret: | ||
secretName: result-aggregator | ||
trigger: (?m)^/test( | .* )gofmt,?($|\s.*) | ||
- agent: kubernetes | ||
always_run: true | ||
branches: | ||
- ^master$ | ||
- ^master- | ||
cluster: build01 | ||
context: ci/prow/golangci | ||
decorate: true | ||
decoration_config: | ||
skip_cloning: true | ||
labels: | ||
ci.openshift.io/generator: prowgen | ||
pj-rehearse.openshift.io/can-be-rehearsed: "true" | ||
name: pull-ci-openstack-k8s-operators-cinder-operator-master-golangci | ||
rerun_command: /test golangci | ||
spec: | ||
containers: | ||
- args: | ||
- --gcs-upload-secret=/secrets/gcs/service-account.json | ||
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson | ||
- --report-credentials-file=/etc/report/credentials | ||
- --target=golangci | ||
command: | ||
- ci-operator | ||
image: ci-operator:latest | ||
imagePullPolicy: Always | ||
name: "" | ||
resources: | ||
requests: | ||
cpu: 10m | ||
volumeMounts: | ||
- mountPath: /secrets/gcs | ||
name: gcs-credentials | ||
readOnly: true | ||
- mountPath: /etc/pull-secret | ||
name: pull-secret | ||
readOnly: true | ||
- mountPath: /etc/report | ||
name: result-aggregator | ||
readOnly: true | ||
serviceAccountName: ci-operator | ||
volumes: | ||
- name: pull-secret | ||
secret: | ||
secretName: registry-pull-credentials | ||
- name: result-aggregator | ||
secret: | ||
secretName: result-aggregator | ||
trigger: (?m)^/test( | .* )golangci,?($|\s.*) | ||
- agent: kubernetes | ||
always_run: true | ||
branches: | ||
- ^master$ | ||
- ^master- | ||
cluster: build01 | ||
context: ci/prow/golint | ||
decorate: true | ||
decoration_config: | ||
skip_cloning: true | ||
labels: | ||
ci.openshift.io/generator: prowgen | ||
pj-rehearse.openshift.io/can-be-rehearsed: "true" | ||
name: pull-ci-openstack-k8s-operators-cinder-operator-master-golint | ||
rerun_command: /test golint | ||
spec: | ||
containers: | ||
- args: | ||
- --gcs-upload-secret=/secrets/gcs/service-account.json | ||
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson | ||
- --report-credentials-file=/etc/report/credentials | ||
- --target=golint | ||
command: | ||
- ci-operator | ||
image: ci-operator:latest | ||
imagePullPolicy: Always | ||
name: "" | ||
resources: | ||
requests: | ||
cpu: 10m | ||
volumeMounts: | ||
- mountPath: /secrets/gcs | ||
name: gcs-credentials | ||
readOnly: true | ||
- mountPath: /etc/pull-secret | ||
name: pull-secret | ||
readOnly: true | ||
- mountPath: /etc/report | ||
name: result-aggregator | ||
readOnly: true | ||
serviceAccountName: ci-operator | ||
volumes: | ||
- name: pull-secret | ||
secret: | ||
secretName: registry-pull-credentials | ||
- name: result-aggregator | ||
secret: | ||
secretName: result-aggregator | ||
trigger: (?m)^/test( | .* )golint,?($|\s.*) | ||
- agent: kubernetes | ||
always_run: true | ||
branches: | ||
- ^master$ | ||
- ^master- | ||
cluster: build01 | ||
context: ci/prow/govet | ||
decorate: true | ||
decoration_config: | ||
skip_cloning: true | ||
labels: | ||
ci.openshift.io/generator: prowgen | ||
pj-rehearse.openshift.io/can-be-rehearsed: "true" | ||
name: pull-ci-openstack-k8s-operators-cinder-operator-master-govet | ||
rerun_command: /test govet | ||
spec: | ||
containers: | ||
- args: | ||
- --gcs-upload-secret=/secrets/gcs/service-account.json | ||
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson | ||
- --report-credentials-file=/etc/report/credentials | ||
- --target=govet | ||
command: | ||
- ci-operator | ||
image: ci-operator:latest | ||
imagePullPolicy: Always | ||
name: "" | ||
resources: | ||
requests: | ||
cpu: 10m | ||
volumeMounts: | ||
- mountPath: /secrets/gcs | ||
name: gcs-credentials | ||
readOnly: true | ||
- mountPath: /etc/pull-secret | ||
name: pull-secret | ||
readOnly: true | ||
- mountPath: /etc/report | ||
name: result-aggregator | ||
readOnly: true | ||
serviceAccountName: ci-operator | ||
volumes: | ||
- name: pull-secret | ||
secret: | ||
secretName: registry-pull-credentials | ||
- name: result-aggregator | ||
secret: | ||
secretName: result-aggregator | ||
trigger: (?m)^/test( | .* )govet,?($|\s.*) | ||
- agent: kubernetes | ||
always_run: true | ||
branches: | ||
- ^master$ | ||
- ^master- | ||
cluster: build01 | ||
context: ci/prow/unit | ||
decorate: true | ||
decoration_config: | ||
skip_cloning: true | ||
labels: | ||
ci.openshift.io/generator: prowgen | ||
pj-rehearse.openshift.io/can-be-rehearsed: "true" | ||
name: pull-ci-openstack-k8s-operators-cinder-operator-master-unit | ||
rerun_command: /test unit | ||
spec: | ||
containers: | ||
- args: | ||
- --gcs-upload-secret=/secrets/gcs/service-account.json | ||
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson | ||
- --report-credentials-file=/etc/report/credentials | ||
- --target=unit | ||
command: | ||
- ci-operator | ||
image: ci-operator:latest | ||
imagePullPolicy: Always | ||
name: "" | ||
resources: | ||
requests: | ||
cpu: 10m | ||
volumeMounts: | ||
- mountPath: /secrets/gcs | ||
name: gcs-credentials | ||
readOnly: true | ||
- mountPath: /etc/pull-secret | ||
name: pull-secret | ||
readOnly: true | ||
- mountPath: /etc/report | ||
name: result-aggregator | ||
readOnly: true | ||
serviceAccountName: ci-operator | ||
volumes: | ||
- name: pull-secret | ||
secret: | ||
secretName: registry-pull-credentials | ||
- name: result-aggregator | ||
secret: | ||
secretName: result-aggregator | ||
trigger: (?m)^/test( | .* )unit,?($|\s.*) |
15 changes: 15 additions & 0 deletions
15
core-services/prow/02_config/openstack-k8s-operators/cinder-operator/OWNERS
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,15 @@ | ||
approvers: | ||
- abays | ||
- dprince | ||
- olliewalsh | ||
- Sandeepyadav93 | ||
- stuggi | ||
- viroel | ||
options: {} | ||
reviewers: | ||
- abays | ||
- dprince | ||
- olliewalsh | ||
- Sandeepyadav93 | ||
- stuggi | ||
- viroel |
Oops, something went wrong.