forked from cockpit-project/cockpit-podman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackit.yaml
26 lines (26 loc) · 875 Bytes
/
packit.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
specfile_path: cockpit-podman.spec
upstream_package_name: cockpit-podman
downstream_package_name: cockpit-podman
actions:
post-upstream-clone: make cockpit-podman.spec
# build in development mode; production mode uses too much memory for limited
# sandcastle containers; also reduce memory consumption of webpack
# https://github.com/packit/sandcastle/pull/92
# https://medium.com/the-node-js-collection/node-js-memory-management-in-container-environments-7eb8409a74e8
create-archive:
- make NODE_ENV=development NODE_OPTIONS=--max-old-space-size=500
# dummy LICENSE.txt, as terser did not run
- touch dist/index.js.LICENSE.txt.gz
- make dist
srpm_build_deps:
- make
- npm
jobs:
- job: tests
trigger: pull_request
metadata:
targets:
- fedora-35
- fedora-36
- fedora-development
- centos-stream-9-x86_64