Skip to content

Upgrade to Ubuntu 24.04. #205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 27, 2025
Merged
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
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

ansible-django-stack
====================

Expand All @@ -23,7 +22,7 @@ Environment-specific settings are in the `group_vars` directory.
A `certbot` role is also included for automatically generating and renewing
trusted SSL certificates with [Let's Encrypt][lets-encrypt].

**Tested with OS:** Ubuntu 22.04 LTS (64-bit), Ubuntu 20.04 LTS (64-bit).
**Tested with OS:** Ubuntu 24.04 LTS (64-bit), Ubuntu 22.04 LTS (64-bit).

**Tested with Cloud Providers:** [Digital Ocean][digital-ocean], [AWS][aws], [Rackspace][rackspace]

Expand Down Expand Up @@ -315,7 +314,7 @@ to run during deployment in most Django environments.

The [Vagrantfile](Vagrantfile) uses the Ubuntu 22.04 LTS Vagrant box for a
64-bit PC that is published by Canonical in HashiCorp Atlas. To use Ubuntu
20.04 LTS instead, change the `config.vm.box` setting to `ubuntu/focal64`.
24.04 LTS instead, change the `config.vm.box` setting to `ubuntu/noble64`.

### Changing the Python version used by your application

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Use the official Ubuntu 20.04 base image from the Docker repository
# Use the official Ubuntu 22.04 base image from the Docker repository
FROM ubuntu:jammy
Comment on lines +1 to 2
Copy link
Preview

Copilot AI May 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update this comment to refer to Ubuntu 24.04 LTS (noble) instead of 22.04 to match the PR’s intent.

Suggested change
# Use the official Ubuntu 22.04 base image from the Docker repository
FROM ubuntu:jammy
# Use the official Ubuntu 24.04 LTS (noble) base image from the Docker repository
FROM ubuntu:noble

Copilot uses AI. Check for mistakes.


# Allow processes to detect that they are being run in a container
Expand Down
4 changes: 2 additions & 2 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ platforms:
image: ubuntu
image_version: jammy
privileged: true
- name: instance-focal
- name: instance-noble
groups:
- vagrant
image: ubuntu
image_version: focal
image_version: noble
privileged: true
provisioner:
name: ansible
Expand Down