-
Notifications
You must be signed in to change notification settings - Fork 36
[PULP-658] Update usage of storage settings on minio profile #188
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
2 commits
Select commit
Hold shift + click to select a range
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,7 @@ | ||
| version: "3.7" | ||
|
|
||
| services: | ||
| test: | ||
| build: | ||
| context: "{OCI_ENV_DIR}/profiles/_test/" | ||
| dockerfile: "Dockerfile" | ||
| ports: | ||
| - "{SECOND_SERVICE_PORT}:80" | ||
| - "{SECOND_SERVICE_PORT}:80" |
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,6 +1,4 @@ | ||
| --- | ||
| version: "3.7" | ||
|
|
||
| services: | ||
| _base: | ||
| build: | ||
|
|
||
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,5 +1,3 @@ | ||
| version: "3.7" | ||
|
|
||
| services: | ||
| _base: | ||
| build: | ||
|
|
||
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,5 +1,3 @@ | ||
| version: "3.7" | ||
|
|
||
| services: | ||
| ui: | ||
| build: | ||
|
|
||
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,5 +1,3 @@ | ||
| version: "3.7" | ||
|
|
||
| services: | ||
| local_fixtures: | ||
| image: pulp/pulp-fixtures | ||
|
|
||
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,5 +1,3 @@ | ||
| version: "3.7" | ||
|
|
||
| services: | ||
|
|
||
| jaeger: | ||
|
|
||
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 @@ | ||
| PULP_AWS_ACCESS_KEY_ID={S3_ACCESS_KEY} | ||
| PULP_AWS_SECRET_ACCESS_KEY={S3_SECRET_KEY} | ||
| PULP_AWS_STORAGE_BUCKET_NAME=pulp | ||
| PULP_AWS_S3_SIGNATURE_VERSION=s3v4 | ||
| PULP_AWS_S3_ADDRESSING_STYLE=path | ||
| PULP_AWS_S3_ENDPOINT_URL={S3_ENDPOINT_URL} | ||
| PULP_DEFAULT_FILE_STORAGE=storages.backends.s3boto3.S3Boto3Storage | ||
| PULP_STORAGES__default__OPTIONS__access_key={S3_ACCESS_KEY} | ||
| PULP_STORAGES__default__OPTIONS__secret_key={S3_SECRET_KEY} | ||
| PULP_STORAGES__default__OPTIONS__bucket_name=pulp | ||
| PULP_STORAGES__default__OPTIONS__signature_version=s3v4 | ||
| PULP_STORAGES__default__OPTIONS__addressing_style=path | ||
| PULP_STORAGES__default__OPTIONS__endpoint_url={S3_ENDPOINT_URL} | ||
| PULP_STORAGES__default__BACKEND=storages.backends.s3boto3.S3Boto3Storage |
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,5 +1,3 @@ | ||
| version: "3.7" | ||
|
|
||
| services: | ||
| ui: | ||
| build: | ||
|
|
||
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.
I don't think we need to install the django-storages[boto3] anymore, it's included in the base container for a while now. Also, looking at the logs this script might get ran a second time if the Pulp service restarts, so can we update the logic to handle running a second time?
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've removed and it looks like it's not available. The base container oci-env uses it
ghcr.io/pulp/pulp-ci-centos9:latestand it has just a few packages installed.This doesn't feel the right place to install it, do you have a better idea on where to put it? Or may I keep it here?
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.
Yeah, it's in the all-in-one container, not the base container. In the single container we do
pip install pulpcore[s3,azure,google]. There doesn't seem to be a good place to put it here.