diff options
Diffstat (limited to 'testing/helm/APKBUILD')
-rw-r--r-- | testing/helm/APKBUILD | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/testing/helm/APKBUILD b/testing/helm/APKBUILD deleted file mode 100644 index db4bdde1d7d..00000000000 --- a/testing/helm/APKBUILD +++ /dev/null @@ -1,64 +0,0 @@ -# Contributor: techknowlogick <techknowlogick@gitea.io> -# Maintainer: techknowlogick <techknowlogick@gitea.io> -pkgname=helm -pkgver=3.7.2 -pkgrel=0 -pkgdesc="The Kubernetes Package Manager" -url="https://helm.sh/" -arch="all !mips !mips64 !armhf" # mips does not have go, unit tests fails with armhf -license="Apache-2.0" -makedepends="bash go" -options="net" -subpackages="$pkgname-bash-completion $pkgname-fish-completion $pkgname-zsh-completion" -source="$pkgname-$pkgver.tar.gz::https://github.com/helm/helm/archive/v$pkgver.tar.gz" - -# secfixes: -# 3.6.0-r0: -# - CVE-2021-21303 -# 3.6.1-r0: -# - CVE-2021-32690 - -case "$CARCH" in - # Disable check on 32bit systems due to upstream test "TestPlatformPrepareCommand" that does not account for these platforms - x86|armv7) options="$options !check" ;; -esac - -export GOPATH="$srcdir/go" -export GOCACHE="$srcdir/go-build" -export GOTEMPDIR="$srcdir/go" - -export GOFLAGS="$GOFLAGS -modcacherw" - -prepare() { - default_prepare - - # Update procfs version for riscv64 support. - go mod edit -replace \ - github.com/prometheus/procfs=github.com/prometheus/procfs@v0.6.0 - go mod download github.com/prometheus/procfs -} - -build() { - export CGO_ENABLED=0 # breaks on aarch64 - make GOFLAGS="$GOFLAGS" - - ./bin/helm completion bash > $pkgname.bash - ./bin/helm completion fish > $pkgname.fish - ./bin/helm completion zsh > $pkgname.zsh -} - -check() { - make test-unit GOFLAGS="$GOFLAGS" -} - -package() { - install -Dm755 bin/helm -t "$pkgdir/usr/bin" - - install -Dm644 $pkgname.bash "$pkgdir"/usr/share/bash-completion/completions/$pkgname - install -Dm644 $pkgname.fish "$pkgdir"/usr/share/fish/completions/$pkgname.fish - install -Dm644 $pkgname.zsh "$pkgdir"/usr/share/zsh/site-functions/_$pkgname -} - -sha512sums=" -5072c2130b1073aff82146d1e724c6788b98a620d0a5a60ba6fb01a51042edcd455878ef5e4e46cd5bba9856faa8148dbca16fc42bd0fd1dad947d7aaa4b5fdf helm-3.7.2.tar.gz -" |