Skip to content
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

feat(containers): Remove reliance on "chained builds" architecture for image builds #924

Merged

Conversation

andyatmiami
Copy link
Contributor

@andyatmiami andyatmiami commented Feb 27, 2025

Related openshift/release PR

Description

Commit contains following changes:

  • Refactors all Dockerfiles to to be "self-contained" - not rely on any "build chains" for internal images
    • please note in the final form of this PR - many intermediate stages will be combined... this current form makes it easier to understand how the Dockerfiles present in the "build chain" are being combined - long term - we'd expect the following stages: base, base-<accelerator> (if applicable), <final>
  • Dockerfile file now has a file extension/suffix that indicates CPU or accelerator
  • LABEL directives now should be consistent/accurate
    • this probably needs a little more attention
  • base/ directory removed as its no longer relevant/required
  • rocm/ directory removed as its no longer relevant/required
  • wheel + setuptools explicitly added to runtime- images Pipfile
  • Makefile updated to remove pre-reqs on container image targets
  • Makefile updated to handle support better across releases
    • read: MOWR variables
  • pytorch Makefile targets now contain cuda- prefix
  • rocm + cuda datascience Makefile targets removed as we don't ship those variants
    • with no chained builds - all datascience-dependent images contain their own required Dockerfile logic!
  • ENV directive in Dockerfile now properly uses = (vs. whitespace)
  • change in buildinputs to pull file paths from the terminal layer
    • this change particularly needs refined - but its "crude yet effective" in its current form
  • scripts related to automation updates to account for these new changes
    • gen_gha_matrix_jobs.py now uses an all-images Makefile target to identify image-related targets (while also supported the Make variables that appear in our target names now)
    • gha_pr_changed_files.py adapted to:
      • account for the fact we only ever discover a single "build directory" based on the #\(MACHINE-PARSED LINE\)#\ in make output
      • support multiple Dockerfile (with differing extensions) existing in a single directory
        • ℹ️ Code is already/pre-emptively ignoring presence of Dockerfile.konflux
        • ⚠️ Inefficiency introduced in filter_out_unchanged that I would prefer to treat in a subsequent PR
    • test_make_building_only_specified_images function removed from make_test.py as its irrelevant now when not using chained builds
    • has_tests.py updated to:
      • account for the fact a given Makefile target will no longer ever include mutiple #\(MACHINE-PARSED LINE\)#\ in its output
        • i.e. there is only a single directory involved for a given Makefile target when dealing with gha_pr_changed_files
      • due to how the Makefile is parsed now - we need to make sure we are passing a valid Makefile target into the test case

Related-to: https://issues.redhat.com/browse/RHOAIENG-19048

How Has This Been Tested?

Merge criteria:

  • The commits are squashed in a cohesive manner and have meaningful messages.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

@andyatmiami andyatmiami force-pushed the feat/no-chained-builds branch from 40aa1f4 to 13e78b0 Compare February 27, 2025 02:45
@andyatmiami andyatmiami changed the title feat(dockerfile): Remove reliance on "chained builds" architecture for image builds feat(containers): Remove reliance on "chained builds" architecture for image builds Feb 27, 2025
@openshift-ci openshift-ci bot added size/xxl and removed size/xxl labels Feb 27, 2025
####################
# base #
####################
FROM registry.access.redhat.com/ubi9/python-311:latest AS base
Copy link
Member

@jstourac jstourac Feb 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we're moving to konflux soon anyway, what do you think about moving from latest to an actual sha/tag for the base images? This may help also #901 maybe?

@jiridanek WDYT?

Note: no need to do it as part of this PR so that such change won't be lost in all the other changes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

absolutely not in this PR

I'm guessing if we let renovate to run, it will rewrite the tags first thing ;p so maybe no manual effort needed

good thought, tho

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix-permissions /opt/app-root -P

WORKDIR /opt/app-root/src

CMD ["/opt/app-root/bin/run-code-server.sh"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eventually I think we should unify to use ENTRYPOINT for all our images in the future. Or do we have some reason to use ENTRYPOINT somewhere and CMD command elsewhere that I'm missing? 🤔

https://www.docker.com/blog/docker-best-practices-choosing-between-run-cmd-and-entrypoint/

Note: again, not something to deal with in this PR.

Copy link
Member

@jiridanek jiridanek Feb 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's that somewhere we're using the s2i-provided entrypoint and somewhere we decided not to, I think... We should stop using s2i base images and use normal ubi ;P

Copy link
Member

@atheo89
Copy link
Member

atheo89 commented Feb 27, 2025

/testwith opendatahub-io/notebooks/main/notebook-jupyter-ubi9-python-3-11-pr-image-mirror openshift/release#62160

Copy link
Contributor

openshift-ci bot commented Feb 27, 2025

@atheo89, testwith: could not generate prow job. ERROR:

BUG: test 'notebook-jupyter-ubi9-python-3-11-pr-image-mirror' not found in injected config

@atheo89
Copy link
Member

atheo89 commented Feb 27, 2025

/testwith opendatahub-io/notebooks/main/jupyter-ds-ubi9-python-3-11-pr-image-mirror openshift/release#62160

Copy link
Contributor

openshift-ci bot commented Feb 27, 2025

@atheo89, testwith: could not generate prow job. ERROR:

BUG: test 'jupyter-ds-ubi9-python-3-11-pr-image-mirror' not found in injected config

@jstourac
Copy link
Member

@andyatmiami thank you for this. I scanned through these changes; LGTM in general. Didn't do the extended thorough check though. Just to be sure - you checked the image differences by your script for all the images we are touching here?

Regarding the testing - apart from manual effort, I think that the first step should be to make the pytest tests pass here in this PR for these changes so we utilize at least that minimal automated checks in this repository. I can take a look on some of the failing CI checks, just feel free to let me know so we aren't duplicating our work.

I put some comments, but these are more just an ideas for the future or discussion and shouldn't be addressed in this PR anyway.

@andyatmiami
Copy link
Contributor Author

andyatmiami commented Feb 27, 2025

@jstourac - appreciate the review...

w.r.t the testing I did do so far.. it was using the (admittedly initially diificult to work with) diffoci tool...

so all these images are of "comparable" (in most cases identical) image size...

The few places the image size is different - its due to minor corrections made in the PR (example: explicitly adding setuptools and wheel dependencies in runtimes/ images - which causes very minor changes in image size)

@andyatmiami
Copy link
Contributor Author

/testwith opendatahub-io/notebooks/main/notebook-jupyter-ubi9-python-3-11-pr-image-mirror openshift/release#62160

@jiridanek
Copy link
Member

jiridanek commented Feb 27, 2025

@andyatmiami /testwith does not work for testing changes done in openshift/release, if you read the thread that andriana posted the link to, that's what we concluded

@jiridanek
Copy link
Member

jiridanek commented Feb 27, 2025

we have to merge andriana's pr first, and then it's possible to rerun the ocp-ci checks and they should start running

…r image builds

Commit contains following changes:

- Refactors all `Dockerfile`s to to be "self-contained" - not rely on any "build chains" for internal images
    - please note in the final form of this PR - many intermediate stages will be combined... this current form makes it easier to understand how the `Dockerfile`s present in the "build chain" are being combined - long term - we'd expect the following stages: `base`, `base-<accelerator>` (if applicable), `<final>`
- `Dockerfile` file now has a file extension/suffix that indicates CPU or accelerator
- `LABEL` directives now should be consistent/accurate
    - this probably needs a little more attention
- `base/` directory removed as its no longer relevant/required
- `rocm/` directory removed as its no longer relevant/required
- `wheel` + `setuptools` explicitly added to `runtime-` images `Pipfile`
	- requirements.txt also regenerated as a result
- Makefile updated to remove pre-reqs on container image targets
- Makefile updated to handle support better across releases
    - _read: MOWR variables_
- `pytorch` `Makefile` targets now contain `cuda-` prefix
- `rocm` + `cuda` `datascience` `Makefile` targets removed as we don't ship those variants
    - with no chained builds - all datascience-dependent images contain their own required `Dockerfile` logic!
- `ENV` directive in `Dockerfile` now properly uses `=` (vs. whitespace)
- change in `buildinputs` to pull file paths from the terminal layer
    - this change particularly needs refined - but its "crude yet effective" in its current form

Related-to: https://issues.redhat.com/browse/RHOAIENG-19048
Copy link
Contributor

openshift-ci bot commented Feb 28, 2025

@jiridanek: Overrode contexts on behalf of jiridanek: ci/prow/notebooks-ubi9-e2e-tests

In response to this:

/override ci/prow/notebooks-ubi9-e2e-tests

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@jiridanek
Copy link
Member

/override ci/prow/notebooks-ubi9-e2e-tests

Copy link
Contributor

openshift-ci bot commented Feb 28, 2025

@jiridanek: Overrode contexts on behalf of jiridanek: ci/prow/notebooks-ubi9-e2e-tests

In response to this:

/override ci/prow/notebooks-ubi9-e2e-tests

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@jiridanek
Copy link
Member

/override ci/prow/rocm-notebooks-e2e-tests

Copy link
Contributor

openshift-ci bot commented Feb 28, 2025

@jiridanek: Overrode contexts on behalf of jiridanek: ci/prow/rocm-notebooks-e2e-tests

In response to this:

/override ci/prow/rocm-notebooks-e2e-tests

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@jiridanek
Copy link
Member

/override ci/prow/
rocm-runtimes-ubi9-e2e-tests

Copy link
Contributor

openshift-ci bot commented Feb 28, 2025

@jiridanek: /override requires failed status contexts, check run or a prowjob name to operate on.
The following unknown contexts/checkruns were given:

  • ci/prow/

Only the following failed contexts/checkruns were expected:

  • ci/prow/codeserver-notebook-e2e-tests
  • ci/prow/codeserver-ubi9-python-3-11-pr-image-mirror
  • ci/prow/cuda-rstudio-c9s-python-3-11-pr-image-mirror
  • ci/prow/images
  • ci/prow/notebook-cuda-jupyter-pt-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-cuda-jupyter-tf-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-cuda-jupyter-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-jupyter-ds-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-jupyter-tai-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-jupyter-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-rocm-jupyter-pt-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-rocm-jupyter-tf-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-rocm-jupyter-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebooks-ubi9-e2e-tests
  • ci/prow/rocm-notebooks-e2e-tests
  • ci/prow/rocm-runtime-pt-ubi9-python-3-11-pr-image-mirror
  • ci/prow/rocm-runtime-tf-ubi9-python-3-11-pr-image-mirror
  • ci/prow/rocm-runtimes-ubi9-e2e-tests
  • ci/prow/rstudio-c9s-python-3-11-pr-image-mirror
  • ci/prow/rstudio-notebook-e2e-tests
  • ci/prow/runtime-cuda-pt-ubi9-python-3-11-pr-image-mirror
  • ci/prow/runtime-cuda-tf-ubi9-python-3-11-pr-image-mirror
  • ci/prow/runtime-ds-ubi9-python-3-11-pr-image-mirror
  • ci/prow/runtime-ubi9-python-3-11-pr-image-mirror
  • ci/prow/runtimes-ubi9-e2e-tests
  • pull-ci-opendatahub-io-notebooks-2023a-images
  • pull-ci-opendatahub-io-notebooks-main-codeserver-notebook-e2e-tests
  • pull-ci-opendatahub-io-notebooks-main-codeserver-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-cuda-rstudio-c9s-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-cuda-jupyter-pt-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-cuda-jupyter-tf-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-cuda-jupyter-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-jupyter-ds-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-jupyter-tai-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-jupyter-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-rocm-jupyter-pt-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-rocm-jupyter-tf-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-rocm-jupyter-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebooks-ubi9-e2e-tests
  • pull-ci-opendatahub-io-notebooks-main-rocm-notebooks-e2e-tests
  • pull-ci-opendatahub-io-notebooks-main-rocm-runtime-pt-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-rocm-runtime-tf-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-rocm-runtimes-ubi9-e2e-tests
  • pull-ci-opendatahub-io-notebooks-main-rstudio-c9s-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-rstudio-notebook-e2e-tests
  • pull-ci-opendatahub-io-notebooks-main-runtime-cuda-pt-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-runtime-cuda-tf-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-runtime-ds-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-runtime-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-runtimes-ubi9-e2e-tests
  • tide

If you are trying to override a checkrun that has a space in it, you must put a double quote on the context.

In response to this:

/override ci/prow/
rocm-runtimes-ubi9-e2e-tests

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@jiridanek
Copy link
Member

/override ci/prow/rstudio-notebook-e2e-tests

Copy link
Contributor

openshift-ci bot commented Feb 28, 2025

@jiridanek: Overrode contexts on behalf of jiridanek: ci/prow/rstudio-notebook-e2e-tests

In response to this:

/override ci/prow/rstudio-notebook-e2e-tests

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@jiridanek
Copy link
Member

/override ci/prow/
codeserver-notebook-e2e-tests

Copy link
Contributor

openshift-ci bot commented Feb 28, 2025

@jiridanek: /override requires failed status contexts, check run or a prowjob name to operate on.
The following unknown contexts/checkruns were given:

  • ci/prow/

Only the following failed contexts/checkruns were expected:

  • ci/prow/codeserver-notebook-e2e-tests
  • ci/prow/codeserver-ubi9-python-3-11-pr-image-mirror
  • ci/prow/cuda-rstudio-c9s-python-3-11-pr-image-mirror
  • ci/prow/images
  • ci/prow/notebook-cuda-jupyter-pt-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-cuda-jupyter-tf-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-cuda-jupyter-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-jupyter-ds-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-jupyter-tai-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-jupyter-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-rocm-jupyter-pt-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-rocm-jupyter-tf-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-rocm-jupyter-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebooks-ubi9-e2e-tests
  • ci/prow/rocm-notebooks-e2e-tests
  • ci/prow/rocm-runtime-pt-ubi9-python-3-11-pr-image-mirror
  • ci/prow/rocm-runtime-tf-ubi9-python-3-11-pr-image-mirror
  • ci/prow/rocm-runtimes-ubi9-e2e-tests
  • ci/prow/rstudio-c9s-python-3-11-pr-image-mirror
  • ci/prow/rstudio-notebook-e2e-tests
  • ci/prow/runtime-cuda-pt-ubi9-python-3-11-pr-image-mirror
  • ci/prow/runtime-cuda-tf-ubi9-python-3-11-pr-image-mirror
  • ci/prow/runtime-ds-ubi9-python-3-11-pr-image-mirror
  • ci/prow/runtime-ubi9-python-3-11-pr-image-mirror
  • ci/prow/runtimes-ubi9-e2e-tests
  • pull-ci-opendatahub-io-notebooks-2023a-images
  • pull-ci-opendatahub-io-notebooks-main-codeserver-notebook-e2e-tests
  • pull-ci-opendatahub-io-notebooks-main-codeserver-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-cuda-rstudio-c9s-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-cuda-jupyter-pt-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-cuda-jupyter-tf-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-cuda-jupyter-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-jupyter-ds-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-jupyter-tai-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-jupyter-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-rocm-jupyter-pt-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-rocm-jupyter-tf-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-rocm-jupyter-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebooks-ubi9-e2e-tests
  • pull-ci-opendatahub-io-notebooks-main-rocm-notebooks-e2e-tests
  • pull-ci-opendatahub-io-notebooks-main-rocm-runtime-pt-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-rocm-runtime-tf-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-rocm-runtimes-ubi9-e2e-tests
  • pull-ci-opendatahub-io-notebooks-main-rstudio-c9s-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-rstudio-notebook-e2e-tests
  • pull-ci-opendatahub-io-notebooks-main-runtime-cuda-pt-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-runtime-cuda-tf-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-runtime-ds-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-runtime-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-runtimes-ubi9-e2e-tests
  • tide

If you are trying to override a checkrun that has a space in it, you must put a double quote on the context.

In response to this:

/override ci/prow/
codeserver-notebook-e2e-tests

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@jiridanek
Copy link
Member

/override ci/prow/codeserver-notebook-e2e-tests

Copy link
Contributor

openshift-ci bot commented Feb 28, 2025

@jiridanek: Overrode contexts on behalf of jiridanek: ci/prow/codeserver-notebook-e2e-tests

In response to this:

/override ci/prow/codeserver-notebook-e2e-tests

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@jiridanek
Copy link
Member

/override ci/prow/rocm-runtimes-ubi9-e2e-tests

Copy link
Contributor

openshift-ci bot commented Feb 28, 2025

@jiridanek: Overrode contexts on behalf of jiridanek: ci/prow/rocm-runtimes-ubi9-e2e-tests

In response to this:

/override ci/prow/rocm-runtimes-ubi9-e2e-tests

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@jiridanek
Copy link
Member

/override cilprow/rocm-runtimes-ubi9-e2e-tests

Copy link
Contributor

openshift-ci bot commented Feb 28, 2025

@jiridanek: /override requires failed status contexts, check run or a prowjob name to operate on.
The following unknown contexts/checkruns were given:

  • cilprow/rocm-runtimes-ubi9-e2e-tests

Only the following failed contexts/checkruns were expected:

  • ci/prow/codeserver-notebook-e2e-tests
  • ci/prow/codeserver-ubi9-python-3-11-pr-image-mirror
  • ci/prow/cuda-rstudio-c9s-python-3-11-pr-image-mirror
  • ci/prow/images
  • ci/prow/notebook-cuda-jupyter-pt-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-cuda-jupyter-tf-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-cuda-jupyter-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-jupyter-ds-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-jupyter-tai-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-jupyter-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-rocm-jupyter-pt-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-rocm-jupyter-tf-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebook-rocm-jupyter-ubi9-python-3-11-pr-image-mirror
  • ci/prow/notebooks-ubi9-e2e-tests
  • ci/prow/rocm-notebooks-e2e-tests
  • ci/prow/rocm-runtime-pt-ubi9-python-3-11-pr-image-mirror
  • ci/prow/rocm-runtime-tf-ubi9-python-3-11-pr-image-mirror
  • ci/prow/rocm-runtimes-ubi9-e2e-tests
  • ci/prow/rstudio-c9s-python-3-11-pr-image-mirror
  • ci/prow/rstudio-notebook-e2e-tests
  • ci/prow/runtime-cuda-pt-ubi9-python-3-11-pr-image-mirror
  • ci/prow/runtime-cuda-tf-ubi9-python-3-11-pr-image-mirror
  • ci/prow/runtime-ds-ubi9-python-3-11-pr-image-mirror
  • ci/prow/runtime-ubi9-python-3-11-pr-image-mirror
  • ci/prow/runtimes-ubi9-e2e-tests
  • pull-ci-opendatahub-io-notebooks-2023a-images
  • pull-ci-opendatahub-io-notebooks-main-codeserver-notebook-e2e-tests
  • pull-ci-opendatahub-io-notebooks-main-codeserver-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-cuda-rstudio-c9s-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-cuda-jupyter-pt-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-cuda-jupyter-tf-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-cuda-jupyter-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-jupyter-ds-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-jupyter-tai-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-jupyter-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-rocm-jupyter-pt-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-rocm-jupyter-tf-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebook-rocm-jupyter-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-notebooks-ubi9-e2e-tests
  • pull-ci-opendatahub-io-notebooks-main-rocm-notebooks-e2e-tests
  • pull-ci-opendatahub-io-notebooks-main-rocm-runtime-pt-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-rocm-runtime-tf-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-rocm-runtimes-ubi9-e2e-tests
  • pull-ci-opendatahub-io-notebooks-main-rstudio-c9s-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-rstudio-notebook-e2e-tests
  • pull-ci-opendatahub-io-notebooks-main-runtime-cuda-pt-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-runtime-cuda-tf-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-runtime-ds-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-runtime-ubi9-python-3-11-pr-image-mirror
  • pull-ci-opendatahub-io-notebooks-main-runtimes-ubi9-e2e-tests
  • tide

If you are trying to override a checkrun that has a space in it, you must put a double quote on the context.

In response to this:

/override cilprow/rocm-runtimes-ubi9-e2e-tests

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@jiridanek
Copy link
Member

/override ci/prow/rocm-runtimes-ubi9-e2e-tests

Copy link
Contributor

openshift-ci bot commented Feb 28, 2025

@jiridanek: Overrode contexts on behalf of jiridanek: ci/prow/rocm-runtimes-ubi9-e2e-tests

In response to this:

/override ci/prow/rocm-runtimes-ubi9-e2e-tests

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@jiridanek
Copy link
Member

/override ci/prow/runtimes-ubi9-e2e-tests

Copy link
Contributor

openshift-ci bot commented Feb 28, 2025

@jiridanek: Overrode contexts on behalf of jiridanek: ci/prow/runtimes-ubi9-e2e-tests

In response to this:

/override ci/prow/runtimes-ubi9-e2e-tests

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-merge-bot openshift-merge-bot bot merged commit 73f1c91 into opendatahub-io:main Feb 28, 2025
48 checks passed
jiridanek added a commit to jiridanek/notebooks that referenced this pull request Mar 4, 2025
The recent change RHOAIENG-19048 that removed build chains made the option obsolete

* opendatahub-io#924

This modifies the Makefile customization feature as implemented in RHOAIENG-9822

* opendatahub-io#657
andyatmiami added a commit to andyatmiami/notebooks that referenced this pull request Mar 7, 2025
…r rhel9 image builds

This work is a continuation of changes originally implemented in `opendatahub-io/notebooks` under opendatahub-io#924.
The `red-hat-data-services/notebooks` repo has some functional differences related to the `rstudio` images which necessitates additional changes:
- `rhel9` builder image is used (instead of `c9s`)
- `BuildConfig` manifest is used to build the image (due to reliance on `subscription-manager`) (instead of naive `Makefile` / container build)

Commit contains following changes:

- Refactors all `rhel9` `rstudio` `Dockerfile`s to to be "self-contained" - not rely on any "build chains" for internal images
    - please note in the final form of this PR - many intermediate stages will be combined... this current form makes it easier to understand how the `Dockerfile`s present in the "build chain" are being combined - long term - we'd expect the following stages: `base`, `base-<accelerator>` (if applicable), `<final>`
- `Dockerfile` file now has a file extension/suffix that indicates CPU or accelerator
- `LABEL` directives now should be consistent/accurate
    - this probably needs a little more attention
- `base/rhel9-python-3.11` directory removed as its no longer relevant/required
- Makefile updated to remove outdated `base-rhel9-python-3.9` target
- `ENV` directive in `Dockerfile` now properly uses `=` (vs. whitespace)
- `rstudio` `BuildConfig` manifests updated to accomodate changes outlined above
    - `Dockerfile.xxx` reference
    - No chained build
    	- For `BuildConfig` manifest - this means removing the `from` attribute from `dockerStrategy`
jiridanek added a commit to jiridanek/notebooks that referenced this pull request Mar 10, 2025
…ript

With the chained build removal changes in, we need not worry about build chains in GHA.

* opendatahub-io#924

This means that there is no benefit from generating the image build workflow upfront and committing that.
Previously the benefit was that ad-hoc matrix jobs could not have dependencies on one another, whereas these generated jobs could.
jiridanek pushed a commit to jiridanek/notebooks that referenced this pull request Mar 14, 2025
…r rhel9 image builds

This work is a continuation of changes originally implemented in `opendatahub-io/notebooks` under opendatahub-io#924.
The `red-hat-data-services/notebooks` repo has some functional differences related to the `rstudio` images which necessitates additional changes:
- `rhel9` builder image is used (instead of `c9s`)
- `BuildConfig` manifest is used to build the image (due to reliance on `subscription-manager`) (instead of naive `Makefile` / container build)

Commit contains following changes:

- Refactors all `rhel9` `rstudio` `Dockerfile`s to to be "self-contained" - not rely on any "build chains" for internal images
    - please note in the final form of this PR - many intermediate stages will be combined... this current form makes it easier to understand how the `Dockerfile`s present in the "build chain" are being combined - long term - we'd expect the following stages: `base`, `base-<accelerator>` (if applicable), `<final>`
- `Dockerfile` file now has a file extension/suffix that indicates CPU or accelerator
- `LABEL` directives now should be consistent/accurate
    - this probably needs a little more attention
- `base/rhel9-python-3.11` directory removed as its no longer relevant/required
- Makefile updated to remove outdated `base-rhel9-python-3.9` target
- `ENV` directive in `Dockerfile` now properly uses `=` (vs. whitespace)
- `rstudio` `BuildConfig` manifests updated to accomodate changes outlined above
    - `Dockerfile.xxx` reference
    - No chained build
    	- For `BuildConfig` manifest - this means removing the `from` attribute from `dockerStrategy`
jiridanek pushed a commit to jiridanek/notebooks that referenced this pull request Mar 14, 2025
…r rhel9 image builds

This work is a continuation of changes originally implemented in `opendatahub-io/notebooks` under opendatahub-io#924.
The `red-hat-data-services/notebooks` repo has some functional differences related to the `rstudio` images which necessitates additional changes:
- `rhel9` builder image is used (instead of `c9s`)
- `BuildConfig` manifest is used to build the image (due to reliance on `subscription-manager`) (instead of naive `Makefile` / container build)

Commit contains following changes:

- Refactors all `rhel9` `rstudio` `Dockerfile`s to to be "self-contained" - not rely on any "build chains" for internal images
    - please note in the final form of this PR - many intermediate stages will be combined... this current form makes it easier to understand how the `Dockerfile`s present in the "build chain" are being combined - long term - we'd expect the following stages: `base`, `base-<accelerator>` (if applicable), `<final>`
- `Dockerfile` file now has a file extension/suffix that indicates CPU or accelerator
- `LABEL` directives now should be consistent/accurate
    - this probably needs a little more attention
- `base/rhel9-python-3.11` directory removed as its no longer relevant/required
- Makefile updated to remove outdated `base-rhel9-python-3.9` target
- `ENV` directive in `Dockerfile` now properly uses `=` (vs. whitespace)
- `rstudio` `BuildConfig` manifests updated to accomodate changes outlined above
    - `Dockerfile.xxx` reference
    - No chained build
    	- For `BuildConfig` manifest - this means removing the `from` attribute from `dockerStrategy`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dockerfiles: Legacy key/value format with whitespace separator should not be used
5 participants