This doc tracks how to maintain the source code of HTNN.
To release a new version, please follow the steps below:
- Create a new release branch
release/v${version}
from the main branch. - Create tag
api/v${version}
, then update thego.mod
which depend onmosn.io/htnn/api
. - Do the same things with
types
,controller
andplugins
. - Remove the
go.work
file. (TBD)
To upgrade Istio, please follow the steps below:
- Discuss the impact of the upgrade. For example, is there any break change, do we need to upgrade K8S, etc.
- Update the base image used in the integration / e2e tests.
- Update the ISTIO_VERSION we define in the Makefile and the submodule under
./external
. - Update the versions of istio, envoy and go-control-plane package in the
go.mod
andgo.sum
. - Update the link
/envoy/v1.xx.y/configuration/
in the doc to the new Envoy version.