Skip to content

Onboard to distgen generated sources#381

Open
ndavidova wants to merge 14 commits into
masterfrom
ndavidov/distgen
Open

Onboard to distgen generated sources#381
ndavidova wants to merge 14 commits into
masterfrom
ndavidov/distgen

Conversation

@ndavidova

@ndavidova ndavidova commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

ndavidova added 13 commits May 18, 2026 17:04
Use Jinja2 conditional to handle empty environment_setup properly.
When environment_setup is empty (Fedora, C10S, RHEL10), generate
'RUN INSTALL_PKGS=...' instead of 'RUN \n    INSTALL_PKGS=...'
which caused build failures.
Changed from 'CMD $STI_SCRIPTS_PATH/usage' to 'CMD ["/usr/libexec/s2i/usage"]'
to follow Docker best practices and prevent build warnings from breaking
image ID extraction in build scripts.
@coderabbitai

coderabbitai Bot commented Jun 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 187 files, which is 37 over the limit of 150.

To get a review, narrow the scope:
• coderabbit review --type committed # exclude uncommitted changes
• coderabbit review --dir # limit to a subdirectory
• coderabbit review --base # compare against a closer base

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 25e262dd-8c4e-4482-b61e-fa76dc301914

📥 Commits

Reviewing files that changed from the base of the PR and between 8b6fd55 and c49fde8.

📒 Files selected for processing (187)
  • .github/workflows/container-tests.yml
  • 1.20/.exclude-c9s
  • 1.20/.exclude-fedora
  • 1.20/.exclude-rhel8
  • 1.20/Dockerfile.c9s
  • 1.20/Dockerfile.fedora
  • 1.20/Dockerfile.rhel8
  • 1.20/Dockerfile.rhel9
  • 1.20/README.md
  • 1.20/root/opt/app-root/etc/generate_container_user
  • 1.20/root/opt/app-root/nginxconf-rhscl.sed
  • 1.20/s2i/bin/assemble
  • 1.20/test
  • 1.20/test/__init__.py
  • 1.20/test/conftest.py
  • 1.20/test/constants.py
  • 1.20/test/examples
  • 1.20/test/imagestreams
  • 1.20/test/run
  • 1.20/test/run-openshift-pytest
  • 1.20/test/run-openshift-remote-cluster
  • 1.20/test/run-pytest
  • 1.20/test/test-app
  • 1.20/test/test-lib-nginx.sh
  • 1.20/test/test-lib-openshift.sh
  • 1.20/test/test-lib-remote-openshift.sh
  • 1.20/test/test-lib.sh
  • 1.20/test/test-openshift.yaml
  • 1.20/test/test_container_application.py
  • 1.20/test/test_container_basics.py
  • 1.20/test/test_container_example_apps.py
  • 1.20/test/test_container_sizes.py
  • 1.20/test/test_ocp_imagestream_s2i.py
  • 1.20/test/test_ocp_imagestreams.py
  • 1.20/test/test_ocp_local_example.py
  • 1.20/test/test_ocp_remote_example.py
  • 1.20/test/test_ocp_shared_helm_imagestreams.py
  • 1.20/test/test_ocp_shared_helm_template.py
  • 1.20/test/test_ocp_template_example_app.py
  • 1.22-micro/.exclude-fedora
  • 1.22-micro/Dockerfile.c9s
  • 1.22-micro/README.md
  • 1.22-micro/core-scripts
  • 1.22-micro/root
  • 1.22-micro/s2i
  • 1.22-micro/test
  • 1.22/.exclude-c9s
  • 1.22/.exclude-fedora
  • 1.22/Dockerfile.c9s
  • 1.22/Dockerfile.fedora
  • 1.22/Dockerfile.rhel8
  • 1.22/Dockerfile.rhel9
  • 1.22/README.md
  • 1.22/root/opt/app-root/etc/generate_container_user
  • 1.22/test
  • 1.22/test/__init__.py
  • 1.22/test/conftest.py
  • 1.22/test/examples
  • 1.22/test/imagestreams
  • 1.22/test/perl-test-app/index.html
  • 1.22/test/perl-test-app/nginx-perl/Version.pm
  • 1.22/test/perl-test-app/nginx.conf
  • 1.22/test/run
  • 1.22/test/run-openshift-pytest
  • 1.22/test/run-openshift-remote-cluster
  • 1.22/test/run-pytest
  • 1.22/test/start-hook-test-app/index.html
  • 1.22/test/start-hook-test-app/index2.html
  • 1.22/test/start-hook-test-app/nginx-cfg/default.conf
  • 1.22/test/start-hook-test-app/nginx-start/init.sh
  • 1.22/test/test-app
  • 1.22/test/test-lib-nginx.sh
  • 1.22/test/test-lib-openshift.sh
  • 1.22/test/test-lib-remote-openshift.sh
  • 1.22/test/test-lib.sh
  • 1.22/test/test-openshift.yaml
  • 1.22/test/test_container_application.py
  • 1.22/test/test_container_basics.py
  • 1.22/test/test_container_example_apps.py
  • 1.22/test/test_container_sizes.py
  • 1.22/test/test_ocp_imagestream_s2i.py
  • 1.22/test/test_ocp_imagestreams.py
  • 1.22/test/test_ocp_local_example.py
  • 1.22/test/test_ocp_remote_example.py
  • 1.22/test/test_ocp_shared_helm_imagestreams.py
  • 1.22/test/test_ocp_shared_helm_template.py
  • 1.22/test/test_ocp_template_example_app.py
  • 1.24/.exclude-c8s
  • 1.24/.exclude-fedora
  • 1.24/Dockerfile.c9s
  • 1.24/Dockerfile.rhel8
  • 1.24/README.md
  • 1.24/root/opt/app-root/etc/generate_container_user
  • 1.24/test
  • 1.24/test/__init__.py
  • 1.24/test/conftest.py
  • 1.24/test/constants.py
  • 1.24/test/examples
  • 1.24/test/imagestreams
  • 1.24/test/perl-test-app/index.html
  • 1.24/test/perl-test-app/nginx-perl/Version.pm
  • 1.24/test/perl-test-app/nginx.conf
  • 1.24/test/run
  • 1.24/test/run-openshift-pytest
  • 1.24/test/run-openshift-remote-cluster
  • 1.24/test/run-pytest
  • 1.24/test/start-hook-test-app/index.html
  • 1.24/test/start-hook-test-app/index2.html
  • 1.24/test/start-hook-test-app/nginx-cfg/default.conf
  • 1.24/test/start-hook-test-app/nginx-start/init.sh
  • 1.24/test/test-app
  • 1.24/test/test-lib.sh
  • 1.24/test/test_container_application.py
  • 1.24/test/test_container_basics.py
  • 1.24/test/test_container_example_apps.py
  • 1.24/test/test_container_sizes.py
  • 1.24/test/test_ocp_imagestream_s2i.py
  • 1.24/test/test_ocp_imagestreams.py
  • 1.24/test/test_ocp_local_example.py
  • 1.24/test/test_ocp_remote_example.py
  • 1.24/test/test_ocp_shared_helm_imagestreams.py
  • 1.24/test/test_ocp_shared_helm_template.py
  • 1.24/test/test_ocp_template_example_app.py
  • 1.26/.exclude-rhel8
  • 1.26/Dockerfile.c10s
  • 1.26/Dockerfile.c9s
  • 1.26/Dockerfile.fedora
  • 1.26/Dockerfile.rhel10
  • 1.26/Dockerfile.rhel8
  • 1.26/root/opt/app-root/etc/generate_container_user
  • 1.26/test
  • 1.26/test/__init__.py
  • 1.26/test/conftest.py
  • 1.26/test/examples
  • 1.26/test/imagestreams
  • 1.26/test/perl-test-app/index.html
  • 1.26/test/perl-test-app/nginx-perl/Version.pm
  • 1.26/test/perl-test-app/nginx.conf
  • 1.26/test/run
  • 1.26/test/run-openshift-remote-cluster
  • 1.26/test/run-pytest
  • 1.26/test/start-hook-test-app/index.html
  • 1.26/test/start-hook-test-app/index2.html
  • 1.26/test/start-hook-test-app/nginx-cfg/default.conf
  • 1.26/test/start-hook-test-app/nginx-start/init.sh
  • 1.26/test/test-app
  • 1.26/test/test-lib-nginx.sh
  • 1.26/test/test-lib-openshift.sh
  • 1.26/test/test-lib-remote-openshift.sh
  • 1.26/test/test-lib.sh
  • 1.26/test/test-openshift.yaml
  • 1.26/test/test_container_application.py
  • 1.26/test/test_container_basics.py
  • 1.26/test/test_container_example_apps.py
  • 1.26/test/test_container_sizes.py
  • 1.26/test/test_ocp_imagestream_s2i.py
  • 1.26/test/test_ocp_imagestreams.py
  • 1.26/test/test_ocp_local_example.py
  • 1.26/test/test_ocp_remote_example.py
  • 1.26/test/test_ocp_shared_helm_imagestreams.py
  • 1.26/test/test_ocp_shared_helm_template.py
  • 1.26/test/test_ocp_template_example_app.py
  • Makefile
  • README.md
  • manifest-micro.yml
  • manifest.yml
  • specs/multispec.yml
  • src/Dockerfile
  • src/Dockerfile.fedora
  • src/Dockerfile.micro
  • src/README.md
  • src/root/opt/app-root/etc/generate_container_user
  • src/root/opt/app-root/etc/passwd.template
  • src/root/opt/app-root/nginxconf-rhscl.sed
  • src/root/opt/app-root/nginxconf.sed
  • src/root/usr/share/container-scripts/nginx/common.sh
  • src/s2i/bin/assemble
  • src/s2i/bin/run
  • src/s2i/bin/usage
  • test/perl-test-app/index.html
  • test/perl-test-app/nginx-perl/Version.pm
  • test/perl-test-app/nginx.conf
  • test/start-hook-test-app/index.html
  • test/start-hook-test-app/index2.html
  • test/start-hook-test-app/nginx-cfg/default.conf
  • test/start-hook-test-app/nginx-start/init.sh
  • test/test-app

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ndavidov/distgen

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown

Pull Request validation

Failed

🔴 Failed or pending statuses:

  • Testing Farm - RHEL9 - 1.20[error]
  • Testing Farm - RHEL9 - 1.26[error]
  • Testing Farm - CentOS Stream 9 - 1.26[error]
  • Testing Farm - RHEL10 - Unsubscribed host - 1.26[error]
  • Testing Farm - RHEL9 - 1.22[error]
  • Testing Farm - RHEL9 - 1.24[error]
  • Testing Farm - RHEL9 - Unsubscribed host - 1.26[error]
  • Testing Farm - RHEL8 - 1.22[error]
  • Testing Farm - RHEL8 - 1.24[error]
  • Testing Farm - RHEL9 - Unsubscribed host - 1.20[error]
  • Testing Farm - CentOS Stream 10 - 1.26[error]
  • Testing Farm - Fedora - 1.26[error]
  • Testing Farm - CentOS Stream 9 - 1.22-micro[error]
  • Testing Farm - RHEL8 - 1.20[error]
  • Testing Farm - RHEL10 - 1.26[error]
  • Testing Farm - RHEL9 - Unsubscribed host - 1.22[error]
  • Testing Farm - RHEL8 - 1.22-micro[error]
  • Testing Farm - CentOS Stream 9 - 1.24[error]
  • Testing Farm - RHEL9 - Unsubscribed host - 1.24[error]

🔴 Review - Missing review from a member (1 required)


Triggered by Workflow Run

@ndavidova

Copy link
Copy Markdown
Contributor Author

[test]

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown

Testing Farm results

namecomposearchstatusstarted (UTC)timelogs
Fedora - 1.26Fedora-latestx86_64✅ passed09.06.2026 10:35:116min 34stest pipeline
CentOS Stream 9 - 1.24CentOS-Stream-9x86_64❌ error01.06.2026 10:30:4916min 60stest pipeline
CentOS Stream 9 - 1.22-microCentOS-Stream-9x86_64✅ passed01.06.2026 10:30:4818min 41stest pipeline
RHEL8 - 1.22-microRHEL-8.10.0-Nightlyx86_64❌ error01.06.2026 10:30:4819min 38stest pipeline
RHEL8 - 1.22RHEL-8.10.0-Nightlyx86_64❌ error01.06.2026 10:30:4819min 44stest pipeline
RHEL8 - 1.24RHEL-8.10.0-Nightlyx86_64❌ error01.06.2026 10:30:4920min 49stest pipeline
RHEL10 - Unsubscribed host - 1.26RHEL-10.2-Nightlyx86_64✅ passed01.06.2026 10:30:4826min 39stest pipeline
CentOS Stream 10 - 1.26CentOS-Stream-10x86_64✅ passed01.06.2026 10:49:289min 51stest pipeline
RHEL9 - Unsubscribed host - 1.20RHEL-9.8.0-Nightlyx86_64✅ passed01.06.2026 10:30:4829min 29stest pipeline
RHEL9 - Unsubscribed host - 1.22RHEL-9.8.0-Nightlyx86_64✅ passed01.06.2026 10:30:5029min 26stest pipeline
RHEL9 - 1.20RHEL-9.8.0-Nightlyx86_64✅ passed01.06.2026 10:30:4830min 10stest pipeline
RHEL9 - 1.22RHEL-9.8.0-Nightlyx86_64✅ passed01.06.2026 10:30:4832min 23stest pipeline
RHEL9 - Unsubscribed host - 1.24RHEL-9.8.0-Nightlyx86_64✅ passed01.06.2026 10:30:4835min 17stest pipeline
RHEL10 - 1.26RHEL-10.2-Nightlyx86_64✅ passed01.06.2026 10:53:1615min 60stest pipeline
RHEL8 - 1.20RHEL-8.10.0-Nightlyx86_64✅ passed01.06.2026 10:59:1311min 48stest pipeline
RHEL9 - Unsubscribed host - 1.26RHEL-9.8.0-Nightlyx86_64✅ passed01.06.2026 10:51:2018min 6stest pipeline
RHEL9 - 1.26RHEL-9.8.0-Nightlyx86_64✅ passed01.06.2026 10:51:1520min 10stest pipeline
RHEL9 - 1.24RHEL-9.8.0-Nightlyx86_64✅ passed01.06.2026 10:51:1220min 46stest pipeline

@phracek

phracek commented Jun 8, 2026

Copy link
Copy Markdown
Member

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jun 8, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@ndavidova ndavidova marked this pull request as ready for review June 17, 2026 10:25
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.

2 participants