-
Notifications
You must be signed in to change notification settings - Fork 404
RI-5362 Fix nightly tests running #4245
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
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
3dcd42f
use root user for the image
pawelangelow 16279b7
use the same name as produced from pipeline-build-docker.yml
pawelangelow 25914f7
use root for docker image user
pawelangelow 1d4dd47
mount /data directory to containers
pawelangelow 9aad0db
use proper connection uri
pawelangelow ac37eff
bring back node user in docker
pawelangelow a243820
change RI port
pawelangelow e004e08
use proper port
pawelangelow e3f76c1
make circle ci defintion same as github one
pawelangelow 690f7a2
create COV_DIRECTORY explicitly
pawelangelow 43bf742
remove double mkdir
pawelangelow 6884ee2
use shared volume
pawelangelow File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
COV_FOLDER=./coverage | ||
ID=defaultid | ||
RTE=defaultrte | ||
APP_IMAGE=riv2:latest | ||
TEST_BE_SERVER=https://app:5000/api | ||
APP_IMAGE=redisinsight:amd64 | ||
TEST_BE_SERVER=http://app:5540/api | ||
RI_NOTIFICATION_UPDATE_URL=https://s3.amazonaws.com/redisinsight.test/public/tests/notifications.json | ||
CERTS_FOLDER=/root/.redisinsight-v2.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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't do this. Production docker image shouldn't run under root user
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.
@ArtemHoruzhenko fixed this. Although this is not the Dockerfile we use for production, I agree it's a good practice to run it with different user. Additionally, I think it will be nice to reuse the production Dockerfile for these tests as well, but this would be for different PR.
And a question to you - do we use
circleci
Dockerfile somewhere?