-
Notifications
You must be signed in to change notification settings - Fork 1
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
chore: update php + wordpress versions #31
Conversation
b4e1b58
to
c73c55c
Compare
c73c55c
to
285c4e7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👋 This seems to work fine overall, I just had a question about changing the php version in the docker image for the circleCI pipeline--do we need to, and how can that be validated?
.circleci/config.yml
Outdated
@@ -6,7 +6,7 @@ jobs: | |||
- image: circleci/php:7.1-node-browsers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed this and wondered if the php version needs to be updated here too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, we should update it here, although we don't have a way to validate it since we don't have circle CI set up for the project. This configuration will likely go away when we address #21 in favor of a Github action, but we can updated it now to keep it in sync.
Dockerfile
Outdated
|
||
# When changings, also change in .circleci/config.yml | ||
ENV WP_VERSION=5.5 | ||
ENV WP_VERSION=6.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can go ahead and update this to 6.3.1
, the latest current version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work, Theo! Just a few more minor updates needed:
- Update WordPress version to
6.3.1
from6.3
- Update PHP version in Circle CI config
285c4e7
to
6ad0baf
Compare
6ad0baf
to
1a4e078
Compare
- modified Dockerfile to support updated php & wordpress versions - modified composer.json to support updated php version
1a4e078
to
b4c169d
Compare
Description
This PR updates the Dockerfile to use php version 8.1 and Wordpress version 6.3. Additionally this PR updates composer.json to use php version 8.1
Closes #16
To Validate
docker compose build
npm run start
docker exec sparkpress php -v