I'm pleased to announce that Shipwright Build v0.4.0 is now available! A
special thank you is deserved to all the contributors to this release - it
is one of our biggest releases to date, laying the foundation for a lot of
important features in the future.
Shipwright Build v0.4.0 can be found on GitHub at
https://github.com/shipwright-io/build/releases/tag/v0.4.0.
This release includes several breaking changes and is incompatible with
previous versions of Shipwright Build.
*Upgrade Instructions*
1. Install v0.4.0 using the release YAML manifest:
$ kubectl apply -f
https://github.com/shipwright-io/build/releases/download/v0.4.0/release.yaml
2. Download existing `Build`, `BuildStrategy`, and `ClusterBuildStrategy`
objects from your cluster in YAML format.
3. For each object, change the `apiVersion` from `build.dev/v1alpha1` to `
shipwright.io/v1alpha1`. Remove any identifiers and creation timestamps
from the object's metadata.
4. Run `kubectl apply -f` against each manifest to re-create the relevant
object.
*Uninstalling v0.3.0*
Once the desired Shipwright Build objects have been migrated to the new api
group, you can remove v0.3.0 from your cluster:
1. Delete the `build-operator` namespace:
$ kubectl delete ns build-operator
2. (optional) Delete all `BuildRun`, `Build`, `BuildStrategy`, and
`ClusterBuildStrategy` objects in the build.dev api group on the cluster:
$ kubectl delete buildrun.build.dev --all --all-namespaces
$ kubectl delete build.build.dev --all --all-namespaces
$ kubectl delete buildstrategy.build.dev --all --all-namespaces
$ kubectl delete clusterbuildstrategy.build.dev --all
3. (optional) Delete the custom resource definitions for `BuildRun`,
`Build`, `BuildStrategy`, and `ClusterBuildStrategy` in the build.dev api
group:
$ kubectl delete crd buildruns.build.dev
$ kubectl delete crd builds.build.dev
$ kubectl delete crd buildstrategies.build.dev
$ kubectl delete crd clusterbuildstrategies.build.dev
Please reach out to the contributors on the mailing lists or Kubernetes
Slack (channel #shipwright) if you have any questions or issues with the
new release.
--
Adam Kaplan
He/Him
Principal Software Engineer
Red Hat <
https://www.redhat.com>
100 E. Davie Street
adam.kaplan(a)redhat.com T: 1-919-754-4843
<
https://www.redhat.com>