Skip to content
Snippets Groups Projects
Unverified Commit 60e6e5e1 authored by Varac's avatar Varac
Browse files

Make it easier to upgrade flux

parent ceb67e4e
No related branches found
No related tags found
No related merge requests found
......@@ -3,10 +3,10 @@
Flux and k3s still need manual intervention (see #976 and #993), so we
only update them on major releases.
* [ ] Update Flux version
* [ ] Update [Flux version](https://github.com/fluxcd/flux2/releases)
current_flux_version=0.20.1
new_flux_version=0.24.0
current_flux_version=$(yq eval .flux.version ansible/group_vars/all/stackspin.yml)
new_flux_version=$(curl -s https://api.github.com/repos/fluxcd/flux2/releases/latest | jq -r .name | tr -d 'v')
sed -i "s/$current_flux_version/$new_flux_version/g" Dockerfile install/flux-version-check.sh docs/installation/install_stackspin.rst ansible/group_vars/all/stackspin.yml
* [ ] Update k3s in `ansible/group_vars/all/stackspin.yml`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment