Build v0.4.0
Shipwright Build v0.4.0 can be found on GitHub at shipwright-io/build v0.4.0.
This release includes several breaking changes and is incompatible with previous versions of Shipwright Build.
Upgrade Instructions
-
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 -
Download existing
Build,BuildStrategy, andClusterBuildStrategyobjects from your cluster in YAML format. -
For each object, change the
apiVersionfrombuild.dev/v1alpha1toshipwright.io/v1alpha1. Remove any identifiers and creation timestamps from the object's metadata. -
Run
kubectl apply -fagainst 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:
-
Delete the
build-operatornamespace:$ kubectl delete ns build-operator -
(optional) Delete all
BuildRun,Build,BuildStrategy, andClusterBuildStrategyobjects 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 -
(optional) Delete the custom resource definitions for
BuildRun,Build,BuildStrategy, andClusterBuildStrategyin 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