Commit graph

17 commits

Author SHA1 Message Date
Martin Pitt
075846a067 packit: Enable CentOS Stream 10 tests 2024-04-15 12:54:50 +02:00
Laura Barcziová
d44181a110 Add missing build job(s) to Packit config
Packit will now additionally require for each test job requiring build
a build job definition to be present in the Packit configuration file. See details
in https://github.com/packit/packit-service/issues/1775.
2023-04-19 17:45:11 +02:00
Martin Pitt
c499257ec8 packit: Move to nodejs-npm SRPM dependency
`npm` recently became broken in Fedora and doesn't provide the `npm`
binary any more. As a workaround, move to `nodejs-npm` to fix the srpm
build.
2023-04-18 13:12:57 +02:00
Martin Pitt
aeb81718e7 packit: Enable tests on aarch64 2023-03-28 11:48:13 +02:00
Jelle van der Waa
6b659f1e74
packit.yml: drop deprecated metadata key
The packit docs no longer mention the metadata key as required.
https://packit.dev/docs/configuration/#supported-jobs
2022-07-15 14:29:07 +02:00
Martin Pitt
f5faff051b Move release from cockpituous to action-release and packit
This gets rid of our "release" environment with high-profile secrets,
and the cockpituous/release infra.

The upstream release uses our shared
https://github.com/cockpit-project/action-release/ action.
2022-06-07 17:09:25 +02:00
Martin Pitt
607fbae9d2 packit: Fix indentation
Use standard indentation for lists underneath a dictionary key. Leave
some space between the larger top-level keys.
2022-06-07 17:09:25 +02:00
Martin Pitt
51292fbc25 packit: Drop obsolete sandcastle hack
Since commit 9d4c08ff2a, SRPM builds happen in COPR, so we can drop the
sandcastle hack.

Also drop the duplicated `post-upstream-clone` key.
2022-06-07 17:09:25 +02:00
Martin Pitt
c639ffc276 Move example COPR release to packit
This replaces the cockpituous job.
2022-05-03 10:30:13 +02:00
Tomas Tomecek
9d4c08ff2a packit: build SRPM in Copr
and be able to specify the precise list of deps needed to create the
SRPM

Details: https://packit.dev/posts/copr-srpms/

Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
2022-03-10 16:29:53 +01:00
Martin Pitt
c04d951964 packit: Run tests on CentOS 9 stream 2021-11-16 15:20:32 +01:00
Martin Pitt
72c15c4b82 packit: Enable CentOS Stream 8 2021-10-07 12:38:03 +02:00
Martin Pitt
9574611768 Rebuild webpack during RPM build
This is necessary to comply with Fedora's packaging policy:
https://docs.fedoraproject.org/en-US/packaging-guidelines/JavaScript/

Include the node cache in the source rpm, unpack it into the main source
dir, and force a webpack rebuild in `%build`.
2021-09-10 17:50:06 +02:00
Martin Pitt
4ca75f143c Move to xz dist tarballs
For consistency with the already xz'ed node tarball.

Rename the oddly named `dist-gzip` target to the standard `dist`.
2021-09-10 17:50:06 +02:00
Martin Pitt
a509dde986 Update terser-webpack-plugin
Following our other projects.
2021-07-27 09:42:10 +02:00
Martin Pitt
0edc3e6c53 packit: Build in development mode
With recent NPM/sandcastle versions, production mode and its additional
optimizations don't fit any more into the 768 MB RAM of sandcastle
containers. Build in development mode, which skips the optimization
steps.

Taken from 7000b4460e
2021-05-31 08:50:49 +02:00
Martin Pitt
a26f4048c2 packit: Enable RPM builds and Fedora testing
Teach `make dist-gzip` to print the tarball name as last line, and use
it as `create-archive` action.

Add a `make print-version` command which packit can use. The builtin
default only works if there is at least one git tag, which is not the
case for starter-kit (which is never released).
2021-03-04 11:25:53 +01:00