From 6b40d638d3914895ac2246b6f07d933b917fcfdb Mon Sep 17 00:00:00 2001 From: Jed Cunningham Date: Tue, 24 Jun 2025 07:29:54 -0600 Subject: [PATCH] Add chart index.yaml step back to chart release guide This was removed in #50464, but we still need to do this step. --- dev/README_RELEASE_HELM_CHART.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/dev/README_RELEASE_HELM_CHART.md b/dev/README_RELEASE_HELM_CHART.md index ff58a5957b428..4cdb5a0d69fdc 100644 --- a/dev/README_RELEASE_HELM_CHART.md +++ b/dev/README_RELEASE_HELM_CHART.md @@ -42,6 +42,8 @@ - [Publish release to SVN](#publish-release-to-svn) - [Publish release tag](#publish-release-tag) - [Publish final documentation](#publish-final-documentation) + - [Update `index.yaml` in airflow-site](#update-indexyaml-in-airflow-site) + - [Wait for ArtifactHUB to discover new release](#wait-for-artifacthub-to-discover-new-release) - [Notify developers of release](#notify-developers-of-release) - [Send announcements about security issues fixed in the release](#send-announcements-about-security-issues-fixed-in-the-release) - [Add release data to Apache Committee Report Helper](#add-release-data-to-apache-committee-report-helper) @@ -757,6 +759,27 @@ workflow in `airflow-site` repository. Make sure to use `main` branch. After that workflow completes, the new version should be available in the drop-down list and stable links should be updated and Fastly cache should be invalidated. +## Update `index.yaml` in airflow-site + +Regenerate `index.yaml` so it can be added to the Airflow website to allow: `helm repo add apache-airflow https://airflow.apache.org`. + +```shell +git clone https://github.com/apache/airflow-site.git airflow-site +cd airflow-site +curl https://dist.apache.org/repos/dist/dev/airflow/helm-chart/${VERSION}${VERSION_SUFFIX}/index.yaml -o index.yaml +cp ${AIRFLOW_SVN_RELEASE_HELM}/${VERSION}/airflow-${VERSION}.tgz . +helm repo index --merge ./index.yaml . --url "https://downloads.apache.org/airflow/helm-chart/${VERSION}" +rm airflow-${VERSION}.tgz +mv index.yaml landing-pages/site/static/index.yaml +git add p . # leave the license at the top +git commit -m "Add Apache Airflow Helm Chart Release ${VERSION} to chart index file" +git push +# and finally open a PR +``` + +## Wait for ArtifactHUB to discover new release + +As we link out to ArtifactHUB in all of our release communications, we now wait until ArtifactHUB has discovered the new release. This can take 30 minutes or so to happen after the index change PR from above is merged. ## Notify developers of release