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
, andClusterBuildStrategy
objects from your cluster in YAML format.For each object, change the
apiVersion
frombuild.dev/v1alpha1
toshipwright.io/v1alpha1
. Remove any identifiers and creation timestamps from the object’s metadata.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:
Delete the
build-operator
namespace:$ kubectl delete ns build-operator
(optional) Delete all
BuildRun
,Build
,BuildStrategy
, andClusterBuildStrategy
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
(optional) Delete the custom resource definitions for
BuildRun
,Build
,BuildStrategy
, andClusterBuildStrategy
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