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

github actions: Add an offline build for el9 #1563

Merged
merged 2 commits into from
Jun 9, 2022
Merged

Conversation

sjd78
Copy link
Member

@sjd78 sjd78 commented Jan 28, 2022

Note: This PR will not pass the any EL9 test jobs until the project is upgraded to at least webpack v5.61.0.

Yay #1564 upgraded webpack.

Summary of Changes:

  • The job will run in oVirt's build container quay.io/ovirt/buildcontainer:el9stream.

  • Due to a change in nodejs packaged with centos-stream-9 with respect to what openssl is linked,and a hashing function used by webpack 4, the project required upgrading webpack to ^5.61.0 to make the build work. This includes the nodejs 16.10.0 version used by default on stream-9.

  • Upgrade babel-loader for OpenSSL 3 compatibility. Following the same hash function issue from webpack4 to webpack5, upgrade the babel-loader webpack loader. See release notes for the OpenSSL v3 hash function change.

See webpack/webpack#14532 for details, specifically my comment: webpack/webpack#14532 (comment).

Pre-seed: oVirt/ovirt-engine-nodejs-modules#24

@sjd78 sjd78 requested review from rszwajko and sgratch January 28, 2022 22:31
@oVirt oVirt deleted a comment from ovirt-infra Feb 15, 2022
@ovirt-infra
Copy link

All tests passed

@sjd78 sjd78 marked this pull request as draft February 17, 2022 15:12
@ovirt-infra
Copy link

All tests passed

@sjd78
Copy link
Member Author

sjd78 commented Mar 3, 2022

Fix #1568 before finishing this PR.

@ovirt-infra
Copy link

All tests passed

@sjd78
Copy link
Member Author

sjd78 commented May 31, 2022

Should work after #1564

@ovirt-infra
Copy link

All tests passed

@sjd78 sjd78 force-pushed the actions_el9 branch 2 times, most recently from fa3e343 to 3505d91 Compare June 8, 2022 15:08
@sjd78 sjd78 marked this pull request as ready for review June 8, 2022 15:08
@ovirt-infra
Copy link

All tests passed

2 similar comments
@ovirt-infra
Copy link

All tests passed

@ovirt-infra
Copy link

All tests passed

sjd78 added a commit to sjd78/ovirt-engine-nodejs-modules that referenced this pull request Jun 8, 2022
michalskrivanek pushed a commit to oVirt/ovirt-engine-nodejs-modules that referenced this pull request Jun 9, 2022
  - The job will run in oVirt's build container
    `quay.io/ovirt/buildcontainer:el9stream`

  - Due to a change in nodejs packaged with centos-stream-9 with
    respect to what openssl is linked, and a hashing function used by
    webpack 4, the project required upgrading webpack to ^5.61.0 to
    make the build work.  This includes the nodejs 16.10.0 version used
    by default on stream-9.
    See webpack/webpack#14532 for details.

  - PR oVirt#1564 upgraded the project to webpack 5
@ovirt-infra
Copy link

All tests passed

@ovirt-infra
Copy link

All tests passed

@ovirt-infra
Copy link

All tests passed

Following the same hash function issue from webpack4 to webpack5,
upgrade the `babel-loader` webpack loader.  See (1) for the OpenSSL v3
hash function change.

Note: Only the caching the loader includes uses the hash function.
Disabling the cache also fixes the OpenSSL3 build issue.

1: https://github.com/babel/babel-loader/releases/tag/v8.2.4
@ovirt-infra
Copy link

All tests passed

@sjd78 sjd78 merged commit 54ee383 into oVirt:master Jun 9, 2022
@sjd78 sjd78 deleted the actions_el9 branch June 28, 2022 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants