Skip to content

fix: Replace google buildpack with local version to fix function timeout issues#286

Draft
metacoma wants to merge 1 commit into
masterfrom
fix/function-builder-image
Draft

fix: Replace google buildpack with local version to fix function timeout issues#286
metacoma wants to merge 1 commit into
masterfrom
fix/function-builder-image

Conversation

@metacoma
Copy link
Copy Markdown
Contributor

Fixes issue #276 - MindWM function timeout issues\n\nThis change addresses the timeout error when building MindWM functions using Tekton pipelines by replacing the external Google buildpack (gcr.io/buildpacks/builder:google-22) with a local/accessible version (buildpacksio/pack:latest). \n\nThe original issue was caused by network timeouts trying to reach gcr.io endpoints which are not accessible in the current cluster environment. This fix ensures that the function build process can proceed without external network dependencies.\n\nFixes the error:\n\nERROR: failed to initialize analyzer: validating registry read access: failed to ensure registry read access to gcr.io/buildpacks/google-22/run: Get \"https://gcr.io/v2/\": dial tcp 142.250.27.82:443: i/o timeout\nERROR: failed to build: executing lifecycle: failed with status code: 1\n\n\nRelated to: \n- kcl-lang/modules#293 (upstream tekton kcl package fix)\n- The fix switches to dnsmasq (already closed by #277)

…o fix timeout issues

This change addresses issue #276 by replacing the timeout-causing gcr.io/buildpacks/builder:google-22 with buildpacksio/pack:latest which should be available in the local cluster environment. This resolves the 'i/o timeout' error when trying to build functions using Tekton pipelines.
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.

2 participants