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
090e41a6
Commit
090e41a6
authored
9 years ago
by
Natanael Copa
Browse files
Options
Downloads
Patches
Plain Diff
main/aports-build: also publish hostname with build error
parent
41f632ab
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/aports-build/APKBUILD
+4
-4
4 additions, 4 deletions
main/aports-build/APKBUILD
main/aports-build/report-build-errors.lua
+1
-0
1 addition, 0 deletions
main/aports-build/report-build-errors.lua
with
5 additions
and
4 deletions
main/aports-build/APKBUILD
+
4
−
4
View file @
090e41a6
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
aports-build
pkgver
=
1.0
pkgrel
=
1
pkgrel
=
2
pkgdesc
=
"MQTT based build-on-git-push scripts for Alpine Linux"
url
=
"http://alpinelinux.org"
arch
=
"noarch"
...
...
@@ -52,12 +52,12 @@ package() {
md5sums
=
"97aa48d5026684e77c4529c7622370a6 aports-build
cb4807ea64c4368487786217db087bac aports-build.initd
c02d90b2bb0c48e416b707caa8766c50 mqtt-exec.aports-build.confd
48c17c44513c6ed46041358101e7ac22
report-build-errors.lua"
99bc8c6c791e1fcbd0b3590278940ccd
report-build-errors.lua"
sha256sums
=
"414adee6f0a5c83c8b37d995fee36a7a8787eaab7bdc986fd512977f3412e16c aports-build
3e2d551f72273f37290db342a153abd377397483677a684645d22df7b8a8592f aports-build.initd
7d2001688c3776ffb53c422dee424bcf0346ae20f3df5c6c2f4944022b19cb4d mqtt-exec.aports-build.confd
cf991d176fc555dc909c1cd0d3e817d5b567016c4a8a304860c37eeebe83b6ff
report-build-errors.lua"
77c3537e7ce908543a0bb6caa6ea87d056e88d25a950ed2173f0e1213d1dfc98
report-build-errors.lua"
sha512sums
=
"5f30f736e31e04c7718ad5e44c02d8abf47c31baabd38c98bef8fe1e02444ceb49375151707e255c72a28e370c4e67d7a11f14555689b20a5a4e736cbe9c4fb4 aports-build
821035bda47152c341ec94bf960fa67e3377051826712ceb74f39103e6e422777b6e082231bfb87865653d2b93b7d3154cfc24abf65a52e3e66da69412dd7e41 aports-build.initd
93d26e2055dbb02e863bf76b64a549c100decec3fda612ce96ca1464e6d61befa9f57f202553a25cf323e67e266f532d19c7423ff070943a59b3973946d949fe mqtt-exec.aports-build.confd
3
07bca323fd72433ba6200d61adab8fb0374833d68135a38c61b104a72f86761df7445cc3758a80c1786ebf154d946cd3982db0c442604b08161bfbe5b1c5448
report-build-errors.lua"
3
ee2c2f6244dc326ccb7706379c432053b8eef9639927c48301af934060f77f2cbcc6f04b6410fd5b7fdafacabe23b7f5eac33006a976f059c61baa7c9ef0af2
report-build-errors.lua"
This diff is collapsed.
Click to expand it.
main/aports-build/report-build-errors.lua
+
1
−
0
View file @
090e41a6
...
...
@@ -15,6 +15,7 @@ function m.postbuild(aport, success, repodest, arch, logfile)
local
topic
=
(
"build/%s/errors"
):
format
(
hostname
)
local
payload
=
json
.
encode
{
pkgname
=
aport
.
pkgname
,
hostname
=
hostname
,
logurl
=
(
"%s/%s/%s-%s-r%s.log"
):
format
(
urlprefix
,
(
string.match
(
aport
.
dir
,
"[^/]+/[^/]+$"
)),
...
...
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