diff --git a/content/docs/blog/posts/2025-09-02-release-v0.17.md b/content/docs/blog/posts/2025-09-02-release-v0.17.md new file mode 100644 index 00000000..62436165 --- /dev/null +++ b/content/docs/blog/posts/2025-09-02-release-v0.17.md @@ -0,0 +1,82 @@ +--- +title: "Shipwright v0.17 Is Here!" +description: "Shipwright v0.17 release announcement with new features, fixes, and deprecations." +icon: "article" +date: "2025-09-02T15:20:35-04:00" +lastmod: "2025-09-02T15:20:35-04:00" +draft: false +author: "Adam Kaplan ([@adambkaplan](https://github.com/adambkaplan))" +--- + +We are excited to announce the release of Shipwright v0.17.0! This release brings a small set of +new features, important fixes, and miscellaneous updates that enhance the Shipwright experience. + +## Build Updates + +In this release, we introduced a significant change to the `status` API for `BuildRun` objects. +Status will now include an `executor` field indicating the name and _kind_ of object used to +execute the build. The `taskRunName` status field is officially deprecated, but will remain +populated. In the future, this API change will let us use other Kubernetes objects to manage the +build execution, such as Tekton [`PipelineRuns`](https://tekton.dev/docs/pipelines/pipelineruns/), +[Argo Workflows](https://argo-workflows.readthedocs.io/en/latest/), and even plain Kubernetes Pods. + +```yaml +kind: BuildRun +metadata: + name: buildah-build-x53sd +spec: + ... +status: + ... + executor: + kind: TaskRun + name: buildah-build-x53sd-taskrun-43z3f +``` + +We also fixed the volume API for `Build` and `BuildRun` objects, where empty strings were +incorrectly required for `VolumeSource` fields. This is now marked optional and can be left empty. + +The Build project updated is containers to use [UBI 10](https://www.redhat.com/en/blog/introducing-red-hat-universal-base-image). +This ensures we use the latest set of RHEL features in our builds, particularly for dependencies +like git. + +Finally, we have updated Build to compile with Go 1.24 and utilize the Tekton v1.3 APIs. With this +change, the minimum supported Kubernetes version is now v1.31.0. The minimum supported Tekton +version is now v0.65.0. + +Check out the full release notes on [GitHub](https://github.com/shipwright-io/build/releases/tag/v0.17.0) +for further details. + +## CLI Updates + +The CLI adds new commands to list and delete build strategies. To view the build strategies +available on the cluster, run the following command: + +```sh +shp clusterbuildstrategy list +``` + +We also added a `--wide` option when listing `BuildRuns`. This lets you see expanded information +when viewing `BuildRuns` in the terminal: + +```sh +$ shp buildrun list --wide +NAME STATUS AGE SOURCE OUTPUT-IMAGE BUILD-NAME ELAPSED-TIME SOURCE-ORIGIN +buildpack-nodejs-buildrun-bsnzp Succeeded 58m https://github.com/shipwright-io/sample-nodejs@main quay.io/satyam16/sample-nodejs:latest buildpack-nodejs-build 2m35s Git +buildpack-nodejs-buildrun-gb79r Succeeded 6d https://github.com/shipwright-io/sample-nodejs quay.io/satyam16/sample-nodejs:latest buildpack-nodejs-build 1m26s Git +``` + +Finally, we fixed two important bugs related to the streaming of local source code to Shipwright. +The command line should no longer panic if the referenced Build object does not have source +information set, nor should the build fail due to file permission issues on the uploaded source +code. + +See the CLI release notes on [GitHub](https://github.com/shipwright-io/cli/releases/tag/v0.17.0) + +## Operator Updates + +The operator was upgraded to deploy Shipwright Build v0.17.0 components. It also fixes a bug where +the operator reported itself "Ready" when the dependent Tekton Pipeline components were not ready. + +See the operator release notes on [GitHub](https://github.com/shipwright-io/operator/releases/tag/v0.17.0) +for details.