Skip to content

fix: change buildpack, builder and stack ids #47

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

Merged
merged 2 commits into from
Dec 9, 2020

Conversation

lance
Copy link
Member

@lance lance commented Nov 23, 2020

Instead of using com.redhat.faas, these ids should be prefixed dev.boson.

Fixes: #42

Signed-off-by: Lance Ball [email protected]

@lance lance added artifacts/stacks Issues related to stack images artifacts/builders Issues related to the builder images artifacts/buildpacks Issues related to the runtime buildpacks labels Nov 23, 2020
@lance lance requested a review from a team November 23, 2020 22:53
@lance lance self-assigned this Nov 23, 2020
Copy link
Contributor

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

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

Looking good, just small intendation nits.

Springboot from the merged PR #46 should be included in this PR as well

Instead of using `com.redhat.faas`, these ids should be prefixed `dev.boson`.

Fixes: #42

Signed-off-by: Lance Ball <[email protected]>
@lance lance force-pushed the lance/42-change-stack-builder-buildpack-ids branch from ef1478c to dcfcd61 Compare November 24, 2020 13:43
@lance
Copy link
Member Author

lance commented Nov 24, 2020

@zroubalik thanks for the review. I've addressed your points.

@lance lance requested a review from zroubalik November 25, 2020 17:17
Copy link
Contributor

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

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

LGTM, a coment on Pull Policy being added

$(PACK_CMD) create-builder $(QUARKUS_JVM_BUILDER_REPO):$(VERSION_TAG) --config $$TMP_BLDRS/quarkus-jvm.toml && \
$(PACK_CMD) create-builder $(QUARKUS_NATIVE_BUILDER_REPO):$(VERSION_TAG) --config $$TMP_BLDRS/quarkus-native.toml && \
$(PACK_CMD) create-builder $(SPRINGBOOT_BUILDER_REPO):$(VERSION_TAG) --config $$TMP_BLDRS/springboot.toml -v && \
$(PACK_CMD) create-builder --pull-policy=never $(NODEJS_BUILDER_REPO):$(VERSION_TAG) --config $$TMP_BLDRS/node.toml && \
Copy link
Contributor

@zroubalik zroubalik Nov 26, 2020

Choose a reason for hiding this comment

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

I am curious why--pull-policy=never is being added?

Copy link
Member Author

Choose a reason for hiding this comment

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

I did this originally because, when building with new stack IDs, pack was pulling the images from quay.io that had the old IDs. I think, in general, since all of the images are being versioned published together, it's probably best to never pull images during a build, but only use the images that have just been built.

@lance lance merged commit 5057386 into master Dec 9, 2020
@lance lance deleted the lance/42-change-stack-builder-buildpack-ids branch December 9, 2020 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
artifacts/builders Issues related to the builder images artifacts/buildpacks Issues related to the runtime buildpacks artifacts/stacks Issues related to stack images
Projects
None yet
Development

Successfully merging this pull request may close these issues.

change stack id prefix
2 participants