Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Pull function-catalog to have all docs in the same domain #4289

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

Open
lapentad wants to merge 5 commits into kptdev:main
base: main
Choose a base branch
Loading
from Nordix:custom-build-script-netlify

Conversation

@lapentad
Copy link

@lapentad lapentad commented Oct 15, 2025
edited
Loading

The makefile will clone the function catalog repo and copy over only function runner folder doc and it's javascript

 $ make preview-build
 $ make serve
image

Copy link

netlify bot commented Oct 15, 2025
edited
Loading

Deploy Preview for kptdocs ready!

Name Link
🔨 Latest commit fa1266c
🔍 Latest deploy log https://app.netlify.com/projects/kptdocs/deploys/68f9f31aebabe50008938592
😎 Deploy Preview https://deploy-preview-4289--kptdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Author


.PHONY: serve production-build preview-build fetch-external-docs

fetch-external-docs:
Copy link
Contributor

@CsatariGergely CsatariGergely Oct 16, 2025

Choose a reason for hiding this comment

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

lapentad reacted with thumbs up emoji
Copy link
Author

Choose a reason for hiding this comment

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

@CsatariGergely I added them now.
Thank you because I did not notice they were not getting rendered

Copy link
Contributor

Looks good, thanks. Is there a way to trigger the build of kpt.dev in case there is a change in krm-functions-catalog?

Copy link
Author

Looks good, thanks. Is there a way to trigger the build of kpt.dev in case there is a change in krm-functions-catalog?

Right, I haven't thought of this

I am reading from docs we should use this build hook https://docs.netlify.com/build/configure-builds/build-hooks/
So we have a github action in the catalog to do a simple curl to this hook so it will trigger the kpt.dev website build, if there are changes to the catalog-docs.

I can generate a PR for the catalog repo, but an OWNER might need to create a secret with the netlify build hook url from kpt.dev site (kpt.dev site on Netlify: Site settings -> Build & deploy -> Build hooks)

Copy link
Author

Looks good, thanks. Is there a way to trigger the build of kpt.dev in case there is a change in krm-functions-catalog?

@CsatariGergely kptdev/krm-functions-catalog#1187 added this, but I am assuming an OWNER can create that variable

Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
@lapentad lapentad force-pushed the custom-build-script-netlify branch from 71447f6 to 84a8f49 Compare October 23, 2025 09:00
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@CsatariGergely CsatariGergely CsatariGergely left review comments

@liamfallon liamfallon Awaiting requested review from liamfallon liamfallon is a code owner

@kispaljr kispaljr Awaiting requested review from kispaljr kispaljr is a code owner

@efiacor efiacor Awaiting requested review from efiacor

@ciaranjohnston ciaranjohnston Awaiting requested review from ciaranjohnston

At least 2 approving reviews are required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /