David Macek
c82ac85098
Print asset uploads
2020-08-27 21:33:45 +02:00
Christoph Reiter
d3265c4af9
Rename repo
2020-08-16 12:31:58 +02:00
Christoph Reiter
7d41eefb8a
Add extra output groups for the build results
...
So they are not at the bottom of the long build log
2020-08-14 22:10:45 +02:00
Christoph Reiter
d43b438c7c
Let git clean fail
...
It exists with 1 in case the build has failed right before it (maybe it's racy..)
Let's hope this doesn't make a difference.
2020-08-14 22:03:58 +02:00
Christoph Reiter
c6dc768310
Enable pgp checks
...
See #14
2020-08-14 21:31:53 +02:00
Christoph Reiter
fd49c4f18b
Add a soft timeout after which no new build gets started
2020-08-14 21:14:54 +02:00
Christoph Reiter
d4bfdbed60
Always refresh to todo list right before the build
...
Otherwise we might build things twice if jobs overlap
2020-08-14 21:14:45 +02:00
Christoph Reiter
12f4438c98
Skip the build if there is nothing to do
2020-08-14 09:21:49 +02:00
Christoph Reiter
8d30e2cfd2
Switch from base64 to sha256 for asset names
...
GH doesn't like '=' either and also requires a file extension or it will add one.
2020-08-11 20:12:09 +02:00
Christoph Reiter
2d178562ac
Prevent GitHub from normalizing asset filenames
...
Our pacman packages can contain "~" in their name if they have an epoch set in
their version. GitHub will silently replace that with "." on upload.
To prevent this we use the base64 encoded version of the basename as the asset
name and set the label, which should remain unchanged and which is visible as the asset
name in the GH UI, to the real filename.
Fixes #15
2020-08-11 19:46:24 +02:00
Christoph Reiter
9c8729eb4e
oops
2020-08-09 10:55:19 +02:00
Christoph Reiter
b09ce45381
Accessing the current user doesn't work with the GHA token for some reason
...
Revert back to using the C env var to check if we are in CI.
2020-08-09 09:05:43 +02:00
Christoph Reiter
64b4cd1026
Only allow assets created via GHA
...
Abort if any of the used assets weren't created by GHA and skip
uploading files if not via GHA
2020-08-07 01:09:42 +02:00
Christoph Reiter
eccb3973e6
Fix a syntax "error"
...
can't use brackets to wrap context managers..
2020-08-06 23:43:11 +02:00
Christoph Reiter
4cb59bf355
show: include the package count in the group title
2020-08-06 23:17:19 +02:00
Christoph Reiter
3e575731dc
Use host Python for managing the build
...
The "build" command now requires python and git in PATH and takes
an additional argument for the MSYS2 root.
This makes sure that building packages doesn't depend on msys2 Python etc.
2020-08-06 23:11:28 +02:00
Christoph Reiter
f01f2c9409
Don't even try to build packages with missing dependencies
2020-08-04 09:04:47 +02:00
Christoph Reiter
a040e1ec26
Print the error stacktrace to stdout so it's grouped with the rest
2020-08-03 22:49:20 +02:00
Christoph Reiter
1fd796360b
Shorten git repo paths some more
...
cargo-c is failing again, not sure if related though
2020-08-03 22:28:14 +02:00
Christoph Reiter
a1336ee193
Only show the error message on missing deps
2020-08-03 22:23:48 +02:00
Christoph Reiter
5a92f9f10b
Add flake8 support
2020-08-03 22:00:42 +02:00
Christoph Reiter
31581f258e
Use download_asset() in fetch-assets
...
So it doesn't have to keep all files in memory
2020-08-03 21:52:35 +02:00
Christoph Reiter
1e8c984620
Use dependencies from staging for building
...
We download them and add them to a local repo so pacman
can install them for the build.
2020-08-03 21:32:42 +02:00
Christoph Reiter
e835e76959
Upload assets directly during the build
2020-08-02 17:08:09 +02:00
Christoph Reiter
d76edd60c5
Update/clean the package git repos between each build
2020-08-02 17:07:51 +02:00
Christoph Reiter
40db05a5f8
USe shlex for quoting shell arguments
2020-08-02 11:46:48 +02:00
Christoph Reiter
84b48faa56
Use makepkg-mingw also for creating the source package
2020-08-02 11:43:58 +02:00
Christoph Reiter
aec94c0c8c
Rename script to a be a bit more generic
2020-07-31 22:40:29 +02:00