Skip to content

Commit 76fea65

Browse files
authored
Merge pull request #2241 from fluxcd/backport-2240-to-v2-6
[v2-6] Complete Flux 2.6.0 release
2 parents ebe8bc2 + 001e7c7 commit 76fea65

File tree

4 files changed

+23
-9
lines changed

4 files changed

+23
-9
lines changed

.github/workflows/netlify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212
steps:
1313
- name: Deploy current production branch on Netlify
1414
run: |
15-
curl -X POST -d {} '${{ secrets.NETLIFY_BUILD_HOOK }}?trigger_branch=v2-5'
15+
curl -X POST -d {} '${{ secrets.NETLIFY_BUILD_HOOK }}?trigger_branch=v2-6'

content/en/_index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
all have great dashboards for you.
6767
---
6868

69-
{{% home/announce emoji="📢" url="/blog/2025/02/flux-v2.5.0/" %}}
70-
Announcing Flux 2.5 GA
69+
{{% home/announce emoji="📢" url="/blog/2025/05/flux-v2.6.0/" %}}
70+
Announcing Flux 2.6 GA
7171
{{% /home/announce %}}
7272

7373
<div class="hero-gitops">

content/en/flux/releases/procedure.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -336,18 +336,23 @@ The following instructions assume you're updating the website for the Flux relea
336336
git checkout -b v2-N
337337
git push origin HEAD:v2-N
338338
```
339-
1. Apply the labels `backport:v2-N`, `backport:v2-(N-1)` and `backport:v2-(N-2)` to the PR created above so that the
340-
`hugo.yaml` file gets updated in the older versions' websites. This step will lead to 3 PRs being automatically
341-
created for each of the supported release branches of the website. Do not merge these PRs, yet!
339+
1. Apply the labels `backport:v2-(N-1)` and `backport:v2-(N-2)` to the PR created above so that the
340+
`hugo.yaml` file gets updated in the older versions' websites. This step will lead to 2 PRs being
341+
automatically created for the two last supported release branches of the website. **Do not merge these
342+
PRs, yet!**
342343
1. In the PR for the `v2-(N-1)` branch, edit the `hugo.yaml` file and set `params.archived_version` to `true`.
343344
1. Go to https://app.netlify.com/sites/fluxcd/configuration/deploys#branches-and-deploy-contexts
344345
1. Click on "Configure"
345346
1. In "Production branch", change the value from `v2-(N-1)` to `v2-N`.
346347
1. In "Additional branches" add the "v2-(N-1)" branch.
347348
1. Click "Save".
348349
1. Now merge the 3 PRs created by the labels you applied in the previous step.
349-
1. Create another PR against the `main` branch to update the `trigger_branch` URL query parameter in the
350-
file `.github/workflows/netlify.yml` to point to "v2-N".
350+
1. Create another PR against the `main` branch to:
351+
1. Update the `trigger_branch` URL query parameter in the file `.github/workflows/netlify.yml` to point to "v2-N".
352+
1. Update the website announcement banner in the file `content/en/_index.html` to point to the blog post of
353+
the new release, and change the string right below from `Announcing Flux 2.N-1 GA` to
354+
`Announcing Flux 2.N GA`.
355+
1. Merge the PR and backport to the `v2-N` branch by applying the `backport:v2-N` label to the PR.
351356

352357
#### Distribution: patch releases
353358

hack/import-flux2-assets.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,18 @@ function gen_ctrl_docs {
146146
gen_crd_doc "https://raw.githubusercontent.com/fluxcd/${ctrl}/${ctrl_version}/docs/spec/${version}/${name}.md" "$COMPONENTS_DIR/${ctrl_out}/${name}.md"
147147
done
148148

149-
# special case: n-c's `Events` type is not a CRD but needs to be documented, too.
149+
# special cases for n-c
150150
if [ "${ctrl}" = "notification-controller" ] ; then
151+
# `Events` type is not a CRD but needs to be documented, too.
151152
gen_crd_doc "https://raw.githubusercontent.com/fluxcd/${ctrl}/${ctrl_version}/docs/spec/v1beta2/events.md" "$COMPONENTS_DIR/${ctrl_out}/events.md"
153+
154+
# Hack for fixing typo in the docs
155+
sed -i \
156+
's#((https://docs\.github\.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token))#(https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token)#g' \
157+
"$COMPONENTS_DIR/${ctrl_out}/providers.md"
158+
sed -i \
159+
's#((https://docs\.github\.com/en/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-as-a-github-app-installation))#(https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-as-a-github-app-installation)#g' \
160+
"$COMPONENTS_DIR/${ctrl_out}/providers.md"
152161
fi
153162
}
154163

0 commit comments

Comments
 (0)