-
Notifications
You must be signed in to change notification settings - Fork 1k
Add an app engine flex memcache sample. #107
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
Conversation
| ENV DOCUMENT_ROOT /app/web | ||
|
|
||
| # add write permissions to var directory for cache, logs, and session | ||
| RUN mkdir -p /app/var |
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.
/tmp is always writable. Is it possible to use /tmp instead?
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.
If it's possible, you can go back to runtime:php
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 copied the Dockerfile that is written when using runtime:php. So I don't know the answer to that question. Who authored the Dockerfile created when deploying runtime:php?
Setting runtime:php failed for me. Let's try that again in a follow up PR.
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.
How it's failing?
a0a7ebf to
2313411
Compare
|
Ready for another look. |
| * limitations under the License. | ||
| */ | ||
|
|
||
| namespace Google\Cloud\Samples\AppEngine\Symfony; |
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.
The namespace seems wrong
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.
Google\Cloud\Samples\AppEngine\Flexible\Memcache?
0da572d to
7881771
Compare
| * limitations under the License. | ||
| */ | ||
| require __DIR__ . '/../vendor/autoload.php'; | ||
| require_once __DIR__ . '/../../../../testing/ExecuteCommandTrait.php'; |
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.
Nit: ExecuteCommandTrait.php is not needed any more
|
LGTM |
7881771 to
a9b9702
Compare
Update DeployTest.php to copy composer.json.
a9b9702 to
5fca387
Compare
|
I'll look at mocks in a follow-up PR now. |
|
LGTM once tests pass! |
|
#108 merged, so let's restart the travis job |
No description provided.