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

[Bug]: Issue building the official provider family images locally #708

Open
1 task done
burdzwastaken opened this issue Jan 30, 2025 · 0 comments
Open
1 task done
Labels
bug Something isn't working needs:triage

Comments

@burdzwastaken
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Affected Resource(s)

I am attempting to build the local provider families locally and am running into an issue when following these documents https://github.com/crossplane-contrib/provider-upjet-gcp/blob/main/docs/family/Development.md

I am sure I am missing something simple with regards to the missing ProviderConfig but looking through the repository, CI workflows, issues I cannot find a reference to where I would need to configure that.

Resource MRs required to reproduce the bug

No response

Steps to Reproduce

[main] burdz@~/code/provider-upjet-gcp: make load-pkg PROVIDERS="cloudplatform container" REPO="index.docker.io/burdzwastaken" PLATFORMS="linux_amd64" BATCH_PLATFORMS="linux_amd64"
03:07:58 [ .. ] Kustomizing CRDs...
03:08:18 [ OK ] Kustomizing CRDs.
03:08:18 [ .. ] go build linux_amd64
03:08:21 [ OK ] go build linux_amd64
03:08:21 [ .. ] Family base image to build: build-b1b59483/provider-gcp-amd64
03:08:21 [ .. ] Building image build-b1b59483/provider-gcp-amd64
[+] Building 5.4s (6/6) FINISHED                                                                                                                                                                                                                                  docker:default
 => [internal] load build definition from Dockerfile                                                                                                                                                                                                                        1.9s
 => => transferring dockerfile: 349B                                                                                                                                                                                                                                        0.0s
 => [internal] load metadata for docker.io/library/alpine:3.21.2                                                                                                                                                                                                            1.9s
 => [internal] load .dockerignore                                                                                                                                                                                                                                           1.1s
 => => transferring context: 2B                                                                                                                                                                                                                                             0.0s
 => [1/2] FROM docker.io/library/alpine:3.21.2@sha256:56fa17d2a7e7f168a043a2712e63aed1f8543aeafdcee47c58dcffe38ed51099                                                                                                                                                      0.0s
 => CACHED [2/2] RUN apk --no-cache add ca-certificates bash                                                                                                                                                                                                                0.0s
 => exporting to image                                                                                                                                                                                                                                                      0.2s
 => => exporting layers                                                                                                                                                                                                                                                     0.0s
 => => writing image sha256:2b0810dde955a1d9dea7596498cc2d926b95020fb592d4423b10f847e1bc1abe                                                                                                                                                                                0.2s
 => => naming to docker.io/build-b1b59483/provider-gcp-amd64                                                                                                                                                                                                                0.0s
03:08:28 [ OK ] docker build build-b1b59483/provider-gcp-amd64
03:08:28 [ .. ] Loading the family providers into the Docker daemon: cloudplatform container
Publishing of smaller provider package has failed for service "config": failed to build smaller provider package: config: an auth extension was supplied but but the ProviderConfig object could not be found

xpkg for service "container" saved to /home/burdz/code/provider-upjet-gcp/_output/xpkg/linux_amd64/provider-gcp-container-v1.12.0-rc.0.34.geebe86e8.xpkg
xpkg for service "cloudplatform" saved to /home/burdz/code/provider-upjet-gcp/_output/xpkg/linux_amd64/provider-gcp-cloudplatform-v1.12.0-rc.0.34.geebe86e8.xpkg
up: error: xpkg.batchCmd.Run(): processing of at least one smaller provider has failed: 
           failed to process smaller provider package for "config": failed to build smaller provider package: config: an auth extension was supplied but but the ProviderConfig object could not be found
03:08:36 [FAIL]
make: *** [Makefile:351: load-pkg] Error 1

What happened?

Attempting to build the local provides

Relevant Error Output Snippet

up: error: xpkg.batchCmd.Run(): processing of at least one smaller provider has failed: 
           failed to process smaller provider package for "config": failed to build smaller provider package: config: an auth extension was supplied but but the ProviderConfig object could not be found

Crossplane Version

v1.18.2

Provider Version

v1.11.2

Kubernetes Version

No response

Kubernetes Distribution

No response

Additional Info

No response

@burdzwastaken burdzwastaken added bug Something isn't working needs:triage labels Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs:triage
Projects
None yet
Development

No branches or pull requests

1 participant