Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
environment: ${{ steps.set_env.outputs.environment }}
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ env:

jobs:
run-image:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5

- name: Build image
run: DOCKER_BUILDKIT=1 docker build --tag jaas-ai .
Expand All @@ -20,10 +20,10 @@ jobs:
curl --head --fail --retry-delay 1 --retry 30 --retry-connrefused http://localhost

run-dotrun:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5

- name: Install dotrun
run: sudo pip3 install dotrun requests==2.31.0 # requests version is pinned to avoid breaking changes, can be removed once issue is resolved: https://github.com/docker/docker-py/issues/3256
Expand All @@ -40,10 +40,10 @@ jobs:
run: dotrun serve & curl --head --fail --retry-delay 1 --retry 30 --retry-connrefused http://localhost:8029

lint-scss:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5

- name: Install dependencies
run: yarn install --immutable
Expand All @@ -52,10 +52,10 @@ jobs:
run: yarn lint-scss

lint-python:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5

- name: Install node dependencies
run: yarn install --immutable
Expand All @@ -69,10 +69,10 @@ jobs:
run: yarn lint-python

test-python:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5

- name: Install requirements
run: |
Expand All @@ -86,34 +86,34 @@ jobs:
run: yarn run test-python

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
flags: python

check-build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5
- name: Install dependencies
run: yarn

- name: Check the project builds
run: yarn run build

check-prettier:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5

- name: Install dependencies
run: yarn
- name: Run tests
run: yarn run check-prettier

js-lint:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5

- name: Install dependencies
run: yarn
Expand All @@ -122,10 +122,10 @@ jobs:
run: yarn run lint-js

test-js:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5

- name: Install dependencies
run: yarn install --immutable
Expand All @@ -134,16 +134,16 @@ jobs:
run: yarn test-js

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
flags: javascript

check-inclusive-naming:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v5

- name: Check inclusive naming
uses: canonical-web-and-design/inclusive-naming@main
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Build stage: Install python dependencies
# ===
FROM ubuntu:jammy AS python-dependencies
FROM ubuntu:noble AS python-dependencies
RUN apt-get update && apt-get install --no-install-recommends --yes python3-pip python3-setuptools
ADD requirements.txt /tmp/requirements.txt
RUN pip3 config set global.disable-pip-version-check true
Expand All @@ -11,7 +11,7 @@ RUN --mount=type=cache,target=/root/.cache/pip pip3 install --user --requirement

# Build stage: Install yarn dependencies
# ===
FROM node:22 AS yarn-dependencies
FROM node:24 AS yarn-dependencies
WORKDIR /srv
ADD package.json .
RUN --mount=type=cache,target=/usr/local/share/.cache/yarn yarn install --production
Expand All @@ -36,7 +36,7 @@ RUN yarn run build-css

# Build the production image
# ===
FROM ubuntu:jammy
FROM ubuntu:noble

# Python dependencies
ENV LANG C.UTF-8
Expand Down
2 changes: 1 addition & 1 deletion charm/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ops ~= 2.17
ops ~=3.2
paas-charm>=1.0,<2
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,32 +26,32 @@
"@canonical/global-nav": "3.6.4",
"@sentry/browser": "5.30.0",
"autoprefixer": "10.4.13",
"babel-loader": "8.3.0",
"babel-loader": "10.0.0",
"braces": "3.0.2",
"concurrently": "5.3.0",
"concurrently": "9.2.1",
"postcss": "8.4.32",
"postcss-cli": "8.3.1",
"postcss-cli": "11.0.1",
"sass": "1.79.0",
"terser-webpack-plugin": "5.3.6",
"vanilla-framework": "4.17.1",
"watch-cli": "0.2.3",
"webpack": "5.76.0",
"webpack-cli": "4.10.0"
"webpack-cli": "6.0.1"
},
"devDependencies": {
"eslint": "7.32.0",
"eslint-config-airbnb-base": "14.2.1",
"eslint-config-prettier": "7.2.0",
"eslint": "9.34.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-import": "2.27.5",
"jest": "26.6.3",
"prettier": "2.8.3",
"stylelint": "13.13.1",
"stylelint-config-prettier": "8.0.2",
"stylelint-config-standard": "20.0.0",
"stylelint-order": "4.1.0"
"jest": "30.1.1",
"prettier": "3.6.2",
"stylelint": "16.23.1",
"stylelint-config-prettier": "9.0.5",
"stylelint-config-standard": "39.0.0",
"stylelint-order": "7.0.0"
},
"resolutions": {
"lodash": "^4.17.15",
"minimatch": "^3.0.2"
"minimatch": "^10.0.0"
}
}
Loading
Loading