Commit graph

54 commits

Author SHA1 Message Date
rand00
8a45a3e522 packaging/perftest/unipi/plot.sh: Fixed plot title to 'throughput' 2022-12-20 21:28:06 +01:00
rand00
99f2788ec0 packaging/perftest/unipi/plot.sh: Skipping build if 'siege.csv' doesn't exist 2022-12-20 21:26:22 +01:00
rand00
f9375f0828 packaging/perftest/unipi/plot.sh: Plotting throughput column 2022-12-20 21:20:59 +01:00
rand00
34aa7a767a packaging/perftest/unipi/plot.sh: Prefixing build UUID to each row in DAT file 2022-12-20 21:18:56 +01:00
rand00
dd6f054a88 packaging/perftest/unipi/plot.sh: WIP: Added plotting script for unipi - missing a few things 2022-12-20 21:09:39 +01:00
rand00
f67c2f6fa9 packaging/perftest.sh: Checking DB and APP versions + passing more args to unipi/plot.sh 2022-12-20 21:08:16 +01:00
rand00
13612c59a5 packaging/perftest.sh: Passing dependencies to unipi perftest scripts 2022-12-20 15:14:31 +01:00
rand00
0176e8c5bb packaging/perftest.sh: Better printed message 2022-12-20 15:04:52 +01:00
rand00
cd26ddcd75 packaging/perftest.sh: Fixed documentation 2022-12-20 15:03:09 +01:00
rand00
db82447841 packaging/perftest.sh: Hook script for running performance tests on binary upload 2022-12-20 14:14:59 +01:00
a68025ecf0 FreeBSD-repo.sh: do not exit if grep fails 2022-08-29 13:33:32 +02:00
7a9949fc5e Hook scripts must end in .sh, FreeBSD packaging
- Only hook scripts that end in .sh are executed.
- When packaging for FreeBSD, batch-viz.sh and visualizations.sh are
  installed with a .sample extension. Addresses #137
2022-08-26 18:23:23 +02:00
ac8c31f2ac packaging: Add visualization dependencies (#135)
We now package opam-graph and modulectomy separately.

Reviewed-on: https://git.robur.io/robur/builder-web/pulls/135
Co-authored-by: Reynir Björnsson <reynir@reynir.dk>
Co-committed-by: Reynir Björnsson <reynir@reynir.dk>
2022-08-25 10:30:50 +00:00
08b16adb1f FreeBSD/create_package.sh: Do not quote glob 2022-07-05 09:37:59 +02:00
19242b816c Fix FreeBSD packaging paths 2022-07-05 09:11:33 +02:00
824cb2d30d Add conffiles erroneosly omitted previously
It should have been part of 949dbab501.
2022-06-24 12:13:25 +02:00
949dbab501 Package visualization & repo scripts (#123)
The repo scripts are installed in 'share' as examples.

Reviewed-on: https://git.robur.io/robur/builder-web/pulls/123
Co-authored-by: Reynir Björnsson <reynir@reynir.dk>
Co-committed-by: Reynir Björnsson <reynir@reynir.dk>
2022-06-23 09:51:55 +00:00
932b0c963e create_package.sh: quote variables 2022-06-22 12:37:57 +02:00
bac3b3c64b debian: put binaries in sbin, libexec
builder-db and builder-migrations require privileges, and builder-web is
expected to be run from systemd.
2022-06-22 12:31:13 +02:00
66a9d293e6 visualizations.sh: refactoring and error handling
- Specify the sqlite3 query as a command line argument
- Fail more often
2022-06-22 10:50:26 +02:00
09a180c3cd Automatic viz migration on builder-web startup (#111)
Co-authored-by: rand00 <oth.rand@gmail.com>
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/111
Co-authored-by: Reynir Björnsson <reynir@reynir.dk>
Co-committed-by: Reynir Björnsson <reynir@reynir.dk>
2022-06-08 10:18:46 +00:00
73fbb59377 ensure version string is what we expect 2022-05-31 10:38:11 +02:00
27b40c63a1 fix version numbering for FreeBSD repository, see #114
To allow mixing of tags with git revisions, append a dummy ".0.g0000000" to
FreeBSD packages that originate from a tag.
2022-05-31 10:38:11 +02:00
15baa605a0 packaging: sha256 is encoded as hex, not base64 2022-05-19 15:12:41 +02:00
rand00
9a8f902d3c packaging/visualizations.sh: Failing when unsupported platform 2022-03-23 20:54:35 +01:00
rand00
140d661254 packaging/visualizations.sh: Made compatible with Linux too 2022-03-21 13:51:23 +01:00
9ab6921105 dpkg-repo: repackage in TMP/pkg, use TMP as output directory
This avoids the deb file containing itself, and having a /builder-... installed.
2022-03-07 18:37:17 +01:00
65f29ad8aa rename FreeBSD package to builder-web 2022-03-03 15:26:04 +01:00
9cb0e2683c FreeBSD package repository: use . as separator when checking whether package already exists 2022-02-28 15:09:25 +01:00
Robur
078d48730d Debian package repository: take aptly repo vs publish into account 2022-02-25 13:34:24 +00:00
Robur
ca5b16a161 Debian repo script: no need to pass architectures 2022-02-25 13:20:13 +00:00
Robur
9406edbc9e Debian repository: set HOME variable 2022-02-25 11:54:00 +00:00
Robur
5f7e37fb4c Debian packaging: set Architecture to the target architecture 2022-02-25 10:54:51 +00:00
Robur
83daa044d5 FreeBSD packaging: normalize version (use . instead of -) 2022-02-25 10:48:16 +00:00
Robur
8e3eafbad1 packaging: add version numbers and comparison script 2022-02-25 10:41:43 +00:00
443bcd1a19 package repos: use '.' instead of '-' as version separator on FreeBSD 2022-02-25 10:40:26 +00:00
6f3c89c91d display visualizations from cache, generate visualizations on upload (#90)
This is #88 (reading visualiations from the cache directory), together with shell scripts that can be used as upload hooks to generate the visualizations.

Co-authored-by: rand00 <oth.rand@gmail.com>
Co-authored-by: Hannes Mehnert <hannes@mehnert.org>
Co-authored-by: Reynir Björnsson <reynir@reynir.dk>
Co-authored-by: Robur <team@robur.coop>
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/90
Co-authored-by: hannes <hannes@mehnert.org>
Co-committed-by: hannes <hannes@mehnert.org>
2022-02-24 11:52:05 +00:00
d5f4dc8732 FreeBSD and dpkg package repository creation and scripts (#84)
Add scripts that create package repositories (as upload-hook)

Both dpkg based and FreeBSD based ones are supported.

Addresses #73 and #65

Co-authored-by: Hannes Mehnert <hannes@mehnert.org>
Co-authored-by: Reynir Björnsson <reynir@reynir.dk>
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/84
Co-authored-by: hannes <hannes@mehnert.org>
Co-committed-by: hannes <hannes@mehnert.org>
2022-02-23 16:08:26 +00:00
c5e09f4ba3 Fix packaging
- Insert missing '>' in debian copyright file
- Install builder-viz

Fixes #75
2022-02-07 14:02:34 +00:00
31971c8e6e debian postinst: fix user/group mixup 2021-11-14 13:47:51 +01:00
Robur
b514a6a43d FreeBSD Manifest: fix syntax 2021-11-12 14:03:28 +00:00
Robur
fb9391fe61 Prepare for initial public release 2021-11-12 13:42:26 +00:00
Robur
b43c6f4d79 Refactor default_datadir into library builder_system 2021-11-12 13:22:43 +00:00
bb4decad71 FreeBSD packaging: add builder user and group, create /var/db/builder-web 2021-11-12 12:54:24 +01:00
3fa6e9c174 debian: add postinst script
Fixes #54
2021-11-12 11:18:40 +01:00
Robur
579f9d38e6 debian packaging: install meta files and systemd script with 644 permissions 2021-11-02 10:28:47 +00:00
fc734dc2cd improve packaging: use sh -ex 2021-08-02 15:44:38 +02:00
3ba9b93365 debian: fix datadir path
Use the builder-web datadir, not the builder datadir(!)
2021-07-29 17:21:56 +02:00
68db07067d debian: fix --datadir typo 2021-07-29 16:58:52 +02:00
147163a92b debian: correct sqlite3 dependency
It is called libsqlite3-0 and not libsqlite3 for whatever reason.
2021-07-29 16:36:44 +02:00