Skip to content

Improves skaffold manifest build artifacts detection with support for build strategy with CNB#538

Merged
marcinc merged 5 commits intomasterfrom
skaffold-build-artefacts-with-packs
Jun 2, 2021
Merged

Improves skaffold manifest build artifacts detection with support for build strategy with CNB#538
marcinc merged 5 commits intomasterfrom
skaffold-build-artefacts-with-packs

Conversation

@marcinc
Copy link
Member

@marcinc marcinc commented May 26, 2021

Resolves #537

This PR slightly modifies the way Skaffold build artifacts are detected, and as a result strategy used to build them.
By default a local docker build strategy is used, unless no Dockerfile has been detected and docker compose manifest (application stack representation) references docker images with a build context - this suggest that artefact build should still go ahead, however, as there is no Dockerfile present it should use CNB to do the build.

Copy link
Contributor

@ezodude ezodude left a comment

Choose a reason for hiding this comment

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

Looks good so far. Left 2 small comments.

@marcinc marcinc marked this pull request as ready for review June 2, 2021 12:21
@marcinc marcinc requested a review from ezodude June 2, 2021 12:21
Copy link
Contributor

@ezodude ezodude left a comment

Choose a reason for hiding this comment

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

👍

@marcinc marcinc merged commit c24c209 into master Jun 2, 2021
@marcinc marcinc deleted the skaffold-build-artefacts-with-packs branch June 2, 2021 13:44
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.

Apply correct strategy to Skaffold build artifacts

2 participants