-
Notifications
You must be signed in to change notification settings - Fork 127
EPR: enable proxy mode #957
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,10 @@ | ||
| FROM __BASE_IMAGE__ | ||
|
|
||
| ARG PROFILE | ||
|
|
||
| # Disable package validation (already done). | ||
| ENV EPR_DISABLE_PACKAGE_VALIDATION=true | ||
|
|
||
| ENV EPR_FEATURE_PROXY_MODE=true | ||
|
|
||
| COPY profiles/${PROFILE}/stack/package-registry.config.yml /package-registry/config.yml | ||
| COPY stack/development/ /packages/development | ||
| COPY stack/development/ /packages/development |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,2 @@ | ||
| package_paths: | ||
| - /packages/development | ||
| - /packages/production | ||
| - /packages/staging | ||
| - /packages/snapshot | ||
| - /packages/development | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -115,7 +115,6 @@ var packageRegistryConfigYml string | |
|
|
||
| // newPackageRegistryConfig returns a Managed Config | ||
| func newPackageRegistryConfig(_ string, profilePath string) (*simpleFile, error) { | ||
|
|
||
| return &simpleFile{ | ||
| name: string(PackageRegistryConfigFile), | ||
| path: filepath.Join(profilePath, profileStackPath, string(PackageRegistryConfigFile)), | ||
|
|
@@ -124,7 +123,8 @@ func newPackageRegistryConfig(_ string, profilePath string) (*simpleFile, error) | |
| } | ||
|
|
||
| // PackageRegistryBaseImage is the base Docker image of the Elastic Package Registry. | ||
| const PackageRegistryBaseImage = "docker.elastic.co/package-registry/distribution:snapshot" | ||
| // commit SHA of enabled proxy mode (technical preview feature) | ||
| const PackageRegistryBaseImage = "docker.elastic.co/package-registry/package-registry:14455fcb7e415d6b4aed48e00d2289718f056162" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you want to wait to have a released version with this? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, as I'm afraid that we may need to add more fixes, and going with the standard release will slow it down. I will replace it with a proper release after some time. |
||
|
|
||
| // PackageRegistryDockerfileFile is the dockerfile for the Elastic package registry | ||
| const PackageRegistryDockerfileFile configFile = "Dockerfile.package-registry" | ||
|
|
||
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.
🔥 🔥 🔥