Martchus
c7d8e71978
Add staging test with multiple batches
2022-09-15 22:59:18 +02:00
Martchus
598b931e9f
Move staging tests into their own block
2022-09-15 22:24:12 +02:00
Martchus
69ee493b8f
Fix out-commented check in tests
2022-09-15 22:06:48 +02:00
Martchus
255da5b091
Allow passing secrets to build action
2022-07-11 23:33:28 +02:00
Martchus
9c83ba8ea7
Extend tests for conducting build
...
* Test further error cases
* Improve checks for error messages
* Use better scoping
2022-07-01 19:28:49 +02:00
Martchus
9f5474e128
Fix passing architecture when creating database
...
When adding a new database when reloading the config at runtime the
architecture must be passed when creating the database. Otherwise we end up
with the new database sharing the internal storage with the x86_64 database
which leads to very confusing behavior.
2022-06-19 23:06:25 +02:00
Martchus
645bb0fe54
Use arch-specific sub-directory within cache dir when conducting build
2022-05-31 20:27:42 +02:00
Martchus
e15f65ac16
Extend tests for conducting build
2022-04-07 23:18:14 +02:00
Martchus
bdbfd42e5e
Avoid package object being reused after 3d7310af3
2022-02-20 19:50:44 +01:00
Martchus
93afb3883d
Write build action "output" log to a logfile like for sub-processes
2022-02-20 00:11:23 +01:00
Martchus
557fd1a738
lmdb: Use lmdb to store build actions
2022-02-13 21:04:54 +01:00
Martchus
218dfecf56
Avoid loading databases when modification date is <= last update
...
* Do HTTP head request first when loading database from mirror to avoid
downloading the full database all the time
* Use the last modification date of the local database file because with
the persistent storage even local database reloads became a bit expensive
2022-01-25 00:13:10 +01:00
Martchus
f088e54c61
lmdb: Use package cache when querying packages for dependencies
...
* Use package cache when querying packages for dependencies or library
names
* Avoid manual instantiations of `std::shared_ptr<Package>`
2022-01-21 20:35:43 +01:00
Martchus
2ffa6629c8
lmdb: Use lmdb to store packages and dependency indices
2022-01-18 21:50:53 +01:00
Martchus
ace478be22
Fix tests when test working directory is on another device
...
* Fallback to copying if hard link creation fails due to cross device link
2021-09-30 22:22:22 +02:00
Martchus
c68202bdc1
Add test for repository cleanup
2021-08-29 00:29:26 +02:00
Martchus
e5f4057c61
Use BufferSearch from c++utilities
2021-07-16 16:01:23 +02:00
Martchus
49aebdd8a5
Fix typos found via `codespell --skip .git -w`
2021-07-03 19:59:57 +02:00
Martchus
3a797bc8b6
Adapt test to fixed behavior of splitString*() to preserve last empty part
2021-05-16 19:43:16 +02:00
Martchus
1c75e8f957
Allow signing packages manually after the build
...
Simply adding `--sign` to the `makepkg` flags doesn't work because it would
require setting up GPG within the chroot environment (of `makechrootpkg`).
When debugging it is anyways annoying that `makepkg` sends the `gpg` output
to `/dev/null`. This way the logs are preserved.
2021-03-14 21:53:51 +01:00
Martchus
6b274ccc88
Improve log messages
2021-02-08 23:54:03 +01:00
Martchus
aa356944da
Log process IDs of started sub processes
2021-02-08 23:54:02 +01:00
Martchus
c1554f4c87
Initial import
2021-02-08 23:53:56 +01:00