File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed
Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 33set -x
44
55cd $( pwd)
6- export DISTRO_ID={$DISTRO_ID }
7- source .evergreen/setup-env.sh
86
9- echo " DISTRO ID IS: $DISTRO_ID "
7+ source .evergreen/setup-env.sh
108
119# make sure our .sbom files are freshly created
1210rm -vrf .sbom && mkdir -vp .sbom
@@ -19,12 +17,6 @@ if uname -a | grep -q 'Linux.*x86_64'; then
1917 export CXX=" $PWD /tmp/.sccache/sccache g++"
2018fi
2119
22- # Needed to ensure Python 3.6 support which is the oldest one that's available out-of-the-box on the rhel70 hosts.
23- if [[ " ${DISTRO_ID} " =~ ^(rhel) ]]; then
24- echo " RUNNING NODE-GYP@9"
25- npm install node-gyp@9 --verbose --force
26- fi
27-
2820rm -rf /tmp/m && mkdir -pv /tmp/m # Node.js compilation can fail on long path prefixes
2921trap " rm -rf /tmp/m" EXIT
3022export TMP=/tmp/m
Original file line number Diff line number Diff line change @@ -5,6 +5,13 @@ npm ci --verbose
55
66echo " MONOGDB_DRIVER_VERSION_OVERRIDE:$MONOGDB_DRIVER_VERSION_OVERRIDE "
77
8+ echo " DISTRO ID: $DISTRO_ID "
9+ # Needed to ensure Python 3.6 support which is the oldest one that's available out-of-the-box on the rhel70 hosts.
10+ if [[ " ${DISTRO_ID} " =~ ^(rhel) ]]; then
11+ echo " RUNNING NODE-GYP@9"
12+ npm install node-gyp@9 --verbose --force
13+ fi
14+
815# if MONOGDB_DRIVER_VERSION_OVERRIDE is set, then we want to replace the package version
916if [[ -n " $MONOGDB_DRIVER_VERSION_OVERRIDE " ]]; then
1017 export REPLACE_PACKAGE=" mongodb:$MONOGDB_DRIVER_VERSION_OVERRIDE "
You can’t perform that action at this time.
0 commit comments