Commit Graph

57 Commits

Author SHA1 Message Date
Christoph Reiter
577191dbf2 CI: update GH actions 2025-10-27 09:44:23 +01:00
Christoph Reiter
7ece3bb493 generate-srcinfo: sync from MSYS2-packages 2025-10-22 08:56:04 +02:00
Christoph Reiter
e96aeb784d generate-srcinfo: map ignored CVEs into the cdx sbom
See ef673c9802
2025-09-07 15:03:07 +02:00
Christoph Reiter
aa0a73fca7 generate-srcinfo: move to new sbom fixup command
See 7459bff72b
2025-09-07 11:07:40 +02:00
Christoph Reiter
a6d345ca35 generate-srcinfo: merge grype commands
it can generate multiple formats in one go
2025-09-07 10:02:34 +02:00
Christoph Reiter
19c58b7fbf generate-srcinfo: include fixed versions in the SBOM
See c7d0333481
2025-09-06 17:22:11 +02:00
Christoph Reiter
243fb1907d CI: use the current remote grype DB info as a cache key
so we don't create a new cache on every run
2025-08-04 23:01:27 +02:00
Christoph Reiter
abf928417d CI: try to cache the grype DB 2025-08-04 19:20:34 +02:00
Christoph Reiter
60c11611dc CI: revert to windows-2022 for now
see https://github.com/msys2/MINGW-packages/pull/24677#issuecomment-3017919467
2025-06-30 08:20:40 +02:00
Christoph Reiter
9dbe3e3a49 generate-srcinfo: specify new extras for msys2-devtools
See https://github.com/msys2/msys2-devtools/pull/11
2025-02-16 15:26:43 +01:00
Christoph Reiter
9f766f74ce CI: sync generate-srcinfo from MSYS2-packages
for sbom generation changes
2024-12-23 14:39:03 +01:00
Christoph Reiter
22c8c14d93 CI: move to windows-2025 2024-12-19 22:44:31 +01:00
Christoph Reiter
5b592bb63a CI: use the new setup-msys2 output for finding the install location 2024-08-03 14:08:21 +02:00
Christoph Reiter
c02daa2412 CI: do a treeless clone in case we need the history
For cases where we pass "fetch-depth: 0" to get teh full history,
enable a treeless clone, since we only care about old commits, and
not much more.

This should speed up cloning in theory.
2024-05-29 21:53:16 +02:00
Christoph Reiter
f0566fe0ad CI: run grype to scan the sbom 2024-03-23 18:08:29 +01:00
Christoph Reiter
d79dc85af9 CI: generate and upload a SBOM 2024-03-19 09:07:01 +01:00
Christoph Reiter
2e39da1ee9 CI: Update actions/setup-python 2024-01-27 16:38:24 +01:00
Christoph Reiter
e1ccb5ea9c Reapply "update GitHub Actions"
This reverts commit 2dc3e02217.
2024-01-20 13:26:04 +01:00
Christoph Reiter
2dc3e02217 Revert "update GitHub Actions"
This reverts commit 2ea7c5a706.

It's broken: https://github.com/actions/download-artifact/issues/249
2024-01-05 17:57:04 +01:00
مهدي شينون (Mehdi Chinoune)
2ea7c5a706 update GitHub Actions 2023-12-14 19:30:33 +01:00
Christoph Reiter
7dcaca8690 CI: Update to actions/checkout@v4 2023-09-20 10:53:45 +02:00
Christoph Reiter
4204b0f9ae CI: msys2-pypi-cache now reads from srcinfo 2023-09-17 21:21:48 +02:00
Christoph Reiter
ea670bbfc7 don't write a pypi.json.gz file if curl fails 2023-07-03 09:16:19 +02:00
Christoph Reiter
541c9e5ee1 CI: generate a pypi package cache
we might need to call this daily in the future
2023-07-03 09:08:37 +02:00
Christoph Reiter
821add74ba update-srcinfo: try to add some pip caching
we don't have an input file, so just use the workflow file
2023-06-02 10:24:53 +02:00
Christoph Reiter
808bd29fa7 CI: use Python 3.11 2023-05-30 17:37:02 +02:00
Christoph Reiter
3aa67a662c update-srcinfo: pass the python interpreter path to pipx
otherwise it will default to python on the image, which is 3.9
2023-05-30 17:33:13 +02:00
Christoph Reiter
8f29aa2f29 CI: remove lint_pkgbuild hackery
this is now disabled by default in makepkg
2023-04-11 08:03:24 +02:00
Christoph Reiter
656d5b5abc Revert "CI: try to cache pip downloads"
This reverts commit 8ed4b873f4.
2023-04-11 07:22:22 +02:00
Christoph Reiter
8ed4b873f4 CI: try to cache pip downloads 2023-04-11 07:15:06 +02:00
Christoph Reiter
a21c9beca9 CI: move ci-generate-srcinfo into msys2-devtools 2023-04-11 06:53:38 +02:00
Christoph Reiter
b3369ca489 CI: Update actions/setup-python and start using Python 3.10 2022-08-05 21:36:28 +02:00
Christoph Reiter
63cb78a4b9 generate-srcinfo: compress the json file
The content for all environments is very similar, so this compresses
really well.
2022-07-22 17:39:32 +02:00
Mehdi Chinoune
4b13ec07cd GHA: update actions to v3 (node16) 2022-03-07 07:35:40 +01:00
Christoph Reiter
463763bd00 CI: create a dummy strip.exe instead of installing binutils
When parsing PKGBUILDs it wont be used, but makepkg requires
it to be in PATH anyway.
2022-01-09 20:53:35 +01:00
Christoph Reiter
880f0c9ff3 CI: remove workaround for makepkg-mingw complaining about the toolchain missing
makepkg-mingw no longer emits those warnings
2022-01-09 20:16:41 +01:00
Christoph Reiter
0ca9cf2ae0 CI: only install the C compiler instead of the whole toolchain group
See https://github.com/msys2/MINGW-packages/discussions/10506

This is an intermediate step. It results in CI installing fewer packages
by default before building, but makepkg-mingw will not complain since
it only checks for the C compiler when checking for the group.

If this works out we can update the docs and remove the install alltogether.
2022-01-09 07:48:09 +01:00
Christoph Reiter
e43a0ec6ae CI: switch to windows-2022 2021-12-10 13:47:52 +01:00
Christoph Reiter
b4cc23ea37 generate-srcinfo: add names for all custom steps 2021-09-12 17:50:06 +02:00
Christoph Reiter
02a372f557 upload-srcinfo: pass a repo
otherwise it tries to fetch from .git, which doesn't exist here
2021-09-12 16:42:30 +02:00
Christoph Reiter
ad501c202f CI: use the GH cli to upload the srcinfo cache
Does all we need here and doesn't need docker
2021-09-12 16:37:17 +02:00
Christoph Reiter
602084216d Forgot to remove the default shell 2021-09-12 16:20:49 +02:00
Christoph Reiter
696f844b4e generate-srcinfo: use native Python and git
Should make things a bit faster, and more reliable.
2021-09-12 16:17:56 +02:00
Christoph Reiter
22ad01c8ac CI: skip lint_pkgbuild when generating the srcinfo 2021-09-12 11:18:49 +02:00
Jeremy Drake
0263ebda7d CI: use -u (unbuffered) option to python
for generate-srcinfo.  It prints out as it parses each PKGBUILD, but
that's never seen while the job is running.
2021-08-26 10:27:39 -07:00
Christoph Reiter
705ba7058e CI: Trigger a website update after updating srcinfo.json 2021-05-16 19:32:36 +02:00
Christoph Reiter
a9d0da3322 update-srcinfo: clang32 uses clang.. 2021-04-25 15:36:27 +02:00
Christoph Reiter
841fdace5f update-srcinfo: silence warnings for clang builds 2021-04-25 15:26:05 +02:00
Christoph Reiter
f11b3d2a81 CI: add write permissions for the upload-srcinfo job 2021-04-24 17:50:22 +02:00
Christoph Reiter
17bdbfcdc8 CI: only one generate-srcinfo at any time
this makes sure the last one uploads last
2021-04-21 21:45:03 +02:00