Skip to content

Commit

Permalink
github actions: Add an offline build for el9
Browse files Browse the repository at this point in the history
  - 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 #1564 upgraded the project to webpack 5
  • Loading branch information
sjd78 committed Jun 8, 2022
1 parent d8f6a75 commit fa3e343
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
test_el8_offline:
name: EL8 - test, build and publish rpm repo for the PR (ovirt-engine-nodejs-modules build)
name: EL8 (ovirt-engine-nodejs-modules build) - test, build and publish rpm repo for the PR
env:
OFFLINE_BUILD: 1

Expand All @@ -35,7 +35,7 @@ jobs:
directory: exported-artifacts/

test_el8_online:
name: EL8 - test and build the PR, but skip the rpm builds (online build)
name: EL8 (online build) - test and build the PR, but skip the rpm builds

runs-on: ubuntu-latest
container:
Expand All @@ -60,3 +60,24 @@ jobs:
# need 1 rpm repo artifact per distro. The rpm repo is generated from the
# offline build.
#

test_el9_offline:
name: EL9 (ovirt-engine-nodejs-modules build) - Test, build and publish rpm repo for the PR
env:
OFFLINE_BUILD: 1

runs-on: ubuntu-latest
container:
image: quay.io/ovirt/buildcontainer:el9stream

steps:
- name: Checkout sources
uses: actions/checkout@v2

- name: Run automation/build.sh (installs build dependencies as necessary)
run: ./automation/build.sh

- name: Upload artifacts as rpm repo
uses: ovirt/upload-rpms-action@v2
with:
directory: exported-artifacts/

0 comments on commit fa3e343

Please sign in to comment.