- Checkout your fork and make sure it's up-to-date with the
upstream
$ git remote -v origin [email protected]:<your account>/starboard.git (fetch) origin [email protected]:<your account>/starboard.git (push) upstream [email protected]:aquasecurity/starboard.git (fetch) upstream [email protected]:aquasecurity/starboard.git (push)
git pull -r git fetch upstream git merge upstream/main git push
- Prepare release by creating the PR with the following changes
- In
deploy/helm/Chart.yaml
- Update the
version
property - Update the
appVersion
property
- Update the
- Update container image tag in
deploy/static/05-starboard-operator.deployment.yaml
- Update the
app.kubernetes.io/version
labels in the following files:deploy/crd/ciskubebenchreports.crd.yaml
deploy/crd/clustercompliancedetailreports.crd.yaml
deploy/crd/clustercompliancereports.crd.yaml
deploy/crd/clusterconfigauditreports.crd.yaml
deploy/crd/clustervulnerabilityreports.crd.yaml
deploy/crd/configauditreports.crd.yaml
deploy/crd/kubehunterreports.crd.yaml
deploy/crd/vulnerabilityreports.crd.yaml
deploy/static/05-starboard-operator.deployment.yaml
deploy/static/04-starboard-operator.policies.yaml
deploy/static/03-starboard-operator.config.yaml
deploy/static/02-starboard-operator.rbac.yaml
deploy/static/01-starboard-operator.ns.yaml
deploy/specs/nsa-1.0.yaml
- Update
deploy/static/starboard.yaml
by running the following script:./hack/update-starboard.yaml.sh
- In
mkdocs.yml
- Update the
extra.var.prev_git_tag
property - Update the
extra.var.chart_version
property
- Update the
- In
- Review and merge the PR (make sure all tests are passing)
- Update your fork again
git pull -r git fetch upstream git merge upstream/main git push
- Create an annotated git tag and push it to the
upstream
. This will trigger the.github/workflows/release.yaml
workflowgit tag -v0.13.1 -m 'Release v0.13.1' git push upstream v0.13.1
- Verify that the
release
workflow has built and published the following artifacts- Starboard CLI binary executables for various platforms on https://github.com/aquasecurity/starboard/releases/tag/v0.13.1
- Starboard container images published to DockerHub
docker.io/aquasec/starboard:0.13.1
docker.io/aquasec/starboard-operator:0.13.1
docker.io/aquasec/starboard-scanner-aqua:0.13.1
- Starboard container images published to Amazon ECR Public Gallery
public.ecr.aws/aquasecurity/starboard:0.13.1
public.ecr.aws/aquasecurity/starboard-operator:0.13.1
public.ecr.aws/aquasecurity/starboard-scanner-aqua:0.13.1
- Publish the Helm chart by manually triggering the
.github/workflows/publish-helm-chart.yaml
workflow - Publish docs on https://aquasecurity.github.io/starboard/ by manually triggering the
.github/workflows/publish-docs.yaml
workflow - Submit Starboard Operator to OperatorHub and ArtifactHUB by opening the PR to the https://github.com/k8s-operatorhub/community-operators repository.