Skip to content

Releases: buildpacks-community/kpack

v0.0.2

21 Aug 18:45
d53166d
Compare
Choose a tag to compare
v0.0.2 Pre-release
Pre-release

Install

kubectl apply -f release.yaml

Note: This release includes breaking changes

  • image.spec.image was renamed to image.spec.tag
  • build.spec.image was renamed to build.spec.tag
  • Git and Docker secrets are now annotated with build.pivotal.io/git and build.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 to polling

    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 to external. 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 to tag #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

27 Jun 22:00
Compare
Choose a tag to compare
v0.0.1 Pre-release
Pre-release

This is the first experimental alpha release of the build service system.

Install

kubectl apply -f release.yaml