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
Update testing environment to beta1 IRC #2553
Conversation
- Changed the logstash dockerfile to use the tar.gz which is much simpler. - Unfortunately it still doesn't work, I posted: logstash-plugins/logstash-input-beats#129 - For elasticsearch I did a hack for now, but we should consider moving to the tar.gz as well
@@ -5,7 +5,7 @@ ENV ELASTICSEARCH_VERSION master | |||
|
|||
|
|||
COPY setup.sh / | |||
RUN bash setup.sh https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/5.0.0-alpha5/elasticsearch-5.0.0-alpha5.deb | |||
RUN bash setup.sh http://staging.elastic.co/5.0.0-beta1-2b315be2/download/elasticsearch/elasticsearch-5.0.0-beta1.deb |
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.
Can we use https for the url? Seems to also work
@@ -16,7 +16,7 @@ RUN arch="$(dpkg --print-architecture)" \ | |||
&& chmod +x /usr/local/bin/gosu | |||
|
|||
RUN set -x \ | |||
&& curl -fSL "https://download.elastic.co/kibana/kibana-snapshot/kibana-5.0.0-alpha6-SNAPSHOT-linux-x86_64.tar.gz?20160908" -o kibana.tar.gz \ | |||
&& curl -fSL "http://staging.elastic.co/5.0.0-beta1-2b315be2/download/kibana/kibana-5.0.0-beta1-linux-x86_64.tar.gz" -o kibana.tar.gz \ |
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.
https?
ENV VERSION 5.0.0-beta1 | ||
ENV PATH $PATH:/opt/logstash-$VERSION/bin | ||
|
||
RUN echo $PATH |
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.
Still needed?
@@ -1,18 +1,9 @@ | |||
#!/usr/bin/env bash | |||
|
|||
# setup logstash dependencies | |||
set -x && \ |
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.
Nice, that will speed up the build quite a bit.
apt-get install -y --no-install-recommends logrotate && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# download & install logstash |
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.
In case that are all the lines left, we probably can remove the setup.sh script and move everything back to the docker file.
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 did that, and restored the setup.sh
script to its initial form.
@@ -1,18 +1,9 @@ | |||
#!/usr/bin/env bash | |||
|
|||
# setup logstash dependencies | |||
set -x && \ | |||
apt-get update && \ |
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.
Remove this could affect the old (non snapshot docker files ...)
Updated to IRC2, so tests should hopefully pass this time around. |
Comments should be addressed, now. |
LGTM. Waiting for travis. |
Merging as flaky filebeat tests is not related to this change. |
simpler.
Exception while converting Key logstash-plugins/logstash-input-beats#129
to the tar.gz as well