Skip to content

Fixed gitpod installation for Mautic 5.x. - #13396

Merged
mollux merged 2 commits into
mautic:5.xfrom
ajitdev:gitpod_build_failure_fix
Feb 18, 2024
Merged

mollux merged 2 commits into
mautic:5.xfrom
ajitdev:gitpod_build_failure_fix

Conversation

@ajitdev

@ajitdev ajitdev commented Feb 18, 2024

Copy link
Copy Markdown
Contributor
Q A
Bug fix? (use the a.b branch) [ 5.x]
New feature/enhancement? (use the a.x branch) [ ]
Deprecations? [ ]
BC breaks? (use the c.x branch) [ ]
Automated tests included? [ ]
Related user documentation PR URL mautic/mautic-documentation#...
Related developer documentation PR URL mautic/developer-documentation#...
Issue(s) addressed Fixes #...

Description:

From - ddev/ddev#5795

TL;DR
As of 16 Feb 2024 the (upstream) old deb.sury.org key is expiring. This key is used for installing PHP packages in the ddev-webserver Docker image. Its expiration may cause failures of apt update or apt install/webimage_extra_packages (with PHP packages).

DDEV v1.22.7 doesn't have this problem, so upgrade to solve any problems you have with PHP packages during ddev start
In DDEV v1.22.6 (if you don't want to upgrade) docker pull ddev/ddev-webserver:v1.22.6 to get an upgraded version with the new package key.

Steps to test this PR:

The gitpod builds for Mautic 5.x versions should build without any errors.

@ajitdev
ajitdev marked this pull request as ready for review February 18, 2024 09:16
RCheesley
RCheesley previously approved these changes Feb 18, 2024

@RCheesley RCheesley left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for fixing this @ajitdev - could you also make a PR on the 5.0 branch as all those PRs will be un-testable without this fix.

@RCheesley RCheesley added T1 Low difficulty to fix (issue) or test (PR) dependencies Pull requests that update a dependency file essential This must be done to close the milestone labels Feb 18, 2024
@RCheesley

Copy link
Copy Markdown
Member

@all-contributors add @ajitdev for code, bugs

@allcontributors

Copy link
Copy Markdown
Contributor

@RCheesley

I've put up a pull request to add @ajitdev! 🎉

@mollux mollux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@ajitdev I don't get how this fixes the issue you're referring to.

The issue is solved in DDEV 1.22.7 (see ddev/ddev#5795 (comment)), but you're updating to 1.21.7.

How does that solve the issue?

@mollux mollux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I tested this on Gitpod, and it doesn't work, as 1.21.7 doesn't exist (see https://github.com/ddev/ddev/releases/tag/v1.21.7)

Screenshot 2024-02-18 at 11 46 11

Comment thread .gitpod.Dockerfile Outdated
ajitdev and others added 2 commits February 18, 2024 19:28
Co-authored-by: Mattias Michaux <mattias.michaux@gmail.com>
@ajitdev
ajitdev force-pushed the gitpod_build_failure_fix branch from d39dd4d to d576d5c Compare February 18, 2024 13:58
@ajitdev

ajitdev commented Feb 18, 2024

Copy link
Copy Markdown
Contributor Author

@mollux - Thank you for the review! It was a typo in the version number. Fixed as suggested.

@ajitdev

ajitdev commented Feb 18, 2024

Copy link
Copy Markdown
Contributor Author

Thanks for fixing this @ajitdev - could you also make a PR on the 5.0 branch as all those PRs will be un-testable without this fix.

@RCheesley - created #13400

@ajitdev
ajitdev requested a review from mollux February 18, 2024 14:28

@mollux mollux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

gitpod works again with the correct version.

Screenshot 2024-02-18 at 15 34 46

@mollux
mollux merged commit db69176 into mautic:5.x Feb 18, 2024
@mollux

mollux commented Feb 18, 2024

Copy link
Copy Markdown
Contributor

@ajitdev merged, thanks!

@mollux mollux added the chore Tasks that relate to maintaining this Github repository label Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Tasks that relate to maintaining this Github repository dependencies Pull requests that update a dependency file essential This must be done to close the milestone T1 Low difficulty to fix (issue) or test (PR)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants