Releases: buildpacks-community/kpack
v0.0.2
Install
kubectl apply -f release.yaml
Note: This release includes breaking changes
image.spec.image
was renamed toimage.spec.tag
build.spec.image
was renamed tobuild.spec.tag
- Git and Docker secrets are now annotated with
build.pivotal.io/git
andbuild.pivotal.io/docker
Prominent Improvements
-
Knative Build is no longer a dependency and is not needed to install and run Build Service.
-
Source for an image and build can be fetched from a remote zip or jar by url. An image source with a remote source url can be configured like this:
apiVersion: build.pivotal.io/v1alpha1 kind: Image metadata: name: sample-image spec: tag: gcr.io/project-name/app serviceAccount: service-account builderRef: sample-builder cacheSize: "1.5Gi" # Optional, if not set then the caching feature is disabled failedBuildHistoryLimit: 5 # Optional, if not present defaults to 10 successBuildHistoryLimit: 5 # Optional, if not present defaults to 10 source: blob: url: https://storage.googleapis.com/build-service/sample-apps/spring-petclinic-2.1.0.BUILD-SNAPSHOT.jar
Note: only supports publicly accessible blobs or blob urls with access token
-
An image with a Git source will automatically poll for changes if the configured revision is a branch or a tag.
-
The builder can be set to poll for changes by using the
updatePolicy
set topolling
apiVersion: build.pivotal.io/v1alpha1 kind: Builder metadata: name: sample-builder spec: image: cloudfoundry/cnb:bionic updatePolicy: polling
Note: To disable polling the
updatePolicy
can be set toexternal
. With an external updatePolicy the builder will only be made aware of an update to a builder when the builder resource is updated externally.
Changelog:
- [Feature] Pull archived source from remote location #30
- Allow users to set memory/cpu reservation and limits #12
- Update examples/documentation to show all functionality. #42
- Remove dependency on KNative Build #26
- Change the field
image
in the image type totag
#59 - Resolve the built image for me #9
- Propagate labels from parent to child resources #8
- Git init image is not publicly accessible #66
- rename either the "Image" type or its "image" spec property #40
v0.0.1
This is the first experimental alpha release of the build service system.
Install
kubectl apply -f release.yaml