Skip to content

Commit d83d938

Browse files
committed
Run Linux RPM in Rocky container
1 parent dc72eb4 commit d83d938

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/test-installers.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
# TODO: Re-enable (see https://github.com/mongodb-js/compass/actions/runs/13281152689/job/37079619474)
4343
# - linux_tar
4444
# TODO: Enable (needs a docker container)
45-
# - linux_rpm
45+
- linux_rpm
4646
hadron-distribution:
4747
- compass
4848
# - compass-readonly
@@ -81,10 +81,14 @@ jobs:
8181
# runs-on: ubuntu-latest
8282
# arch: x64
8383
# hadron-platform: linux
84-
# - package: linux_rpm
85-
# runs-on: ubuntu-latest
86-
# arch: x64
87-
# hadron-platform: linux
84+
- package: linux_rpm
85+
runs-on: ubuntu-latest
86+
arch: x64
87+
hadron-platform: linux
88+
container:
89+
image: rockylinux:9
90+
volumes:
91+
- ${{ github.workspace }}:/compass
8892

8993
# # Install the update server for auto-update tests
9094
# - test: auto-update-from
@@ -127,6 +131,7 @@ jobs:
127131
# test: time-to-first-query
128132

129133
runs-on: ${{ matrix.runs-on }}
134+
container: ${{ matrix.container }}
130135
env:
131136
DEBUG: compass:smoketests:*
132137
steps:
@@ -137,6 +142,10 @@ jobs:
137142
with:
138143
node-version: 20
139144
cache: "npm"
145+
- name: Install dependencies (on Rocky linux)
146+
if: matrix.container.image == 'rockylinux:9'
147+
run: dnf install -y sudo gcc gcc-c++ make git nss dbus xorg-x11-server-Xvfb
148+
140149
- name: Cache downloads
141150
uses: actions/cache@v4
142151
with:

0 commit comments

Comments
 (0)