Commit Graph

11 Commits

Author SHA1 Message Date
Mark Goddard 93204ecfec Add a storm-base image
Refactor storm image dependencies. Previously we had:

base -> storm -> monasca-thresh

Both storm and monasca-thresh images are final, and each includes a
footer. This causes issues when the footer expects to be at the end of
the image, or there to be only a single footer. In particular, since
I2592a736206eaec811290e9fbdbf2540c0518ffe, the footer used in CI jobs
reverts to the public package mirrors.

This change introduces a storm-base image, and refactors the dependency
chain:

base -> storm-base -> storm
base -> storm-base -> monasca-thresh

Related-Bug: #1902101

Change-Id: I53e8ba8d4baa4434cf3c49ed94d1f7cb44099bee
2021-01-12 16:21:32 +00:00
Michał Nasiadka 22c32a30e6 Unify curl options
Currently we use couple of curl options throughout Dockerfiles, this change
adds all common options to curlrc (-sSLf) and removes usage of those in
Dockerfiles.

Change-Id: I46b77978926fc2b578a68d1aaa944b2198af0685
2020-12-02 18:48:22 +01:00
Marcin Juszkiewicz 90adc2b851 introduce 'infra_image_prefix' for infra images
Defaults to 'image_prefix' for now but shows which images gets their
names changed soon.

Change-Id: I0608e8f62f28d6667b4c8753c47553e4cbf75503
2020-07-09 23:31:42 +02:00
Doug Szumski dcde7ffdd0 Fix loading of Storm on Centos8 / Python 3
In the Centos8 images, Storm fails to start since it cannot find
Python. This patch ensures that it can by setting the PYTHON env
var.

Change-Id: If6663b2f6dfadfd6a6db5e4aaca4eb782b87161f
Closes-Bug: #1876461
2020-06-18 22:12:43 +00:00
Christian Berendt 861f55fbfd Add block labels to all Dockerfiles
Change-Id: I9692dda817ef134d647247431565e1b58cf9da41
2020-03-01 17:25:58 +00:00
Marcin Juszkiewicz c73815347e storm: fetch storm archive from upstream
URL in Dockerfile was giving us 404 error

Change-Id: I16d5f79c00473e5113aee3739defc822b516bda4
2019-07-19 08:43:22 +00:00
Marcin Juszkiewicz 307ae61454 There is no Java 8 in Debian 'buster'
Debian 'buster' release contains Java 11 only. So kafka, logstash, storm
images needed adjustments.

Change-Id: I9f1e809d0ef1955b832dd384912f880088426306
2019-06-17 14:39:56 +00:00
Alex Schultz ae1322ec10 Use base_package_type
This change updates the docker files to use base_package_type instead
of doing specific distro checks for the rhel/deb generic cases. The
base_distro is still available and is used when a specific distro needs
a customization but if the differences are purely rpm vs deb, then the
base_package_type can be used.

Change-Id: I8d720bb185df65a0178061ccf20b1ab2265da2c5
2019-01-17 08:23:41 -07:00
tonybrad 4fda418f1d Update storm to v1.2.2
Change-Id: Ib94cd52c0660e0d3f9f94727e1727bb21e3fc18e
2018-08-08 00:15:21 +00:00
Doug Szumski 3dd801c145 Use Java 8 in Ubuntu/Debian for Apache Storm
On Ubuntu the default JRE pulls is version 11, whilst the Centos
images explicitly specify version 8. To maintain consistency across
distros this change explicitly uses verson 8 in Ubuntu/Debian as well.

Change-Id: Ibb69473840a688498cd87ac8289263e80bf87b06
Partially-Implements: blueprint monasca-containers
2018-07-13 16:09:09 +01:00
Doug Szumski 91d23981b2 Add support for deploying Apache Storm
The motiviation behind this is to provide Apache Storm for
the Monasca Thresh component which is used for generating
alerts as part of the Monasca Framework.

SHA512 sum is from http://www.us.apache.org/dist/storm/
apache-storm-1.1.2/apache-storm-1.1.2.tar.gz.sha

Change-Id: I6eb6be91470385c824baaeb37f90b582fc88aed4
Partially-Implements: blueprint monasca-containers
2018-07-13 16:09:09 +01:00