Repository navigation
Add prow config for ironic-image #4348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| # DO NOT EDIT; this file is auto-generated using tools/populate-owners. | ||
| # from https://github.com/openshift/ironic-image/blob/6adb4b75b5f13e4960fffe5b96351793e9de32e6/OWNERS | ||
| # See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md | ||
|
|
||
| approvers: | ||
| - bfournie | ||
| - derekhiggins | ||
| - dhellmann | ||
| - dtantsur | ||
| - elfosardo | ||
| - hardys | ||
| - juliakreger | ||
| - russellb | ||
| reviewers: | ||
| - bfournie | ||
| - derekhiggins | ||
| - dhellmann | ||
| - dtantsur | ||
| - elfosardo | ||
| - hardys | ||
| - juliakreger | ||
| - russellb |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| base_images: | ||
| base: | ||
| name: "4.2" | ||
| namespace: ocp | ||
| tag: base | ||
| build_root: | ||
| image_stream_tag: | ||
| cluster: https://api.ci.openshift.org | ||
| name: release | ||
| namespace: openshift | ||
| tag: golang-1.12 | ||
| images: | ||
| - dockerfile_path: Dockerfile.ocp | ||
| from: base-os | ||
| to: ironic-image | ||
| promotion: | ||
| name: "4.2" | ||
| namespace: ocp | ||
| raw_steps: | ||
| - pipeline_image_cache_step: | ||
| commands: | | ||
| curl http://base-openstack-4-2.ocp.svc > /etc/yum.repos.d/base-openstack-4-2.repo | ||
| from: base | ||
| to: base-os | ||
| resources: | ||
| '*': | ||
| limits: | ||
| memory: 4Gi | ||
| requests: | ||
| cpu: 100m | ||
| memory: 200Mi | ||
| tag_specification: | ||
| name: "4.2" | ||
| namespace: ocp | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| base_images: | ||
| base: | ||
| name: "4.2" | ||
| namespace: ocp | ||
| tag: base | ||
| build_root: | ||
| image_stream_tag: | ||
| cluster: https://api.ci.openshift.org | ||
| name: release | ||
| namespace: openshift | ||
| tag: golang-1.10 | ||
| images: | ||
| - dockerfile_path: Dockerfile.ocp | ||
| from: base-os | ||
| to: ironic-image | ||
| promotion: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think one of these needs
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yep, added!
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. correct, currently the master branch builds images promoted to |
||
| disabled: true | ||
| name: "4.2" | ||
| namespace: ocp | ||
| raw_steps: | ||
| - pipeline_image_cache_step: | ||
| commands: | | ||
| curl http://base-openstack-4-2.ocp.svc > /etc/yum.repos.d/base-openstack-4-2.repo | ||
| from: base | ||
| to: base-os | ||
| resources: | ||
| '*': | ||
| limits: | ||
| memory: 4Gi | ||
| requests: | ||
| cpu: 100m | ||
| memory: 200Mi | ||
| tag_specification: | ||
| name: "4.2" | ||
| namespace: ocp | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| # DO NOT EDIT; this file is auto-generated using tools/populate-owners. | ||
| # from https://github.com/openshift/ironic-image/blob/6adb4b75b5f13e4960fffe5b96351793e9de32e6/OWNERS | ||
| # See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md | ||
|
|
||
| approvers: | ||
| - bfournie | ||
| - derekhiggins | ||
| - dhellmann | ||
| - dtantsur | ||
| - elfosardo | ||
| - hardys | ||
| - juliakreger | ||
| - russellb | ||
| reviewers: | ||
| - bfournie | ||
| - derekhiggins | ||
| - dhellmann | ||
| - dtantsur | ||
| - elfosardo | ||
| - hardys | ||
| - juliakreger | ||
| - russellb |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| postsubmits: | ||
| openshift/ironic-image: | ||
| - agent: kubernetes | ||
| branches: | ||
| - ^master$ | ||
| decorate: true | ||
| decoration_config: | ||
| skip_cloning: true | ||
| labels: | ||
| ci-operator.openshift.io/prowgen-controlled: "true" | ||
| name: branch-ci-openshift-ironic-image-master-images | ||
| spec: | ||
| containers: | ||
| - args: | ||
| - --artifact-dir=$(ARTIFACTS) | ||
| - --give-pr-author-access-to-namespace=true | ||
| - --promote | ||
| - --sentry-dsn-path=/etc/sentry-dsn/ci-operator | ||
| - --target=[images] | ||
| command: | ||
| - ci-operator | ||
| env: | ||
| - name: CONFIG_SPEC | ||
| valueFrom: | ||
| configMapKeyRef: | ||
| key: openshift-ironic-image-master.yaml | ||
| name: ci-operator-master-configs | ||
| image: ci-operator:latest | ||
| imagePullPolicy: Always | ||
| name: "" | ||
| resources: | ||
| requests: | ||
| cpu: 10m | ||
| volumeMounts: | ||
| - mountPath: /etc/sentry-dsn | ||
| name: sentry-dsn | ||
| readOnly: true | ||
| serviceAccountName: ci-operator | ||
| volumes: | ||
| - name: sentry-dsn | ||
| secret: | ||
| secretName: sentry-dsn |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| presubmits: | ||
| openshift/ironic-image: | ||
| - agent: kubernetes | ||
| always_run: true | ||
| branches: | ||
| - master | ||
| context: ci/prow/images | ||
| decorate: true | ||
| decoration_config: | ||
| skip_cloning: true | ||
| labels: | ||
| ci-operator.openshift.io/prowgen-controlled: "true" | ||
| name: pull-ci-openshift-ironic-image-master-images | ||
| rerun_command: /test images | ||
| spec: | ||
| containers: | ||
| - args: | ||
| - --artifact-dir=$(ARTIFACTS) | ||
| - --give-pr-author-access-to-namespace=true | ||
| - --sentry-dsn-path=/etc/sentry-dsn/ci-operator | ||
| - --target=[images] | ||
| - --target=[release:latest] | ||
| command: | ||
| - ci-operator | ||
| env: | ||
| - name: CONFIG_SPEC | ||
| valueFrom: | ||
| configMapKeyRef: | ||
| key: openshift-ironic-image-master.yaml | ||
| name: ci-operator-master-configs | ||
| image: ci-operator:latest | ||
| imagePullPolicy: Always | ||
| name: "" | ||
| resources: | ||
| requests: | ||
| cpu: 10m | ||
| volumeMounts: | ||
| - mountPath: /etc/sentry-dsn | ||
| name: sentry-dsn | ||
| readOnly: true | ||
| serviceAccountName: ci-operator | ||
| volumes: | ||
| - name: sentry-dsn | ||
| secret: | ||
| secretName: sentry-dsn | ||
| trigger: (?m)^/test( | .* )images,?($|\s.*) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| postsubmits: | ||
| openshift/ironic-image: | ||
| - agent: kubernetes | ||
| branches: | ||
| - ^release-4\.2$ | ||
| decorate: true | ||
| decoration_config: | ||
| skip_cloning: true | ||
| labels: | ||
| ci-operator.openshift.io/prowgen-controlled: "true" | ||
| name: branch-ci-openshift-ironic-image-release-4.2-images | ||
| spec: | ||
| containers: | ||
| - args: | ||
| - --artifact-dir=$(ARTIFACTS) | ||
| - --give-pr-author-access-to-namespace=true | ||
| - --promote | ||
| - --sentry-dsn-path=/etc/sentry-dsn/ci-operator | ||
| - --target=[images] | ||
| command: | ||
| - ci-operator | ||
| env: | ||
| - name: CONFIG_SPEC | ||
| valueFrom: | ||
| configMapKeyRef: | ||
| key: openshift-ironic-image-release-4.2.yaml | ||
| name: ci-operator-4.2-configs | ||
| image: ci-operator:latest | ||
| imagePullPolicy: Always | ||
| name: "" | ||
| resources: | ||
| requests: | ||
| cpu: 10m | ||
| volumeMounts: | ||
| - mountPath: /etc/sentry-dsn | ||
| name: sentry-dsn | ||
| readOnly: true | ||
| serviceAccountName: ci-operator | ||
| volumes: | ||
| - name: sentry-dsn | ||
| secret: | ||
| secretName: sentry-dsn |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| presubmits: | ||
| openshift/ironic-image: | ||
| - agent: kubernetes | ||
| always_run: true | ||
| branches: | ||
| - release-4.2 | ||
| context: ci/prow/images | ||
| decorate: true | ||
| decoration_config: | ||
| skip_cloning: true | ||
| labels: | ||
| ci-operator.openshift.io/prowgen-controlled: "true" | ||
| name: pull-ci-openshift-ironic-image-release-4.2-images | ||
| rerun_command: /test images | ||
| spec: | ||
| containers: | ||
| - args: | ||
| - --artifact-dir=$(ARTIFACTS) | ||
| - --give-pr-author-access-to-namespace=true | ||
| - --sentry-dsn-path=/etc/sentry-dsn/ci-operator | ||
| - --target=[images] | ||
| command: | ||
| - ci-operator | ||
| env: | ||
| - name: CONFIG_SPEC | ||
| valueFrom: | ||
| configMapKeyRef: | ||
| key: openshift-ironic-image-release-4.2.yaml | ||
| name: ci-operator-4.2-configs | ||
| image: ci-operator:latest | ||
| imagePullPolicy: Always | ||
| name: "" | ||
| resources: | ||
| requests: | ||
| cpu: 10m | ||
| volumeMounts: | ||
| - mountPath: /etc/sentry-dsn | ||
| name: sentry-dsn | ||
| readOnly: true | ||
| serviceAccountName: ci-operator | ||
| volumes: | ||
| - name: sentry-dsn | ||
| secret: | ||
| secretName: sentry-dsn | ||
| trigger: (?m)^/test( | .* )images,?($|\s.*) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@smarterclayton what's going on here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we're injecting a new repository since we need rpms from the openstack repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and note it's already used in a couple other images: