Skip to content

Commit bf4d0b8

Browse files
Pin dependencies
1 parent 8e9e7b1 commit bf4d0b8

8 files changed

Lines changed: 24 additions & 24 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
# Label used to access the service container
99
db:
1010
# Docker Hub image
11-
image: postgres:16
11+
image: postgres:16@sha256:71e27bf60b70bded003791b5573f8b808365613f341df20ffcf0c1ed7bc13ddf
1212
# Set health checks to wait until postgres has started
1313
options: >-
1414
--health-cmd pg_isready
@@ -23,12 +23,12 @@ jobs:
2323
- 5432:5432
2424

2525
redis:
26-
image: redis:5.0.14
26+
image: redis:5.0.14@sha256:fc5ecd863862f89f04334b7cbb57e93c9790478ea8188a49f6e57b0967d38c75
2727
ports:
2828
- 6379:6379
2929

3030
opensearch:
31-
image: opensearchproject/opensearch:1.3.20
31+
image: opensearchproject/opensearch:1.3.20@sha256:0ecf20d1ec1b682fa1cf36c74900b547bd1d7da5817a14edf4236472e110863e
3232
env:
3333
network.host: "0.0.0.0"
3434
http.cors.enabled: "true"
@@ -40,7 +40,7 @@ jobs:
4040
- 9200:9200
4141

4242
steps:
43-
- uses: actions/checkout@v4
43+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
4444

4545
- name: Apt update
4646
run: sudo apt-get update -y
@@ -49,7 +49,7 @@ jobs:
4949
run: cat Aptfile | sudo xargs apt-get install
5050

5151
- name: Install uv
52-
uses: astral-sh/setup-uv@v7
52+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
5353
with:
5454
enable-cache: true
5555

@@ -135,17 +135,17 @@ jobs:
135135
DISABLE_WEBPACK_LOADER_STATS: 'True'
136136

137137
- name: Upload coverage to CodeCov
138-
uses: codecov/codecov-action@v4
138+
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4
139139
with:
140140
file: ./coverage.xml
141141

142142
javascript-tests:
143143
runs-on: ubuntu-latest
144144
steps:
145-
- uses: actions/checkout@v4
145+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
146146

147147
- name: Set up NodeJS
148-
uses: actions/setup-node@v5
148+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
149149
with:
150150
node-version: "14.18.2"
151151
cache: 'yarn'
@@ -178,6 +178,6 @@ jobs:
178178
run: node node_modules/webpack/bin/webpack.js --config webpack.config.prod.js --bail
179179

180180
- name: Upload coverage to CodeCov
181-
uses: codecov/codecov-action@v4
181+
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4
182182
with:
183183
file: coverage/lcov.info

.github/workflows/production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
github.event_name == 'workflow_dispatch' ||
1616
github.event.workflow_run.conclusion == 'success'
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1919
with:
2020
ref: release
2121
- uses: akhileshns/heroku-deploy@79ef2ae4ff9b897010907016b268fd0f88561820

.github/workflows/release-candiate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
github.event_name == 'workflow_dispatch' ||
1616
github.event.workflow_run.conclusion == 'success'
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1919
with:
2020
ref: release-candidate
2121
- uses: akhileshns/heroku-deploy@79ef2ae4ff9b897010907016b268fd0f88561820

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11-slim AS base
1+
FROM python:3.11-slim@sha256:92c262cbb2e99cdc16218338d74fbe518055c13d224d942708f70f8042ff6d18 AS base
22

33
LABEL maintainer="ODL DevOps <[email protected]>"
44

@@ -25,7 +25,7 @@ ENV \
2525
UV_PROJECT_ENVIRONMENT="/opt/venv"
2626
ENV PATH="/opt/venv/bin:$PATH"
2727

28-
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /usr/local/bin/
28+
COPY --from=ghcr.io/astral-sh/uv:latest@sha256:240fb85ab0f263ef12f492d8476aa3a2e4e1e333f7d67fbdd923d00a506a516a /uv /uvx /usr/local/bin/
2929

3030
COPY pyproject.toml uv.lock /src/
3131

@@ -37,7 +37,7 @@ USER mitodl
3737
WORKDIR /src
3838
RUN uv sync --frozen --no-install-project --no-dev
3939

40-
FROM node:14.18.2 AS node_builder
40+
FROM node:14.18.2@sha256:e5c6aac226819f88d6431a56f502972d323d052b1b6108094ba7e6b07154a542 AS node_builder
4141
COPY . /src
4242
WORKDIR /src
4343
RUN yarn install --immutable

Dockerfile-node

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:14.18.2-bullseye
1+
FROM node:14.18.2-bullseye@sha256:4522c89e65c887a917d220cf759342552efa24a1cdfe2d50203890a0ef22205c
22

33
LABEL maintainer "ODL DevOps <[email protected]>"
44

docker-compose.selenium.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ services:
3434
- chrome
3535

3636
hub:
37-
image: selenium/hub:3.141.59-20210607
37+
image: selenium/hub:3.141.59-20210607@sha256:7461fde60dcb6e0ff0ef514fd16c39dc53638d57f05893ab33150eba9649cb51
3838
environment:
3939
GRID_TIMEOUT: '3600'
4040
ports:
4141
- "4444:4444"
4242

4343
chrome:
44-
image: selenium/node-chrome:3.141.59-20210713
44+
image: selenium/node-chrome:3.141.59-20210713@sha256:ca80b8895e72e67bdab2fe4ea9d26106fa684269b8d449c889de67883fddb289
4545
environment:
4646
- HUB_PORT_4444_TCP_ADDR=hub
4747
- HUB_PORT_4444_TCP_PORT=4444

docker-compose.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ x-environment:
2020

2121
services:
2222
db:
23-
image: postgres:16
23+
image: postgres:16@sha256:71e27bf60b70bded003791b5573f8b808365613f341df20ffcf0c1ed7bc13ddf
2424
environment:
2525
- POSTGRES_HOST_AUTH_METHOD=trust
2626
- POSTGRES_USER=postgres
@@ -30,12 +30,12 @@ services:
3030
- "5432"
3131

3232
redis:
33-
image: redis:5.0.14
33+
image: redis:5.0.14@sha256:fc5ecd863862f89f04334b7cbb57e93c9790478ea8188a49f6e57b0967d38c75
3434
ports:
3535
- "6379"
3636

3737
opensearch-node1:
38-
image: opensearchproject/opensearch:1.3.20
38+
image: opensearchproject/opensearch:1.3.20@sha256:0ecf20d1ec1b682fa1cf36c74900b547bd1d7da5817a14edf4236472e110863e
3939
container_name: opensearch-node1
4040
environment:
4141
- cluster.name=opensearch-cluster
@@ -59,7 +59,7 @@ services:
5959
- 9600:9600 # required for Performance Analyzer
6060

6161
nginx:
62-
image: nginx:1.29
62+
image: nginx:1.29@sha256:6e23479198b998e5e25921dff8455837c7636a67111a04a635cf1bb363d199dc
6363
ports:
6464
- "8079:8079"
6565
links:
@@ -123,7 +123,7 @@ services:
123123
- sftp
124124

125125
sftp:
126-
image: atmoz/sftp
126+
image: atmoz/sftp@sha256:0960390462a4441dbb63698d7c185b76a41ffcee7b78ff4adf275f3e66f9c475
127127
ports:
128128
- "2022:22"
129129
command: odl:123:1001:1001:results,results/topvue

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@
149149
"repl": "node --require ./scripts/repl.js"
150150
},
151151
"devDependencies": {
152-
"enzyme": "^3.10.0",
153-
"enzyme-adapter-react-16": "^1.15.2"
152+
"enzyme": "3.10.0",
153+
"enzyme-adapter-react-16": "1.15.2"
154154
},
155155
"resolutions": {
156156
"merge": "^2.1.1"

0 commit comments

Comments
 (0)