Skip to content
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

drop node dependencies which are unused for building #7022

Merged
merged 1 commit into from
Aug 24, 2021

Conversation

evgeni
Copy link
Member

@evgeni evgeni commented Aug 20, 2021

No description provided.

@evgeni evgeni changed the title Deb/develop speedup simple speedup debian building by using less node Aug 20, 2021
@ehelms
Copy link
Member

ehelms commented Aug 20, 2021

[test packaging]

@ekohl
Copy link
Member

ekohl commented Aug 23, 2021

Depends on theforeman/foreman#8731

@evgeni evgeni marked this pull request as ready for review August 24, 2021 07:16
@evgeni evgeni changed the title speedup debian building by using less node drop node dependencies which are unused for building Aug 24, 2021
@evgeni
Copy link
Member Author

evgeni commented Aug 24, 2021

all my changes to core have been merged, so this is now just a simple "call a script and carry on" PR 😹

@evgeni
Copy link
Member Author

evgeni commented Aug 24, 2021

one thing this also should help with, is plugin building.
when you build a plugin, it needs to install foreman-assets, which takes ~2min to unpack all the content -- less content in there now = faster to unpack \o/

@@ -16,6 +16,7 @@ build:
/bin/rm -f bundler.d/test.rb bundler.d/development.rb
/bin/sed -i '2i gem "puma-status"' bundler.d/service.rb
BUNDLE_BUILD__SASSC=--disable-march-tune-native BUNDLE_RETRY=5 BUNDLE_JOBS=4 /usr/bin/bundle package
/usr/bin/python script/filter-package-json.py
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not executable with a shebang?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not (and the shebang is using py3, which we don't install by default -- the script works with py2 and 3 identically)

@ekohl ekohl merged commit aca4fa5 into theforeman:deb/develop Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants