-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add image-builder-frontend specfile (HMS-5221) #2701
base: main
Are you sure you want to change the base?
Conversation
This depends on #2603 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
@@ Coverage Diff @@
## main #2701 +/- ##
=======================================
Coverage 84.86% 84.86%
=======================================
Files 183 183
Lines 20783 20783
Branches 2018 2018
=======================================
Hits 17638 17638
Misses 3123 3123
Partials 22 22
Continue to review full report in Codecov by Sentry.
|
2f54f62
to
831bfa0
Compare
831bfa0
to
4b42ab5
Compare
4b42ab5
to
15d62f5
Compare
Remove `npm ci` from the build target since setting the NODE_ENV to production means that the dev dependencies aren't installed. See: osbuild#2701 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! A few comments, also we could add a packit config to start building rpms:
upstream_project_url: https://github.com/osbuild/image-builder-frontend
specfile_path: cockpit/image-builder-frontend.spec
upstream_package_name: cockpit-composer
downstream_package_name: cockpit-composer
# use the nicely formatted release description from our upstream release, instead of git shortlog
copy_upstream_release_description: true
actions:
create-archive: make dist
srpm_build_deps:
- make
- npm
jobs:
- job: copr_build
trigger: pull_request
targets: &build_targets
- centos-stream-9
- centos-stream-10
- fedora-all
Remove `npm ci` from the build target since setting the NODE_ENV to production means that the dev dependencies aren't installed. See: osbuild#2701 (comment)
6e06def
to
e44de56
Compare
Remove `npm ci` from the build target since setting the NODE_ENV to production means that the dev dependencies aren't installed. See: osbuild#2701 (comment)
e44de56
to
4698630
Compare
Remove `npm ci` from the build target since setting the NODE_ENV to production means that the dev dependencies aren't installed. See: osbuild#2701 (comment)
4698630
to
5fc7289
Compare
/retest |
/packit build |
No config file for packit (e.g. For more info, please check out the documentation or contact the Packit team. You can also use our CLI command |
Ah right, I put it in the cockpit dir. I'll move it to the top level |
5fc7289
to
aa43e58
Compare
On a general note, wouldn't it make more sense to ship this as |
Since we are building the project under `cockpit-composer` we should change the `BLUEPRINTS_DIR` constant.
Add a simple install target that we can reference in the specfile.
Remove `npm ci` from the build target since setting the NODE_ENV to production means that the dev dependencies aren't installed. See: osbuild#2701 (comment)
aa43e58
to
da66287
Compare
Failed to load packit config file:
For more info, please check out the documentation or contact the Packit team. You can also use our CLI command |
2 similar comments
Failed to load packit config file:
For more info, please check out the documentation or contact the Packit team. You can also use our CLI command |
Failed to load packit config file:
For more info, please check out the documentation or contact the Packit team. You can also use our CLI command |
da66287
to
aadd28a
Compare
This is almost a straight copy from the cockpit-composer repo.
Add some targets to help build rpm and srpms.
Remove `npm ci` from the build target since setting the NODE_ENV to production means that the dev dependencies aren't installed. See: osbuild#2701 (comment)
Add the initial packit config so we can push copr rpms for each pr. Co-authored-by: Gianluca Zuccarelli <[email protected]>
aadd28a
to
e164b63
Compare
This makes good sense to me. I'm not sure that either myself or @kingsleyzissou have enough experience packing in Fedora to make this happen in a reasonable amount of time... we'd need to rely on your help pretty heavily @thozza, would you mind helping us get this into Rawhide? |
It somewhat depends on the timeframe. If we want to ship it in RHEL 10.0, the cockpit-composer shortcut (while being ugly) might be the only way. |
This does make sense for Fedora though we might run across issues during review as it's not clear which @ondrejbudai That might work for RHEL but it'd be very weird to do in Fedora, is there a way we can split this or is it too much maintenance? |
This PR adds the initial specfile to the project and convenience scripts in the Makefile to build rpms and srpms
/jira-epic COMPOSER-2411
JIRA: HMS-5221