Skip to content

Commit 8e529f2

Browse files
committed
Bump to OOD version 3.0
1 parent 05c70d7 commit 8e529f2

5 files changed

Lines changed: 6 additions & 9 deletions

File tree

ondemand/Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
ARG HPCTS_VERSION=latest
22

33
FROM --platform=linux/amd64 ubccr/hpcts:slurm-${HPCTS_VERSION} as stage-amd64
4-
RUN dnf install -y https://yum.osc.edu/ondemand/2.0/ondemand-release-web-2.0-1.noarch.rpm
4+
RUN dnf install -y https://yum.osc.edu/ondemand/3.0/ondemand-release-web-3.0-1.noarch.rpm
55
RUN dnf install -y netcat ondemand ondemand-dex
6-
RUN sed -i 's/\-nohttpd//' /opt/ood/ondemand/root/usr/share/gems/2.7/ondemand/2.0.27/gems/ood_core-0.19.0/lib/ood_core/batch_connect/templates/vnc.rb
76

87
FROM --platform=linux/arm64 ubccr/hpcts:slurm-${HPCTS_VERSION} as stage-arm64
98
RUN dnf install -y file lsof sudo gcc gcc-c++ git \
@@ -16,7 +15,6 @@ COPY . /build
1615
RUN /build/install-dex-arm64.sh
1716
RUN /build/install-passenger-arm64.sh
1817
RUN /build/install-ood-arm64.sh
19-
RUN sed -i 's/\-nohttpd//' /usr/share/gems/gems/ood_core-0.19.0/lib/ood_core/batch_connect/templates/vnc.rb
2018
RUN rm -rf /build
2119

2220
ARG TARGETARCH
@@ -35,6 +33,4 @@ COPY notebook_data /data/notebook_data
3533
COPY initializers/dashboard.rb /etc/ood/config/apps/dashboard/initializers/dashboard.rb
3634
COPY themes/hpc-coop /usr/share/ondemand-dex/web/themes/hpc-coop
3735

38-
RUN sed -i '/ passenger_load_shell_envvars off;/a passenger_preload_bundler on;' /opt/ood/nginx_stage/templates/pun.conf.erb
39-
4036
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

ondemand/cluster-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ v2:
1313
vnc:
1414
script_wrapper: |
1515
export PATH="/opt/TurboVNC/bin:$PATH"
16-
export WEBSOCKIFY_CMD="/usr/bin/websockify"
16+
export WEBSOCKIFY_CMD="/usr/local/bin/websockify"
1717
%s
1818
custom:
1919
xdmod:

ondemand/install-dex-arm64.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ log_info() {
77
printf "\n\e[0;35m $1\e[0m\n\n"
88
}
99

10-
DEX_VERSION=${DEX_VERSION:-2.31.1}
11-
DEX_PATCH_VERSION=${DEX_PATCH_VERSION:-703e26bc109e86d00be22ef1803bdb96b2dc09e2}
10+
DEX_VERSION=${DEX_VERSION:-2.32.0}
11+
DEX_PATCH_VERSION=${DEX_PATCH_VERSION:-9366a1969bd656daa1df44e0bdd02f14437ed466}
1212

1313
dnf install -y golang-bin
1414
log_info "Install dex ${DEX_VERSION}..."

ondemand/install-ood-arm64.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ sh autogen.sh
2828
make && make install
2929

3030
cd $BUILD_DIR
31-
OOD_VERSION='2.0.27'
31+
OOD_VERSION='3.0.0'
3232
wget "https://github.com/OSC/ondemand/archive/refs/tags/v$OOD_VERSION.tar.gz"
3333
tar -xf "v$OOD_VERSION.tar.gz"
3434
cd ondemand-$OOD_VERSION

ondemand/install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ ssl:
3838
node_uri: "/node"
3939
rnode_uri: "/rnode"
4040
oidc_scope: "openid profile email groups"
41+
dex_uri: false
4142
dex:
4243
client_redirect_uris:
4344
- "https://localhost:4443/simplesaml/module.php/authoidcoauth2/linkback.php"

0 commit comments

Comments
 (0)