Skip to content

Commit

Permalink
Attach the registry image to a specific version (#156)
Browse files Browse the repository at this point in the history
Builds in the integrations repo should not change over time. Also development in the registry should not directly affect the integrations repo. To have things more reproducible, this changes the docker container which is run for the registry to a specific revision. It is the same revision which is uesd for the golang dependencies. If possible, these two should stay in sync in the future.
  • Loading branch information
ruflin authored Jul 3, 2020
1 parent 0573de6 commit 25a4bd4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .ci/integrations/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM docker.elastic.co/package-registry/package-registry:master
FROM docker.elastic.co/package-registry/package-registry:41c150c8020efc53ab16e3bba774c62a419b51ea

COPY build/integrations /registry/packages/integrations
2 changes: 1 addition & 1 deletion testing/environments/kubernetes/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ spec:
name: registry-yaml-storage
containers:
- name: registry-ingest-management
image: docker.elastic.co/package-registry/package-registry:master
image: docker.elastic.co/package-registry/package-registry:41c150c8020efc53ab16e3bba774c62a419b51ea
resources:
limits:
cpu: 1000m
Expand Down
2 changes: 1 addition & 1 deletion testing/environments/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ services:
- "127.0.0.1:5601:5601"

package-registry:
image: docker.elastic.co/package-registry/package-registry:master
image: docker.elastic.co/package-registry/package-registry:41c150c8020efc53ab16e3bba774c62a419b51ea
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:8080"]
retries: 300
Expand Down

0 comments on commit 25a4bd4

Please sign in to comment.