logstash/docker/tests/helpers.py
João Duarte dc5db673ee
build docker images from logstash repo (#10603)
introduces two rake tasks: `rake artifact:docker_oss` and `rake artifact:docker`, which will create the docker images of the OSS and non OSS packages. These tasks depend on the tar artifacts being built.

Also `rake artifact:all` has been modified to also call these two tasks.

most code was moved from https://github.com/elastic/logstash-docker/
2019-04-04 11:27:06 +01:00

8 lines
153 B
Python

import subprocess
import os
from .constants import image, version
try:
version += '-%s' % os.environ['STAGING_BUILD_NUM']
except KeyError:
pass