-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
fix: Downgrade Docker image for WordPress #8427
Conversation
I broke it!
Also, you may want to fix that CI build that's failing. 😜 🙃 |
BLARG, I'm so dumb. I had |
I'm wondering if the permissions issue is related to 0b36845... testing now. If so I'll add a comment back to it and maybe it won't get deleted by me thinking it's not needed 😓 |
I found an issue switching to php5.2, so deleted the cached build and now there's an issue building it. Expect more 80s/90s lyrics themed debug commit messages from me. A lot more. |
…n I see the build in CI
But we no longer assign the |
Sorry, I wasn't clear. That was my point; maybe not assigning it is the issue. And, in fact, if I supply it the update script totally works. I then run into an issue with the PHPUnit Docker:
|
|
bin/install-php-phpunit.sh
Outdated
@@ -1,4 +1,4 @@ | |||
#!/bin/bash | |||
#!/bin/bash -e -x |
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.
Can we use set
for this instead? It breaks locally so makes things hard to test locally 🤷♂️
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.
gone now, we're back to building and using php5.2 with the latest commit
Looks like the same test is still failing, even for 4.9.7: https://travis-ci.org/WordPress/gutenberg/jobs/411763137#L1106 😢 |
Ok, I can reproduce this locally now, there's something going on with the docker path that's different to the non-docker path we use when we switch php versions. |
one of the images that runs phpunit has 4.9.8 on it.
|
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.
Honestly, I don't really understand the changes here, but I guess since we're trying to fix the e2e tests environment, the most important validation is that the tests pass. So I'm approving
Description
I've forced our Docker image to be WordPress 4.9.7. If anything, it's possible we want to stick to pinning versions; this sort of upset to our CI/dev environments because of upstream changes is not good.
Fixes #8418.
How has this been tested?
Run
./bin/setup-local-env.sh
; it worked. Runnpm run test-e2e
; they work.Testing instructions
./bin/setup-local-env.sh
; it should output the "Gutenberg is ready" text.npm run test-e2e
; the tests should run.