Skip to content
Snippets Groups Projects
Commit 83d31139 authored by Leo's avatar Leo
Browse files

testing/lab: adopt

parent c44abc46
No related branches found
No related tags found
No related merge requests found
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org> # Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: # Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname="lab" pkgname=lab
pkgver="0.16.0" pkgver=0.16.0
pkgrel=0 pkgrel=0
pkgdesc="A Git Wrapper for GitLab" pkgdesc="A Git Wrapper for GitLab"
url="https://zaquestion.github.io/lab/" url="https://zaquestion.github.io/lab/"
...@@ -12,7 +12,7 @@ makedepends="go" ...@@ -12,7 +12,7 @@ makedepends="go"
checkdepends="bash" checkdepends="bash"
source="lab-$pkgver.tar.gz::https://github.com/zaquestion/lab/archive/v$pkgver.tar.gz" source="lab-$pkgver.tar.gz::https://github.com/zaquestion/lab/archive/v$pkgver.tar.gz"
builddir="$srcdir/src/github.com/zaquestion/$pkgname" builddir="$srcdir/src/github.com/zaquestion/$pkgname"
options="net !check" options="net !check" # Tests require configured GitLab account with SSH keys
export GOPATH="$srcdir" export GOPATH="$srcdir"
export CGO_ENABLED=0 export CGO_ENABLED=0
...@@ -32,12 +32,6 @@ package() { ...@@ -32,12 +32,6 @@ package() {
"$pkgdir"/usr/bin/$pkgname "$pkgdir"/usr/bin/$pkgname
} }
check() {
# this is disabled cause it tries to clone from
# gitlab.com ssh repo without having a host key
make test
}
cleanup_srcdir() { cleanup_srcdir() {
go clean -modcache go clean -modcache
default_cleanup_srcdir default_cleanup_srcdir
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment