Skip to content

Commit

Permalink
Upgrade dependencies for v2024.3. (#838)
Browse files Browse the repository at this point in the history
* Use node 22.12.0 Docker images

* Upgrade Enketo

* Fix dependency vulnerabilities

* Use pyxform 3.0.0
  • Loading branch information
lognaturel authored Dec 10, 2024
1 parent 0f7bad6 commit 801ab50
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
submodules: recursive
- uses: actions/setup-node@v4
with:
node-version: 20.17.0
node-version: 22.12.0
- run: cd test && npm i
- run: cd test && ./run-tests.sh

Expand Down
2 changes: 1 addition & 1 deletion client
Submodule client updated 394 files
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ services:
options:
max-file: "30"
pyxform:
image: 'ghcr.io/getodk/pyxform-http:v2.1.1'
image: 'ghcr.io/getodk/pyxform-http:v3.0.0'
restart: always
secrets:
volumes:
Expand Down
2 changes: 1 addition & 1 deletion enketo.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/enketo/enketo:7.4.0
FROM ghcr.io/enketo/enketo:7.5.0

ENV ENKETO_SRC_DIR=/srv/src/enketo/packages/enketo-express
WORKDIR ${ENKETO_SRC_DIR}
Expand Down
2 changes: 1 addition & 1 deletion nginx.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.17.0-slim AS intermediate
FROM node:22.12.0-slim AS intermediate

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
Expand Down
2 changes: 1 addition & 1 deletion secrets.dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM node:20.17.0-slim
FROM node:22.12.0-slim

COPY files/enketo/generate-secrets.sh ./
2 changes: 1 addition & 1 deletion server
Submodule server updated 126 files
2 changes: 1 addition & 1 deletion service.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG node_version=20.17.0
ARG node_version=22.12.0



Expand Down
26 changes: 15 additions & 11 deletions test/mock-http-server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 801ab50

Please sign in to comment.