-
Notifications
You must be signed in to change notification settings - Fork 124
Make is_ready container-image configurable #2593
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
base: main
Are you sure you want to change the base?
Conversation
/test |
@@ -110,6 +112,7 @@ type ImageRefs struct { | |||
Elasticsearch string `yaml:"elasticsearch"` | |||
Kibana string `yaml:"kibana"` | |||
Logstash string `yaml:"logstash"` | |||
is_ready string `yaml:"is_ready"` |
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.
is_ready string `yaml:"is_ready"` | |
IsReady string `yaml:"is_ready"` |
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.
Please review other compose files in this directory that may be using this image.
@@ -28,7 +28,7 @@ services: | |||
- "127.0.0.1:9200:9200" | |||
|
|||
elasticsearch_is_ready: | |||
image: tianon/true:multiarch | |||
image: "${IS_READY_IMAGE_REF}" |
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.
Should it be updated also the docker-compose for local services ?
https://github.com/elastic/elastic-package/blob/f00e430124b1e8bb43f234fcc7e756461a107786/internal/stack/_static/local-services-docker-compose.yml.tmpl
To use that environment variable, this file uses facts instead. Here it is the method where those facts are set:
"logstash_image": imageRefs.Logstash, |
@@ -37,6 +37,7 @@ const ( | |||
elasticsearchImageName = "docker.elastic.co/elasticsearch/elasticsearch" | |||
kibanaImageName = "docker.elastic.co/kibana/kibana" | |||
logstashImageName = "docker.elastic.co/logstash/logstash" | |||
isreadyImageName = "tianon/true:multiarch" |
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.
Nit.
isreadyImageName = "tianon/true:multiarch" | |
isReadyImageName = "tianon/true:multiarch" |
💔 Build Failed
Failed CI StepsHistory |
Hi everybody,
due to the reduced Docker rate limits, it may happen that the stack can no longer be downloaded because of the is_ready Docker image.
Therefore, I have created an additional environment variable that allows overriding the image.
Best regards
Max