Skip to content
Draft
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 agent/.python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.10
3.12
2 changes: 1 addition & 1 deletion agent/charms/testflinger-agent-host-charm/charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ links:
issues: [https://github.com/canonical/testflinger/issues]
website: [https://canonical-testflinger.readthedocs-hosted.com/en/latest/]

base: ubuntu@22.04
base: ubuntu@24.04
platforms:
amd64:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PROVISION_TYPE="$provision_type"
# Variables for docker image
REGISTRY=ghcr.io
NAMESPACE=canonical
IMAGE_TAG=jammy
IMAGE_TAG=noble
IMAGE=testflinger/testflinger-testenv

# The following variables are set by the agent charm
Expand Down
2 changes: 1 addition & 1 deletion cli/.python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.10
3.12
14 changes: 8 additions & 6 deletions cli/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
name: testflinger-cli
adopt-info: testflinger-cli
license: GPL-3.0-only
title: Testflinger
summary: Testflinger CLI
description: |
The testflinger-cli tool is used for interacting with the testflinger
server for submitting test jobs, checking status, getting results, and
streaming output.
confinement: strict
base: core22
grade: stable
adopt-info: testflinger-cli

website: https://testflinger.readthedocs.io/en/latest/
source-code: https://github.com/canonical/testflinger
issues: https://github.com/canonical/testflinger/issues
contact: https://github.com/canonical/testflinger/issues

architectures:
- build-on: [amd64]
base: core24
confinement: strict
grade: stable

platforms:
all:
build-on: [amd64]
build-for: [all]

apps:
Expand Down
1 change: 1 addition & 0 deletions common/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.12
2 changes: 1 addition & 1 deletion device-connectors/.python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.10
3.12
2 changes: 1 addition & 1 deletion server/.python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.10
3.12
6 changes: 3 additions & 3 deletions server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM ubuntu:22.04
FROM ubuntu:24.04

# Set up uv
COPY --from=ghcr.io/astral-sh/uv:0.7.7 /uv /uvx /bin/
ENV UV_SYSTEM_PYTHON=true \
UV_COMPILE_BYTECODE=1 \
UV_LINK_MODE=copy
UV_COMPILE_BYTECODE=1 \
UV_LINK_MODE=copy

WORKDIR /srv/testflinger
ENV PATH="/srv/testflinger/.venv/bin:$PATH"
Expand Down
2 changes: 1 addition & 1 deletion server/charm/charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ charm-libs:
- lib: observability_libs.juju_topology
version: "0"

base: ubuntu@22.04
base: ubuntu@24.04
platforms:
amd64:

Expand Down
Loading