File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010
1111 steps :
12- - uses : actions/checkout@v2
12+ - uses : actions/checkout@v4
1313
1414 - name : Build image
1515 run : DOCKER_BUILDKIT=1 docker build --tag docs.ubuntu.com .
2424 runs-on : ubuntu-latest
2525
2626 steps :
27- - uses : actions/checkout@v2
27+ - uses : actions/checkout@v4
2828
2929 - name : Install dependencies
3030 run : yarn install --immutable
3737 runs-on : ubuntu-latest
3838
3939 steps :
40- - uses : actions/checkout@v2
40+ - uses : actions/checkout@v4
4141
4242 - name : Install node dependencies
4343 run : yarn install --immutable
@@ -51,10 +51,10 @@ jobs:
5151 run : yarn lint-python
5252
5353 test-python :
54- runs-on : ubuntu-22 .04
54+ runs-on : ubuntu-24 .04
5555
5656 steps :
57- - uses : actions/checkout@v2
57+ - uses : actions/checkout@v4
5858
5959 - name : Install requirements
6060 run : |
7474 run : coverage run --source=. -m unittest discover tests
7575
7676 - name : Upload coverage to Codecov
77- uses : codecov/codecov-action@v2
77+ uses : codecov/codecov-action@v5
7878 with :
7979 flags : python
8080
8383
8484 steps :
8585 - name : Checkout
86- uses : actions/checkout@v2
86+ uses : actions/checkout@v4
8787
8888 - name : woke
8989 uses : canonical-web-and-design/inclusive-naming@main
Original file line number Diff line number Diff line change 22
33# Build stage: Install python dependencies
44# ===
5- FROM ubuntu:focal AS python-dependencies
5+ FROM ubuntu:noble AS python-dependencies
66RUN apt update && apt install --no-install-recommends --yes python3 python3-pip python3-setuptools
77COPY requirements.txt /tmp/requirements.txt
88RUN --mount=type=cache,target=/root/.cache/pip pip3 install --user --requirement /tmp/requirements.txt
99
1010
1111# Build stage: Install yarn dependencies
1212# ===
13- FROM node:16 AS yarn-dependencies
13+ FROM node:23 AS yarn-dependencies
1414WORKDIR /srv
1515COPY . .
1616RUN --mount=type=cache,target=/usr/local/share/.cache/yarn yarn install
1717
1818
1919# Build stage:
2020# ===
21- FROM ubuntu:focal AS build-documentation
21+ FROM ubuntu:noble AS build-documentation
2222WORKDIR /srv
2323RUN apt-get update && apt-get install --no-install-recommends --yes git ca-certificates python3 python3-pip python3-setuptools
2424RUN pip3 install ubuntudesign.documentation-builder gitdb2==3.0.1 MarkupSafe==2.0.1
@@ -39,7 +39,7 @@ RUN yarn run build-js
3939
4040# Build the production image
4141# ===
42- FROM ubuntu:focal
42+ FROM ubuntu:noble
4343
4444# Set up environment
4545ENV LANG C.UTF-8
Original file line number Diff line number Diff line change 2020 "vanilla-framework" : " 3.6.1" ,
2121 "watch-cli" : " 0.2.3" ,
2222 "postcss" : " 8.4.5" ,
23- "postcss-cli" : " 8.3 .1" ,
23+ "postcss-cli" : " 11.0 .1" ,
2424 "sass" : " 1.46.0" ,
2525 "webpack" : " 5.65.0" ,
26- "webpack-cli" : " 4.9 .1"
26+ "webpack-cli" : " 6.0 .1"
2727 },
2828 "devDependencies" : {
2929 "@babel/core" : " 7.16.7" ,
3030 "@babel/preset-env" : " 7.16.7" ,
31- "babel-loader" : " 8.2.3 "
31+ "babel-loader" : " 10.0.0 "
3232 }
3333}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ django-asset-server-url==0.1
77django-template-finder-view == 0.3
88django-yaml-redirects == 0.5.4
99talisker [gunicorn,gevent ]== 0.19.0
10- whitenoise == 5.3 .0
10+ whitenoise == 6.9 .0
1111ubuntudesign.documentation-builder == 1.7.0
12- gitdb2 == 3 .0.3.post1
13- MarkupSafe == 2 .0.1
12+ gitdb2 == 4 .0.2
13+ MarkupSafe == 3 .0.2
You can’t perform that action at this time.
0 commit comments