Commit Graph

19 Commits (188ce1bad146c5a29c72800ca94508a298713cc6)

Author SHA1 Message Date
Stefan Prodan 66a417a3ee
Bump Go to 1.20 in aur deps
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Aurel Canciu 52c7cca3fc Fix publishing pre-release versions to AUR
Fixes 

Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
Hidde Beydals f01911d0e2 AUR: further solve `.SRCINFO` issues
Due to the release CI job running on an Ubuntu machine, we do not have
easy access to `makepkg` to generate the `.SRCINFO` using `--printsrcinfo`
as this is a `pacman` specific utility, and instead we maintain a
template.

Historically seen, something went wrong here while the `PKGBUILD` file
became more complex and certain fields added there were not _also_
included in the `.SRCINFO` template.

This commit ensures everything is restored to working state, and
provides the proper fix for what was attempted in . In addition,
checksums are now included in the file.

Signed-off-by: Hidde Beydals <hello@hidde.co>
Hidde Beydals ca212ac592 AUR: ensure `pkgname` is bottom entry in .SRCINFO
Signed-off-by: Hidde Beydals <hello@hidde.co>
Ciaran Moran cbecd8ab56
SRCINFO: consistent style
Signed-off-by: Ciaran Moran <ciaran@weave.works>
Ciaran Moran feaab54f70
SRCINFO: fix path
Signed-off-by: Ciaran Moran <ciaran@weave.works>
Aurel Canciu 8e7b957164
Fix Archlinux PKGBUILD check() run on ARM
The check() run started to fail after  since ENVTEST_ARCH was not
set correctly on ARM/ARM64. This should fix the problem for the flux-go
and flux-scm AUR packages.

Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
Tom Alexander 192978125f build/aur: fix the make target for the manifests
Signed-off-by: Tom Alexander <tom@fizz.buzz>
Tom Alexander b4b3551e39 build/aur: add Git as flux-scm build dependency
Without git installed, makepkg fails to fetch the source. This breaks
the build for people who build their aur packages inside temporary
containers (for example aurutils with the -c flag).

Signed-off-by: Tom Alexander <tom@fizz.buzz>
Aurel Canciu f3d143e5ee
Update Go to v1.17
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
Stefan Prodan f54907e66e
Remove kubectl dependency from brew and aur pkgs
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Hidde Beydals 5fd3d0bd41 Generate manifests in `flux-{go,scm}` AUR packages
This commit makes a couple of changes to the `flux-{go,scm}` packages
so that they properly build again:

- The manifests are generated before the compilation of the `flux`
  binary.
- The `makedepends` have been updated to require a version of Go
  `>=1.16` (which is a requirement for `embed`).
- The `makedepends` have been updated to require a `kustomize` version
  `>=3.0` (as we use `transformers`).

Signed-off-by: Hidde Beydals <hello@hidde.co>
Hidde Beydals 98078a0c65 Install Bash, Fish, ZSH auto complete in AUR pkgs
Signed-off-by: Hidde Beydals <hello@hidde.co>
Aurel Canciu e940fd3d1f
Prevent AUR package publishing parallel execution
Using a lock to prevent parallel executions in GoReleaser's custom
publishers. The custom publisher logic executes the tasks in parallel
for each available artifact.

https://goreleaser.com/customization/publishers/#how-it-works

Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
Hidde Beydals 21576fe459 Properly clean-up package build dirs
Signed-off-by: Hidde Beydals <hello@hidde.co>
Aurel Canciu 48a38a8a5d
Fix GoReleaser AUR publish concurrent exec issue
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
Aurel Canciu e664ef7a8d
Fix GoReleaser AUR package publishing
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
Aurel Canciu 116ccd6b3b
Rename flux-git to flux-scm to prevent collision
A flux-git package already exists in AUR

Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
Aurel Canciu b6f30ae3e1
Move aur package templates to .github/aur
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>