Commit Graph

46 Commits

Author SHA1 Message Date
Christoph Reiter
8934701f70 CI: update GH actions 2025-10-27 09:42:37 +01:00
Christoph Reiter
8b396245ca Revert "Remove astral-sh/setup-uv again, it's slow"
This reverts commit a211548f50.

pipx is even slower
2025-10-23 09:13:59 +02:00
Christoph Reiter
a211548f50 Remove astral-sh/setup-uv again, it's slow
especially on Windows
2025-10-23 09:11:52 +02:00
Christoph Reiter
995ada1927 another missing cache glob 2025-10-22 08:55:20 +02:00
Christoph Reiter
d238deeb04 generate-srcinfo: set a cache glob for uv
so it doesn't complain about not finding one
2025-10-22 08:41:54 +02:00
Christoph Reiter
e7a86b93ad generate-srcinfo: move to uv 2025-10-22 08:36:25 +02:00
Christoph Reiter
0eecc2cf48 generate-srcinfo: map ignored CVEs into the cdx sbom
See ef673c9802
2025-09-07 15:17:50 +02:00
Christoph Reiter
57af559e25 generate-srcinfo: move to new sbom fixup command
See 7459bff72b
2025-09-07 11:14:17 +02:00
Christoph Reiter
2c09465d19 generate-srcinfo: merge grype commands
it can generate multiple formats in one go
2025-09-07 10:03:56 +02:00
Christoph Reiter
72b7663813 generate-srcinfo: include fixed versions in the SBOM
See c7d0333481
2025-09-06 17:36:58 +02:00
Christoph Reiter
02e323699f CI: sync generate-srcinfo.yml 2025-08-05 07:20:20 +02:00
Christoph Reiter
e349a29314 generate-srcinfo: specify new extras for msys2-devtools
See https://github.com/msys2/msys2-devtools/pull/11
2025-02-16 15:35:04 +01:00
Christoph Reiter
e192439423 setup-python: disable caching, we have no checkout here 2024-12-23 14:33:14 +01:00
Christoph Reiter
3257bcf704 CI: Adjust for msys2-sbom changes
We now have to do some post processing after the grype scan (see
da03cb0a01),
which means we need to install msys2-devtools in the linux step.

So might as well move various things from the Windows job to the Linux one.
2024-12-23 14:29:10 +01:00
Christoph Reiter
92b0e892ad CI: move to windows-2025 2024-12-19 22:45:38 +01:00
Christoph Reiter
64c2973c63 CI: upload the srcinfo before uploading the rest
to make it easier to debug
2024-09-08 16:08:15 +02:00
Christoph Reiter
c9012e4639 CI: use the new setup-msys2 output for finding the install location 2024-08-03 14:10:01 +02:00
Christoph Reiter
1a4b510ce7 CI: do a treeless clone in case we need the history
See https://github.com/msys2/MINGW-packages/pull/21022
2024-05-29 22:20:26 +02:00
Christoph Reiter
302a39cdab CI: run grype to scan the sbom 2024-03-23 17:29:47 +01:00
Christoph Reiter
0cee9ee349 CI: generate and upload a SBOM 2024-03-20 08:28:14 +01:00
Christoph Reiter
d88b091230 CI: Update actions/setup-python 2024-01-27 16:39:29 +01:00
Christoph Reiter
4ccf4c2350 Reapply "CI: update actions"
This reverts commit fb9ca5d424.
2024-01-20 13:26:38 +01:00
Christoph Reiter
fb9ca5d424 Revert "CI: update actions"
This reverts commit 100f27d7c6.

It's broken: https://github.com/actions/download-artifact/issues/249
2024-01-05 17:58:06 +01:00
Christoph Reiter
100f27d7c6 CI: update actions 2023-12-28 18:34:29 +01:00
Christoph Reiter
d53b16bbfe CI: Update to actions/checkout@v4 2023-09-20 10:56:05 +02:00
Christoph Reiter
06d65d3b6c Remove PKGMETA.yml
msys2-pypi-cache now reads the srcinfo file instead of PKGMETA.yml
2023-09-17 21:12:43 +02:00
Christoph Reiter
e1353dfbe4 generate-srcinfo: sync with mingw packages 2023-07-03 19:44:10 +02:00
Christoph Reiter
46f3ed1e9b CI: use Python 3.11 2023-05-30 17:39:49 +02:00
Christoph Reiter
6af42267da 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:38:56 +02:00
Christoph Reiter
a58e8247e8 CI: remove lint_pkgbuild hackery
this is now disabled by default in makepkg
2023-04-11 08:04:43 +02:00
Christoph Reiter
0821e5a5b9 CI: move ci-generate-srcinfo into msys2-devtools 2023-04-11 07:24:57 +02:00
Christoph Reiter
173931fd04 CI: sync CI scripts from MINGW-packages 2022-12-21 15:54:44 +01:00
Christoph Reiter
aacdf5b339 CI: Update actions and start using Python 3.10 2022-08-05 21:38:40 +02:00
Christoph Reiter
7f34768b46 generate-srcinfo: sync code with mingw-packages 2022-07-22 17:48:46 +02:00
Christoph Reiter
a9b2c93de2 CI: switch to windows-2022 2021-12-10 13:49:25 +01:00
Christoph Reiter
2e1d3d27a9 generate-srcinfo: sync with MINGW-packages 2021-09-12 18:48:23 +02:00
Christoph Reiter
07edae3bf6 CI: skip lint_pkgbuild when generating the srcinfo 2021-09-12 11:20:30 +02:00
Christoph Reiter
c12ad9205f CI: Trigger a website update after updating srcinfo.json 2021-05-16 19:12:05 +02:00
Christoph Reiter
12ec3e78ff CI: add write permissions for the upload-srcinfo job 2021-04-24 17:51:33 +02:00
Christoph Reiter
6c8879d86d CI: only one generate-srcinfo job at any time
To make sure the last one uploads last
2021-04-21 21:54:42 +02:00
Christoph Reiter
9bd31c29e7 Move CI scripts into a subdir 2020-12-21 21:19:29 +01:00
Christoph Reiter
d0b66c7175 CI: makepkg only requires binutils/strip 2020-10-25 09:14:06 +01:00
jeremyd2019
9de8ca6a46 CI: allow update-srcinfo workflow_dispatch on forks
To allow for testing/working on the workflow.
2020-08-21 21:45:15 -07:00
jeremyd2019
55a3526669 CI: disable update-srcinfo on forks
This workflow is meant to generate a file that msys2-web consumes, and just generates meaningless errors on forks.
2020-08-21 16:50:32 -07:00
Christoph Reiter
8bc45aadc8 generate-scrinfo: make curl fail if the download fails 2020-08-18 20:13:56 +02:00
Christoph Reiter
892eb30bea Add a CI job for creating SRCINFO for all packages in the repo
It caches them on a github release and updates them as the repo changes.

This will be used by packages.msys2.org to show the content of the repo.
2020-08-18 19:16:03 +02:00