Skip to content

Commit

Permalink
chore: remove boot-{arch}.tar.gz artifact
Browse files Browse the repository at this point in the history
Fixes #3311

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
  • Loading branch information
smira committed Dec 7, 2021
1 parent fc5ec50 commit a5a6c72
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
7 changes: 1 addition & 6 deletions .drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,6 @@ local conformance_pipelines = [

// Release pipeline.

local boot = Step('boot', depends_on=[e2e_docker, e2e_qemu]);

local cloud_images = Step("cloud-images", depends_on=[e2e_docker, e2e_qemu], environment=creds_env_vars);

// TODO(andrewrynhard): We should run E2E tests on a release.
Expand All @@ -532,8 +530,6 @@ local release = {
'_out/aws-arm64.tar.gz',
'_out/azure-amd64.tar.gz',
'_out/azure-arm64.tar.gz',
'_out/boot-amd64.tar.gz',
'_out/boot-arm64.tar.gz',
'_out/cloud-images.json',
'_out/digital-ocean-amd64.tar.gz',
'_out/digital-ocean-arm64.tar.gz',
Expand Down Expand Up @@ -581,11 +577,10 @@ local release = {
when: {
event: ['tag'],
},
depends_on: [build.name, boot.name, cloud_images.name, talosctl_cni_bundle.name, images.name, sbcs.name, iso.name, push.name, release_notes.name]
depends_on: [build.name, cloud_images.name, talosctl_cni_bundle.name, images.name, sbcs.name, iso.name, push.name, release_notes.name]
};

local release_steps = default_steps + [
boot,
cloud_images,
release,
];
Expand Down
7 changes: 0 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -240,13 +240,6 @@ iso: ## Builds the ISO and outputs it to the artifact directory.
docker run --rm -e SOURCE_DATE_EPOCH=$(SOURCE_DATE_EPOCH) -i $(REGISTRY_AND_USERNAME)/imager:$(IMAGE_TAG) iso --arch $$arch --tar-to-stdout | tar xz -C $(ARTIFACTS) ; \
done

.PHONY: boot
boot: ## Creates a compressed tarball that includes vmlinuz-{amd64,arm64} and initramfs-{amd64,arm64}.xz. Note that these files must already be present in the artifacts directory.
@for platform in $(subst $(,),$(space),$(PLATFORM)); do \
arch=`basename "$${platform}"` ; \
tar -C $(ARTIFACTS) --transform=s/-$${arch}// -czf $(ARTIFACTS)/boot-$${arch}.tar.gz vmlinuz-$${arch} initramfs-$${arch}.xz ; \
done

.PHONY: talosctl-cni-bundle
talosctl-cni-bundle: ## Creates a compressed tarball that includes CNI bundle for talosctl.
@$(MAKE) local-$@ DEST=$(ARTIFACTS)
Expand Down
4 changes: 2 additions & 2 deletions website/content/docs/v0.14/Introduction/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ The latest ISO image can be found on the Github [Releases](https://github.com/ta

For self-built media and network booting, you can use the kernel and initramfs:

- X86: [https://github.com/talos-systems/talos/releases/download/v0.14.0/boot-amd64.tar.gz](https://github.com/talos-systems/talos/releases/download/v0.14.0/boot-amd64.tar.gz)
- ARM64: [https://github.com/talos-systems/talos/releases/download/v0.14.0/boot-ard64.tar.gz](https://github.com/talos-systems/talos/releases/download/v0.14.0/boot-ard64.tar.gz)
- X86: [vmlinuz-amd64](https://github.com/talos-systems/talos/releases/download/v0.14.0/vmlinuz-amd64) [initramfs-amd64.xz](https://github.com/talos-systems/talos/releases/download/v0.14.0/initramfs-amd64.xz)
- ARM64: [vmlinuz-arm64](https://github.com/talos-systems/talos/releases/download/v0.14.0/vmlinuz-arm64) [initramfs-arm64.xz](https://github.com/talos-systems/talos/releases/download/v0.14.0/initramfs-arm64.xz)

When booted from the ISO, Talos will run in RAM, and it will not install itself
until it is provided a configuration.
Expand Down

0 comments on commit a5a6c72

Please sign in to comment.