Skip to content

Commit

Permalink
chore: drop image assets from release
Browse files Browse the repository at this point in the history
Drop non-standard image assets from release.

Fixes: #8843

Signed-off-by: Noel Georgi <git@frezbo.dev>
  • Loading branch information
frezbo committed Aug 14, 2024
1 parent 3c36c41 commit 872599c
Show file tree
Hide file tree
Showing 18 changed files with 41 additions and 271 deletions.
40 changes: 3 additions & 37 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2024-08-09T09:42:44Z by kres dbf015a.
# Generated on 2024-08-14T14:49:10Z by kres 7be2a05.

name: default
concurrency:
Expand Down Expand Up @@ -3180,49 +3180,21 @@ jobs:
- name: Generate Checksums
run: |
cd _out
sha256sum akamai-amd64.raw.gz akamai-arm64.raw.gz aws-amd64.raw.zst aws-arm64.raw.zst azure-amd64.vhd.zst azure-arm64.vhd.zst cloud-images.json digital-ocean-amd64.raw.gz digital-ocean-arm64.raw.gz exoscale-amd64.qcow2.zst exoscale-arm64.qcow2.zst gcp-amd64.raw.tar.gz gcp-arm64.raw.tar.gz hcloud-amd64.raw.zst hcloud-arm64.raw.zst initramfs-amd64.xz initramfs-arm64.xz metal-amd64.iso metal-arm64.iso metal-amd64.raw.zst metal-arm64.raw.zst nocloud-amd64.raw.zst nocloud-arm64.raw.zst opennebula-amd64.raw.zst opennebula-arm64.raw.zst openstack-amd64.raw.zst openstack-arm64.raw.zst oracle-amd64.qcow2.zst oracle-arm64.qcow2.zst scaleway-amd64.raw.zst scaleway-arm64.raw.zst sd-boot-amd64.efi sd-boot-arm64.efi sd-stub-amd64.efi sd-stub-arm64.efi talosctl-cni-bundle-amd64.tar.gz talosctl-cni-bundle-arm64.tar.gz talosctl-darwin-amd64 talosctl-darwin-arm64 talosctl-freebsd-amd64 talosctl-freebsd-arm64 talosctl-linux-amd64 talosctl-linux-arm64 talosctl-linux-armv7 talosctl-windows-amd64.exe upcloud-amd64.raw.zst upcloud-arm64.raw.zst vmware-amd64.ova vmware-arm64.ova vmlinuz-amd64 vmlinuz-arm64 vultr-amd64.raw.zst vultr-arm64.raw.zst > sha256sum.txt
sha512sum akamai-amd64.raw.gz akamai-arm64.raw.gz aws-amd64.raw.zst aws-arm64.raw.zst azure-amd64.vhd.zst azure-arm64.vhd.zst cloud-images.json digital-ocean-amd64.raw.gz digital-ocean-arm64.raw.gz exoscale-amd64.qcow2.zst exoscale-arm64.qcow2.zst gcp-amd64.raw.tar.gz gcp-arm64.raw.tar.gz hcloud-amd64.raw.zst hcloud-arm64.raw.zst initramfs-amd64.xz initramfs-arm64.xz metal-amd64.iso metal-arm64.iso metal-amd64.raw.zst metal-arm64.raw.zst nocloud-amd64.raw.zst nocloud-arm64.raw.zst opennebula-amd64.raw.zst opennebula-arm64.raw.zst openstack-amd64.raw.zst openstack-arm64.raw.zst oracle-amd64.qcow2.zst oracle-arm64.qcow2.zst scaleway-amd64.raw.zst scaleway-arm64.raw.zst sd-boot-amd64.efi sd-boot-arm64.efi sd-stub-amd64.efi sd-stub-arm64.efi talosctl-cni-bundle-amd64.tar.gz talosctl-cni-bundle-arm64.tar.gz talosctl-darwin-amd64 talosctl-darwin-arm64 talosctl-freebsd-amd64 talosctl-freebsd-arm64 talosctl-linux-amd64 talosctl-linux-arm64 talosctl-linux-armv7 talosctl-windows-amd64.exe upcloud-amd64.raw.zst upcloud-arm64.raw.zst vmware-amd64.ova vmware-arm64.ova vmlinuz-amd64 vmlinuz-arm64 vultr-amd64.raw.zst vultr-arm64.raw.zst > sha512sum.txt
sha256sum cloud-images.json initramfs-amd64.xz initramfs-arm64.xz metal-amd64.iso metal-arm64.iso metal-amd64.raw.zst metal-arm64.raw.zst talosctl-cni-bundle-amd64.tar.gz talosctl-cni-bundle-arm64.tar.gz talosctl-darwin-amd64 talosctl-darwin-arm64 talosctl-freebsd-amd64 talosctl-freebsd-arm64 talosctl-linux-amd64 talosctl-linux-arm64 talosctl-linux-armv7 talosctl-windows-amd64.exe vmlinuz-amd64 vmlinuz-arm64 > sha256sum.txt
sha512sum cloud-images.json initramfs-amd64.xz initramfs-arm64.xz metal-amd64.iso metal-arm64.iso metal-amd64.raw.zst metal-arm64.raw.zst talosctl-cni-bundle-amd64.tar.gz talosctl-cni-bundle-arm64.tar.gz talosctl-darwin-amd64 talosctl-darwin-arm64 talosctl-freebsd-amd64 talosctl-freebsd-arm64 talosctl-linux-amd64 talosctl-linux-arm64 talosctl-linux-armv7 talosctl-windows-amd64.exe vmlinuz-amd64 vmlinuz-arm64 > sha512sum.txt
- name: release
uses: crazy-max/ghaction-github-release@v2
with:
body_path: _out/RELEASE_NOTES.md
draft: "true"
files: |-
_out/akamai-amd64.raw.gz
_out/akamai-arm64.raw.gz
_out/aws-amd64.raw.zst
_out/aws-arm64.raw.zst
_out/azure-amd64.vhd.zst
_out/azure-arm64.vhd.zst
_out/cloud-images.json
_out/digital-ocean-amd64.raw.gz
_out/digital-ocean-arm64.raw.gz
_out/exoscale-amd64.qcow2.zst
_out/exoscale-arm64.qcow2.zst
_out/gcp-amd64.raw.tar.gz
_out/gcp-arm64.raw.tar.gz
_out/hcloud-amd64.raw.zst
_out/hcloud-arm64.raw.zst
_out/initramfs-amd64.xz
_out/initramfs-arm64.xz
_out/metal-amd64.iso
_out/metal-arm64.iso
_out/metal-amd64.raw.zst
_out/metal-arm64.raw.zst
_out/nocloud-amd64.raw.zst
_out/nocloud-arm64.raw.zst
_out/opennebula-amd64.raw.zst
_out/opennebula-arm64.raw.zst
_out/openstack-amd64.raw.zst
_out/openstack-arm64.raw.zst
_out/oracle-amd64.qcow2.zst
_out/oracle-arm64.qcow2.zst
_out/scaleway-amd64.raw.zst
_out/scaleway-arm64.raw.zst
_out/sd-boot-amd64.efi
_out/sd-boot-arm64.efi
_out/sd-stub-amd64.efi
_out/sd-stub-arm64.efi
_out/talosctl-cni-bundle-amd64.tar.gz
_out/talosctl-cni-bundle-arm64.tar.gz
_out/talosctl-darwin-amd64
Expand All @@ -3233,12 +3205,6 @@ jobs:
_out/talosctl-linux-arm64
_out/talosctl-linux-armv7
_out/talosctl-windows-amd64.exe
_out/upcloud-amd64.raw.zst
_out/upcloud-arm64.raw.zst
_out/vmware-amd64.ova
_out/vmware-arm64.ova
_out/vmlinuz-amd64
_out/vmlinuz-arm64
_out/vultr-amd64.raw.zst
_out/vultr-arm64.raw.zst
_out/sha*.txt
34 changes: 0 additions & 34 deletions .kres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,41 +185,13 @@ spec:
releaseStep:
baseDirectory: _out
artifacts:
- akamai-amd64.raw.gz
- akamai-arm64.raw.gz
- aws-amd64.raw.zst
- aws-arm64.raw.zst
- azure-amd64.vhd.zst
- azure-arm64.vhd.zst
- cloud-images.json
- digital-ocean-amd64.raw.gz
- digital-ocean-arm64.raw.gz
- exoscale-amd64.qcow2.zst
- exoscale-arm64.qcow2.zst
- gcp-amd64.raw.tar.gz
- gcp-arm64.raw.tar.gz
- hcloud-amd64.raw.zst
- hcloud-arm64.raw.zst
- initramfs-amd64.xz
- initramfs-arm64.xz
- metal-amd64.iso
- metal-arm64.iso
- metal-amd64.raw.zst
- metal-arm64.raw.zst
- nocloud-amd64.raw.zst
- nocloud-arm64.raw.zst
- opennebula-amd64.raw.zst
- opennebula-arm64.raw.zst
- openstack-amd64.raw.zst
- openstack-arm64.raw.zst
- oracle-amd64.qcow2.zst
- oracle-arm64.qcow2.zst
- scaleway-amd64.raw.zst
- scaleway-arm64.raw.zst
- sd-boot-amd64.efi
- sd-boot-arm64.efi
- sd-stub-amd64.efi
- sd-stub-arm64.efi
- talosctl-cni-bundle-amd64.tar.gz
- talosctl-cni-bundle-arm64.tar.gz
- talosctl-darwin-amd64
Expand All @@ -230,14 +202,8 @@ spec:
- talosctl-linux-arm64
- talosctl-linux-armv7
- talosctl-windows-amd64.exe
- upcloud-amd64.raw.zst
- upcloud-arm64.raw.zst
- vmware-amd64.ova
- vmware-arm64.ova
- vmlinuz-amd64
- vmlinuz-arm64
- vultr-amd64.raw.zst
- vultr-arm64.raw.zst
generateChecksums: true
releaseNotes: RELEASE_NOTES.md
- name: e2e-iso
Expand Down
10 changes: 10 additions & 0 deletions hack/release.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ previous = "v1.7.0"
pre_release = true

preface = """\
Starting with Talos v1.8.0, only standard assets would be published as github release assets. These include:
* `cloud-images.json`
* `talosctl` binaries
* `kernel`
* `initramfs`
* `metal` iso and disk images
* `talosctl-cni-bundle`
All other release assets can be downloaded from [Image Factory](https://www.talos.dev/latest/talos-guides/install/boot-assets/#image-factory).
"""

[notes]
Expand Down
4 changes: 2 additions & 2 deletions website/content/v1.8/advanced/talos-api-access-from-k8s.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ spec:
- sh
- -c
- |
wget -O /usr/local/bin/talosctl https://github.com/siderolabs/talos/releases/download/<talos version>/talosctl-linux-amd64
wget -O /usr/local/bin/talosctl https://github.com/siderolabs/talos/releases/download/{{< release >}}/talosctl-linux-amd64
chmod +x /usr/local/bin/talosctl
while true; talosctl -n 172.20.0.2 version; do sleep 1; done
```
Expand Down Expand Up @@ -92,7 +92,7 @@ spec:
- sh
- -c
- |
wget -O /usr/local/bin/talosctl https://github.com/siderolabs/talos/releases/download/<talos version>/talosctl-linux-amd64
wget -O /usr/local/bin/talosctl https://github.com/siderolabs/talos/releases/download/{{< release >}}/talosctl-linux-amd64
chmod +x /usr/local/bin/talosctl
while true; talosctl -n 172.20.0.2 version; do sleep 1; done
image: alpine:3
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: "Booting Talos over the network on bare-metal with PXE."
---

Talos can be installed on bare-metal using PXE service.
There are two more detailed guides for PXE booting using [Matchbox]({{< relref "matchbox">}}) and [Digital Rebar]({{< relref "digital-rebar">}}).
There are more detailed guides for PXE booting using [Matchbox]({{< relref "matchbox">}}).

This guide describes generic steps for PXE booting Talos on bare-metal.

Expand Down
2 changes: 1 addition & 1 deletion website/content/v1.8/talos-guides/install/boot-assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "Boot Assets"
description: "Creating customized Talos boot assets, disk images, ISO and installer images."
---

Talos Linux provides a set of pre-built images on the [release page](https://github.com/siderolabs/talos/releases/{{< release >}}), but these images
Talos Linux provides boot images via [Image Factory](#image-factory), but these images
can be customized further for a specific use case:

* adding [system extensions]({{< relref "../configuration/system-extensions" >}})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Make sure to follow [installation](https://www.linode.com/docs/products/tools/cl

### Upload image

Download the Akamai image `akamai-amd64.raw.gz` from the [latest Talos release](https://github.com/siderolabs/talos/releases/latest/).
Download the Akamai image `akamai-amd64.raw.gz` from [Image Factory](https://factory.talos.dev/image/376567988ad370138ad8b2698212367b8edcb69b5fd68c80be1f2ec7d603b4ba/{{< release >}}/akamai-amd64.raw.gz).

Upload the image

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ Note that the role should be associated with the S3 bucket we created above.

#### Create the Image Snapshot

First, download the AWS image from a Talos release:
First, download the AWS image from Image Factory:

```bash
curl -L https://github.com/siderolabs/talos/releases/download/{{< release >}}/aws-amd64.raw.xz | xz -d > disk.raw
curl -L https://factory.talos.dev/image/376567988ad370138ad8b2698212367b8edcb69b5fd68c80be1f2ec7d603b4ba/{{< release >}}/aws-amd64.raw.xz | xz -d > disk.raw
```

Copy the RAW disk to S3 and import it as a snapshot:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "DigitalOcean"
description: "Creating a cluster via the CLI on DigitalOcean."
aliases:
aliases:
- ../../../cloud-platforms/digitalocean
---

Expand All @@ -13,7 +13,7 @@ If you need more information on DigitalOcean specifics, please see the [official

### Create the Image

Download the DigitalOcean image `digital-ocean-amd64.raw.gz` from the [latest Talos release](https://github.com/siderolabs/talos/releases/latest/).
Download the DigitalOcean image `digital-ocean-amd64.raw.gz` from the [Image Factory](https://factory.talos.dev/image/376567988ad370138ad8b2698212367b8edcb69b5fd68c80be1f2ec7d603b4ba/{{< release >}}/digital-ocean-amd64.raw.gz).

>Note: the minimum version of Talos required to support Digital Ocean is v1.3.3.
Expand Down
Loading

0 comments on commit 872599c

Please sign in to comment.