This repository has been archived by the owner on Jan 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust snapshot branch to build distribution Docker image (#88)
This adds a Dockerfile to the package-storage branch based on which a distribution of the package-registry with packages is built.
- Loading branch information
Showing
19 changed files
with
29 additions
and
615 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.DS_Store | ||
build | ||
testing | ||
vendor |
This file contains 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Here the version of the registry is specified this storage branch uses. | ||
# It should always be a specific version to make sure builds are reproducible. | ||
ARG PACKAGE_REGISTRY=57d417a84fa038cfb50a0cd661372c194199b3fd | ||
FROM docker.elastic.co/package-registry/package-registry:${PACKAGE_REGISTRY} | ||
|
||
LABEL package-registry=${PACKAGE_REGISTRY} | ||
|
||
# Adds specific config and packages | ||
COPY deployment/package-registry.yml /registry/config.yml | ||
COPY packages /packages | ||
|
||
# TODO: Find way to also copy in packages from staging and production | ||
|
||
# Sanity check on the packages. If packages are not valid, container does not even build. | ||
RUN ./package-registry -dry-run |
This file contains 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package_paths: | ||
- /packages | ||
|
||
cache_time.search: 10s | ||
cache_time.categories: 10s | ||
cache_time.catch_all: 10s |
This file was deleted.
Oops, something went wrong.
148 changes: 0 additions & 148 deletions
148
packages/base/0.1.0/elasticsearch/component-template/events-mappings.json
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
packages/base/0.1.0/elasticsearch/component-template/events-settings.json
This file was deleted.
Oops, something went wrong.
148 changes: 0 additions & 148 deletions
148
packages/base/0.1.0/elasticsearch/component-template/logs-mappings.json
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
packages/base/0.1.0/elasticsearch/component-template/logs-settings.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.