Skip to content

feat: install gh and copilot-review in Kubeflow image#195

Open
geier wants to merge 4 commits intomainfrom
issue-194
Open

feat: install gh and copilot-review in Kubeflow image#195
geier wants to merge 4 commits intomainfrom
issue-194

Conversation

@geier
Copy link
Contributor

@geier geier commented Mar 19, 2026

Summary

  • install GitHub CLI (gh) in the Kubeflow runtime image
  • preinstall gh-copilot-review for the jovyan runtime user and pin it to a commit for reproducible builds
  • document the preinstalled tooling in Kubeflow image docs and add an Unreleased changelog entry

Validation

  • docker build -f docker/kubeflow/Dockerfile -t opencode-web-kubeflow:issue-194 .
  • docker run --rm --user jovyan opencode-web-kubeflow:issue-194 gh --version
  • docker run --rm --user jovyan --entrypoint gh opencode-web-kubeflow:issue-194 extension list
  • docker run --rm --user jovyan --entrypoint sh opencode-web-kubeflow:issue-194 -lc "gh extension list"

Closes #194

@geier geier requested a review from Copilot March 19, 2026 10:41
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Kubeflow notebook runtime image to include GitHub’s CLI tooling (gh) plus the gh-copilot-review extension, and documents the new preinstalled tools for users of the image.

Changes:

  • Install github-cli (gh) in the Kubeflow runtime image.
  • Preinstall gh-copilot-review for the jovyan user and pin it to a specific commit for reproducibility.
  • Document the preinstalled tooling and add an Unreleased changelog entry.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
docker/kubeflow/Dockerfile Installs gh and bakes in a pinned gh-copilot-review extension in the jovyan home template.
docker/kubeflow/README.md Documents that gh and gh-copilot-review are preinstalled and how they’re pinned.
CHANGELOG.md Adds an Unreleased “Added” entry for the Kubeflow image tooling.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +83 to +84
RUN printf 'git_protocol: https\nprompt: disabled\nversion: "1"\n' > /home/jovyan/.config/gh/config.yml && \
printf 'github.com:\n user: jovyan\n oauth_token: ""\n git_protocol: https\n' > /home/jovyan/.config/gh/hosts.yml
# The extension has no tags/releases, so pin to an audited commit for reproducibility.
ARG GH_COPILOT_REVIEW_REF=1dfe6cd4abf66f8d45cbc0b3de26cf202fd27910
RUN git clone https://github.com/ChrisCarini/gh-copilot-review /home/jovyan/.local/share/gh/extensions/gh-copilot-review && \
git -C /home/jovyan/.local/share/gh/extensions/gh-copilot-review checkout "${GH_COPILOT_REVIEW_REF}"
@geier geier requested a review from Copilot March 19, 2026 10:45
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Kubeflow notebook runtime image to include GitHub CLI tooling needed by the repo’s agent workflow, and documents the addition for users.

Changes:

  • Install GitHub CLI (gh) in the Kubeflow runtime image.
  • Preinstall the gh-copilot-review extension for the jovyan user, pinned to a specific commit for reproducible builds.
  • Document the preinstalled tooling in Kubeflow image docs and add an Unreleased changelog entry.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
docker/kubeflow/Dockerfile Adds github-cli, provisions gh config dirs, and installs the gh-copilot-review extension pinned to a commit.
docker/kubeflow/README.md Documents that gh and gh-copilot-review are available in the Kubeflow image.
CHANGELOG.md Adds an Unreleased “Added” entry for the Kubeflow image tooling.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

/tmp_home \
/run

RUN printf 'git_protocol: https\nprompt: disabled\nversion: "1"\n' > /home/jovyan/.config/gh/config.yml && \
@geier geier requested a review from Copilot March 19, 2026 10:49
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Kubeflow notebook runtime image to include GitHub’s CLI tooling required by the repo’s agent workflow, and documents the new preinstalled tools for users.

Changes:

  • Install GitHub CLI (gh) in the Kubeflow runtime image.
  • Preinstall the gh-copilot-review extension for the jovyan user, pinned to a specific commit for reproducibility.
  • Document the tooling in the Kubeflow image README and add an Unreleased changelog entry.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
docker/kubeflow/Dockerfile Adds github-cli and installs a pinned gh-copilot-review extension into the jovyan home template.
docker/kubeflow/README.md Documents gh and gh-copilot-review as preinstalled developer tooling.
CHANGELOG.md Adds an Unreleased entry for the new Kubeflow image tooling.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +83 to +85
RUN printf 'git_protocol: https\nversion: "1"\n' > /home/jovyan/.config/gh/config.yml && \
printf 'github.com:\n git_protocol: https\n' > /home/jovyan/.config/gh/hosts.yml

@geier geier requested a review from Copilot March 19, 2026 10:55
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Kubeflow notebook runtime image to include GitHub’s CLI tooling needed by the repo’s agent workflow, and documents the new preinstalled tools for users of the image.

Changes:

  • Install GitHub CLI (gh) in the Kubeflow runtime image.
  • Preinstall gh-copilot-review for the runtime user (jovyan) pinned to a specific commit via GH_COPILOT_REVIEW_REF.
  • Document the preinstalled tools in the Kubeflow image README and add an Unreleased changelog entry.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
docker/kubeflow/Dockerfile Adds github-cli, creates gh config directories, and installs the pinned gh-copilot-review extension into jovyan’s home.
docker/kubeflow/README.md Documents that gh and gh-copilot-review are preinstalled and notes the pinning mechanism.
CHANGELOG.md Adds an Unreleased “Added” entry describing the Kubeflow image tooling addition.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Install GitHub CLI and Copilot review extension in Kubeflow image

2 participants