Skip to content

Commit 6e12a0d

Browse files
authored
Merge pull request #34147 from def-/pr-revert-docs-bump
docs: Revert bump to self-managed RC
2 parents 41d5a6a + f38d599 commit 6e12a0d

File tree

2 files changed

+30
-28
lines changed

2 files changed

+30
-28
lines changed
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
terraform_gcp_version: v0.6.1
2-
terraform_azure_version: v0.6.1
3-
terraform_aws_version: v0.6.1
4-
terraform_helm_version: v0.1.32
5-
operator_helm_chart_version: v26.0.0-rc.4
6-
orchestratord_version: v26.0.0-rc.4
7-
environmentd_version: v26.0.0-rc.4
1+
terraform_gcp_version: v0.5.10
2+
terraform_azure_version: v0.5.10
3+
terraform_aws_version: v0.5.10
4+
terraform_helm_version: v0.1.31
5+
operator_helm_chart_version: v25.2.15
6+
orchestratord_version: v0.164.1
7+
environmentd_version: v0.147.20

misc/helm-charts/publish.sh

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -190,28 +190,30 @@ else
190190
done
191191
fi
192192

193-
echo "--- Bumping versions in Self-Managed Materialize documentation"
194-
ORCHESTRATORD_VERSION=$(yq -r '.operator.image.tag' misc/helm-charts/operator/values.yaml)
195-
DOCS_BRANCH=self-managed-docs/$(echo "$CI_HELM_CHART_VERSION" | cut -d. -f1,2)
196-
git fetch origin "$DOCS_BRANCH"
197-
git checkout "origin/$DOCS_BRANCH"
198-
git submodule update --init --recursive
199-
git config user.email "noreply@materialize.com"
200-
git config user.name "Buildkite"
201-
VERSIONS_YAML_PATH=doc/user/data/self_managed/latest_versions.yml
202-
yq -i ".operator_helm_chart_version = \"$CI_HELM_CHART_VERSION\"" $VERSIONS_YAML_PATH
203-
yq -i ".environmentd_version = \"$CI_MZ_VERSION\"" $VERSIONS_YAML_PATH
204-
yq -i ".orchestratord_version = \"$ORCHESTRATORD_VERSION\"" $VERSIONS_YAML_PATH
205-
if ! is_truthy "$CI_NO_TERRAFORM_BUMP"; then
206-
yq -i ".terraform_helm_version= \"$TERRAFORM_HELM_VERSION\"" $VERSIONS_YAML_PATH
207-
yq -i ".terraform_gcp_version= \"${TERRAFORM_VERSION[terraform-google-materialize]}\"" $VERSIONS_YAML_PATH
208-
yq -i ".terraform_azure_version= \"${TERRAFORM_VERSION[terraform-azurerm-materialize]}\"" $VERSIONS_YAML_PATH
209-
yq -i ".terraform_aws_version= \"${TERRAFORM_VERSION[terraform-aws-materialize]}\"" $VERSIONS_YAML_PATH
193+
if [[ "$BUILDKITE_TAG" != *"-rc."* ]]; then
194+
echo "--- Bumping versions in Self-Managed Materialize documentation"
195+
ORCHESTRATORD_VERSION=$(yq -r '.operator.image.tag' misc/helm-charts/operator/values.yaml)
196+
DOCS_BRANCH=self-managed-docs/$(echo "$CI_HELM_CHART_VERSION" | cut -d. -f1,2)
197+
git fetch origin "$DOCS_BRANCH"
198+
git checkout "origin/$DOCS_BRANCH"
199+
git submodule update --init --recursive
200+
git config user.email "noreply@materialize.com"
201+
git config user.name "Buildkite"
202+
VERSIONS_YAML_PATH=doc/user/data/self_managed/latest_versions.yml
203+
yq -i ".operator_helm_chart_version = \"$CI_HELM_CHART_VERSION\"" $VERSIONS_YAML_PATH
204+
yq -i ".environmentd_version = \"$CI_MZ_VERSION\"" $VERSIONS_YAML_PATH
205+
yq -i ".orchestratord_version = \"$ORCHESTRATORD_VERSION\"" $VERSIONS_YAML_PATH
206+
if ! is_truthy "$CI_NO_TERRAFORM_BUMP"; then
207+
yq -i ".terraform_helm_version= \"$TERRAFORM_HELM_VERSION\"" $VERSIONS_YAML_PATH
208+
yq -i ".terraform_gcp_version= \"${TERRAFORM_VERSION[terraform-google-materialize]}\"" $VERSIONS_YAML_PATH
209+
yq -i ".terraform_azure_version= \"${TERRAFORM_VERSION[terraform-azurerm-materialize]}\"" $VERSIONS_YAML_PATH
210+
yq -i ".terraform_aws_version= \"${TERRAFORM_VERSION[terraform-aws-materialize]}\"" $VERSIONS_YAML_PATH
211+
fi
212+
git add $VERSIONS_YAML_PATH
213+
git commit -m "docs: Bump to helm-chart $CI_HELM_CHART_VERSION, environmentd $CI_MZ_VERSION, orchestratord $ORCHESTRATORD_VERSION"
214+
git --no-pager diff HEAD~
215+
run_if_not_dry git push origin "HEAD:$DOCS_BRANCH"
210216
fi
211-
git add $VERSIONS_YAML_PATH
212-
git commit -m "docs: Bump to helm-chart $CI_HELM_CHART_VERSION, environmentd $CI_MZ_VERSION, orchestratord $ORCHESTRATORD_VERSION"
213-
git --no-pager diff HEAD~
214-
run_if_not_dry git push origin "HEAD:$DOCS_BRANCH"
215217

216218
if ! is_truthy "$CI_NO_TERRAFORM_BUMP"; then
217219
echo "--- Bumping versions in Terraform Nightly tests"

0 commit comments

Comments
 (0)