Commit f23ea86
authored
docs(v0): pin cozystack download URLs in v0 docs (#548)
A user on the cozystack_ru Telegram channel reported that `kubectl apply
-f
https://github.com/cozystack/cozystack/releases/latest/download/cozystack-installer.yaml`
from the v0 install docs returns 404. That asset was dropped in v1.0
when the installer manifest was split into `cozystack-crds.yaml` plus
`cozystack-operator-{generic,hosted,talos}.yaml`, and
`releases/latest/download/` now resolves to v1.4.x where the legacy name
no longer exists.
Two other v0 download URLs had the same failure mode:
- `releases/latest/download/metal-amd64.{iso,raw.xz}` still resolves,
but to the v1.4-era Talos build (Talos v1.13), which silently mismatches
the Talos version the v0 installer manifest expects (Talos v1.11.6 in
`v0.41.11`). A user following v0 docs ends up with a Talos image and
installer combination that does not match.
- `talm/releases/latest/download/talm-darwin-arm64` (the bare-binary
asset name) was dropped in talm v0.17.0 in favor of
`talm-darwin-arm64.tar.gz`, so the v0 Oracle Cloud guide's `wget` step
also 404'd.
Changes:
- Add `data/versions/v0.yaml` with a single `cozystack_tag: "v0.41.11"`
pin so the `version-pin` shortcode resolves on v0 pages — same pattern
as `data/versions/v1.{3,4}.yaml`.
- Replace every `releases/latest/download/<asset>` URL pointing into
`cozystack/cozystack` under `content/en/docs/v0/` with
`releases/download/{{< version-pin "cozystack_tag" >}}/<asset>`. Covers
the installer manifest (3 pages) and the metal image downloads (2
pages).
- Pin the "Cozystack releases page" link in the Oracle Cloud guide to
the `tag/v0.41.11` page so the clickable link matches the `wget` command
immediately below it.
- Fix the talm download in the Oracle Cloud guide: switch from
`releases/latest/download/talm-darwin-arm64` (404) to
`releases/latest/download/talm-darwin-arm64.tar.gz` plus a `tar -xzf …
talm` extraction step. talm stays floating on `latest` per the policy
already documented in `data/versions/v1.4.yaml` ("Tools that stay
backwards-compatible across minors — talm, boot-to-talos,
talos-bootstrap install scripts — stay floating on main / latest in the
markdown").
Out of scope:
- `content/en/docs/v0/install/talos/boot-to-talos.md` keeps
`boot-to-talos/releases/latest/download/...` by design — same floating
policy as talm.
- Older `cozystack/cozystack` `releases/download/$version/...` patterns
where `$version` is a user-supplied literal (e.g. the v0 upgrade guide)
are left untouched.
- The 2024-08-16 blog post `aenix-io/cozystack/raw/v0.7.0/...` URL still
resolves (HTTP 200) and is historical content.
Verification:
- `gh release view v0.41.11 --repo cozystack/cozystack` confirms every
replaced asset is present.
- `curl -fsI -L` on every replaced URL pattern: old URLs return 404, new
pinned URLs return 200.
- `hugo list all` parses all 132 v0 pages without errors.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Documentation**
* Updated installation guides to reference version-pinned release
artifacts instead of "latest" releases, ensuring documentation
consistency and stability.
* Improved Oracle Cloud installation instructions for clarity on binary
extraction procedures.
<!-- review_stack_entry_start -->
[](https://app.coderabbit.ai/change-stack/cozystack/website/pull/548?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack)
<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai -->6 files changed
Lines changed: 21 additions & 7 deletions
File tree
- content/en/docs/v0
- getting-started
- install
- cozystack
- providers
- talos
- data/versions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
| 353 | + | |
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
| 255 | + | |
255 | 256 | | |
256 | 257 | | |
257 | 258 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments