Skip to content

Commit

Permalink
feat: Begin publishing armv7hl rpm packages (vectordotdev#18387)
Browse files Browse the repository at this point in the history
* feat: Begin publishing armv7hl rpm packages

* docs: Add 0.33.0 upgrade guide
  • Loading branch information
spencergilbert committed Aug 25, 2023
1 parent f15144b commit 4c901ed
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -749,3 +749,16 @@ jobs:
release: "any-version"
republish: "true"
file: "target/artifacts/vector-${{ env.VECTOR_VERSION }}-1.armv7.rpm"
- name: Push armv7hl-gnu RPM
id: push-rpm-armv7hl-gnu
uses: cloudsmith-io/action@v0.5.3
with:
api-key: ${{ secrets.CLOUDSMITH_API_KEY }}
command: "push"
format: "rpm"
owner: "timber"
repo: ${{ env.CLOUDSMITH_REPO }}
distro: "any-distro"
release: "any-version"
republish: "true"
file: "target/artifacts/vector-${{ env.VECTOR_VERSION }}-1.armv7hl.rpm"
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ package-aarch64-unknown-linux-musl-all: package-aarch64-unknown-linux-musl # Bui
package-aarch64-unknown-linux-gnu-all: package-aarch64-unknown-linux-gnu package-deb-aarch64 package-rpm-aarch64 # Build all aarch64 GNU packages

.PHONY: package-armv7-unknown-linux-gnueabihf-all
package-armv7-unknown-linux-gnueabihf-all: package-armv7-unknown-linux-gnueabihf package-deb-armv7-gnu package-rpm-armv7-gnu # Build all armv7-unknown-linux-gnueabihf MUSL packages
package-armv7-unknown-linux-gnueabihf-all: package-armv7-unknown-linux-gnueabihf package-deb-armv7-gnu package-rpm-armv7hl-gnu package-rpm-armv7-gnu # Build all armv7-unknown-linux-gnueabihf MUSL packages

.PHONY: package-x86_64-unknown-linux-gnu
package-x86_64-unknown-linux-gnu: target/artifacts/vector-${VERSION}-x86_64-unknown-linux-gnu.tar.gz ## Build an archive suitable for the `x86_64-unknown-linux-gnu` triple.
Expand Down Expand Up @@ -580,6 +580,10 @@ package-rpm-aarch64: package-aarch64-unknown-linux-gnu ## Build the aarch64 rpm
package-rpm-armv7-gnu: package-armv7-unknown-linux-gnueabihf ## Build the armv7-unknown-linux-gnueabihf rpm package
$(CONTAINER_TOOL) run -v $(PWD):/git/vectordotdev/vector/ -e TARGET=armv7-unknown-linux-gnueabihf -e VECTOR_VERSION $(ENVIRONMENT_UPSTREAM) cargo vdev package rpm

.PHONY: package-rpm-armv7hl-gnu
package-rpm-armv7hl-gnu: package-armv7-unknown-linux-gnueabihf ## Build the armv7hl-unknown-linux-gnueabihf rpm package
$(CONTAINER_TOOL) run -v $(PWD):/git/vectordotdev/vector/ -e TARGET=armv7-unknown-linux-gnueabihf -e ARCH=armv7hl -e VECTOR_VERSION $(ENVIRONMENT_UPSTREAM) cargo vdev package rpm

##@ Releasing

.PHONY: release
Expand Down
26 changes: 26 additions & 0 deletions website/content/en/highlights/2023-09-26-0-33-0-upgrade-guide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
date: "2023-09-26"
title: "0.33 Upgrade Guide"
description: "An upgrade guide that addresses breaking changes in 0.33.0"
authors: ["spencergilbert"]
release: "0.33.0"
hide_on_release_notes: false
badges:
type: breaking change
---

Vector's 0.33.0 release includes **deprecations**:

1. [Renaming the `armv7` rpm package](#armv7-rename)

We cover them below to help you upgrade quickly:

## Upgrade guide

### Deprecations

#### Renaming the `armv7` rpm package {#armv7-rename}

The `armv7` rpm package, `vector-<version>-1.armv7.rpm`, is now published as
`vector-<version>-1.armv7hl.rpm` to better follow rpm guidelines. The `armv7`
package will be no longer be published beginning in the 0.34.0 release.

0 comments on commit 4c901ed

Please sign in to comment.