Skip to content
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

feat(dev-env): add PHP 8.3 image #1485

Merged
merged 5 commits into from
Nov 6, 2023
Merged

feat(dev-env): add PHP 8.3 image #1485

merged 5 commits into from
Nov 6, 2023

Conversation

sjinks
Copy link
Member

@sjinks sjinks commented Aug 9, 2023

Description

This PR adds the PHP 8.3 image to the dev environment.

It depends on Automattic/vip-container-images#526

Steps to Test

  1. vip dev-env create works and sets the specified PHP version
  2. vip dev-env update works and sets the specified PHP version
  3. vip dev-env create and ...update show the prompt like this:
? PHP version to use … 
  8.0 (recommended)
  8.2 (experimental)
  8.1
  7.4 (outdated)
▸ 8.3 (experimental, not officially supported)

export const DEV_ENVIRONMENT_PHP_VERSIONS: Record< string, PhpImage > = {
8.1: { image: 'ghcr.io/automattic/vip-container-images/php-fpm:8.1', label: '8.1 (recommended)' },
8.2: {
image: 'ghcr.io/automattic/vip-container-images/php-fpm:8.2',
Copy link
Contributor

Choose a reason for hiding this comment

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

We should mark 8.2 as recommended at this point now given that we're moving towards everyone being on it now, yeah?

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

[ '7.4', DEV_ENVIRONMENT_PHP_VERSIONS[ '7.4' ].image ],
[ '8.0', DEV_ENVIRONMENT_PHP_VERSIONS[ '8.0' ].image ],
[ '8.1', DEV_ENVIRONMENT_PHP_VERSIONS[ '8.1' ].image ],
[ '8.2', DEV_ENVIRONMENT_PHP_VERSIONS[ '8.2' ].image ],
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to add 8.3 to the test?

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

@sjinks sjinks merged commit 3b006b6 into trunk Nov 6, 2023
10 checks passed
@sjinks sjinks deleted the add/php83 branch November 6, 2023 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants