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

[shopsys] add checker to check availability of redis #815

Merged
merged 2 commits into from
Feb 14, 2019

Conversation

DavidOstrozlik
Copy link
Contributor

@DavidOstrozlik DavidOstrozlik commented Feb 11, 2019

Q A
Description, reason for the PR we don't have any way that would alert developer that Redis is not running while building the application or running phing commands
New feature Yes
BC breaks Yes
Fixes issues closes #744
Standards and tests pass Yes
Have you read and signed our License Agreement for contributions? Yes

@DavidOstrozlik DavidOstrozlik force-pushed the do-redis-check branch 2 times, most recently from 4e2d24e to 01522db Compare February 12, 2019 11:38
- RUN pecl install redis-4.0.2 && \
+ RUN pecl install redis-4.1.1 && \
```
- add a new phing target `redis-check` to your `build-dev.xml` and use it where you need to check if Redis is running
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- add a new phing target `redis-check` to your `build-dev.xml` and use it where you need to check if Redis is running
- add a new phing target `redis-check` to your `build-dev.xml` and use it before any call to Redis like `redis-check`

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I changed the message

@@ -31,6 +31,21 @@ for instance:
- *(optional)* add a new [script](https://github.com/shopsys/shopsys/pull/759/files#diff-e5f46a7c45e95214037078344ce17721) to `scripts/install.sh`
- this script serves as a fast way to install demo instance of Shopsys Framework.
- also this script can be used if you change the configuration of docker or app, script will apply all the changes done in these files and rebuild images.
- upgrade redis extension version in your `DockerFile` to version `4.1.1`
Copy link
Contributor Author

Choose a reason for hiding this comment

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

add PR headline

…upports lazy loading

 - upgraded redis-bundle to version 2.1.8

 - upgraded redis extension to version 4.1.1

 - added proxy-manager-bridge with version ^3.4
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.

Error page generate throws confusing error when redis is not running
2 participants