-
Notifications
You must be signed in to change notification settings - Fork 2.2k
config: Add an rpm-ostree prow job #5263
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,14 @@ | ||
| approvers: | ||
| - miabbott | ||
| - cgwalters | ||
| - bgilbert | ||
| - dustymabe | ||
| - mike-nguyen | ||
| - jlebon | ||
| - zonggen | ||
| - ashcrow | ||
| - darkmuggle | ||
| - ajeddeloh | ||
| - lucab | ||
| - arithx | ||
| - vrutkovs | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| build_root: | ||
| image_stream_tag: | ||
| namespace: coreos | ||
| name: cosa-buildroot | ||
| tag: latest | ||
|
|
||
| # With this we build a container image derived from cosa-buildroot | ||
| # that contains new rpm-ostree binaries. From there...since this | ||
| # cluster doesn't support recursive containerization or virt, | ||
| # we can't do much interesting to test it today. But hopefully | ||
| # that will soon change. | ||
| # https://github.com/openshift/release/issues/4892 | ||
| binary_build_commands: env SKIP_INSTALLDEPS=1 ./ci/build-check.sh | ||
|
|
||
| tests: | ||
| - as: sanity | ||
| commands: rpm-ostree --version | ||
| container: | ||
| from: bin | ||
|
|
||
| resources: | ||
| '*': | ||
| limits: | ||
| memory: 6Gi | ||
|
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. That's a lot of memory for your sanity test :)
Member
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. Hm yeah, the build process (gcc and Rust compilers) is what uses RAM; could dial that back down some.
Member
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. Ultimately I think what we really want is to
|
||
| requests: | ||
| cpu: 1000m | ||
| memory: 3Gi | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| approvers: | ||
|
||
| - miabbott | ||
| - cgwalters | ||
| - bgilbert | ||
| - dustymabe | ||
| - mike-nguyen | ||
| - jlebon | ||
| - zonggen | ||
| - ashcrow | ||
| - darkmuggle | ||
| - ajeddeloh | ||
| - lucab | ||
| - arithx | ||
| - vrutkovs | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| presubmits: | ||
| coreos/rpm-ostree: | ||
| - agent: kubernetes | ||
| always_run: true | ||
| branches: | ||
| - master | ||
| context: ci/prow/sanity | ||
| decorate: true | ||
| decoration_config: | ||
| skip_cloning: true | ||
| labels: | ||
| ci-operator.openshift.io/prowgen-controlled: "true" | ||
| pj-rehearse.openshift.io/can-be-rehearsed: "true" | ||
| name: pull-ci-coreos-rpm-ostree-master-sanity | ||
| rerun_command: /test sanity | ||
| spec: | ||
| containers: | ||
| - args: | ||
| - --artifact-dir=$(ARTIFACTS) | ||
| - --give-pr-author-access-to-namespace=true | ||
| - --sentry-dsn-path=/etc/sentry-dsn/ci-operator | ||
| - --target=sanity | ||
| command: | ||
| - ci-operator | ||
| env: | ||
| - name: CONFIG_SPEC | ||
| valueFrom: | ||
| configMapKeyRef: | ||
| key: coreos-rpm-ostree-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( | .* )sanity,?($|\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.
These need
reviewersso that we could LGTM PRs hereThere 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.
Approvers get used when no reviewers get listed