Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
d3ece494
Commit
d3ece494
authored
2 years ago
by
Hoang Nguyen
Committed by
alice
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/stern: new aport
parent
8d984b59
No related branches found
No related tags found
2 merge requests
!39304
[3.16] main/expat: security upgrade to 2.4.9
,
!35143
testing/stern: new aport
Pipeline
#124608
passed
2 years ago
Stage: lint
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/stern/APKBUILD
+47
-0
47 additions, 0 deletions
testing/stern/APKBUILD
with
47 additions
and
0 deletions
testing/stern/APKBUILD
0 → 100644
+
47
−
0
View file @
d3ece494
# Contributor: Hoang Nguyen <folliekazetani@protonmail.com>
# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
pkgname
=
stern
pkgver
=
1.21.0
pkgrel
=
0
pkgdesc
=
"Multi pod and container log tailing for Kubernetes"
url
=
"https://github.com/stern/stern"
arch
=
"all"
license
=
"Apache-2.0"
makedepends
=
"go"
subpackages
=
"
$pkgname
-bash-completion
$pkgname
-zsh-completion
$pkgname
-fish-completion
"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/stern/stern/archive/refs/tags/v
$pkgver
.tar.gz"
build
()
{
GOLDFLAGS
=
"
-X github.com/stern/stern/cmd.version=
$pkgver
-X github.com/stern/stern/cmd.commit=AlpineLinux
-X github.com/stern/stern/cmd.date=
$(
date
+%FT%T%Z
)
"
go build
-v
-o
bin/
$pkgname
-ldflags
"
$GOLDFLAGS
"
./bin/stern
--completion
bash
>
stern.bash
./bin/stern
--completion
zsh
>
stern.zsh
./bin/stern
--completion
fish
>
stern.fish
}
check
()
{
go
test
./...
}
package
()
{
install
-Dm755
bin/
$pkgname
"
$pkgdir
"
/usr/bin/
$pkgname
install
-Dm644
stern.bash
\
"
$pkgdir
"
/usr/share/bash-completion/completions/stern
install
-Dm644
stern.zsh
\
"
$pkgdir
"
/usr/share/zsh/site-functions/_stern
install
-Dm644
stern.fish
\
"
$pkgdir
"
/usr/share/fish/completions/stern.fish
}
sha512sums
=
"
e1e0b73cbddd6dd7729444f2ef9aa787a64f7ba70e951c39012e9d5faef6834363049f02f03163d48e94908ef238394878178b5a6dbcc22fa6a8d349049c9467 stern-1.21.0.tar.gz
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment