Update deployment scripts to resolve deprecated version of Ubuntu #2340
Labels
Feature: Infrastructure
For changes on site technical architecture
Priority - Med
Needs to be in the next release
priority: MUST HAVE
Release Note: Tech Debt
Shows on Release Notes under "Technical Debt"
Role: DevOps
size: 5pt
The lift to complete this user story 8-16hrs
Overview
The docker container used for deployment uses Ubuntu as the O/S, but the docker container for Ubuntu-latest no longer includes Heroku. We need to figure out how to modify the deployment to use an up-to-date operating system image.
Details
On 1/14/25, the builds started failing - i.e., thegithub action "Deploy develop branch to foodoasisdev.herokuapp.com"with an error message like this:
After some research, it turns out that our github workflow developToHeroku.yml github action specified the docker image ubuntu-latest as the operating system for the container, and ubuntu-latest docker image was recently upgraded from version 22.04 to version 24.04, and version 24.04 docker image no longer includes the Heroku Tool see this article for an explanation. As a temporary fix, I modified developToHeroku.yml (and mainToHeroku.yml) to explicitly use the older 22.04 version, so it would support Heroku. At some point this version of Ubuntu will be deprecated, so we need to:
Action Items
Resources/Instructions
REPLACE THIS TEXT -If there is a website which has documentation that helps with this issue provide the link(s) here.
The text was updated successfully, but these errors were encountered: