mirror of
https://github.com/elastic/logstash.git
synced 2025-06-28 17:53:28 -04:00
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/
This commit is contained in:
parent
bb8d4fbc19
commit
dc5db673ee
33 changed files with 1088 additions and 2 deletions
14
docker/tests/test_entrypoint.py
Normal file
14
docker/tests/test_entrypoint.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
from .fixtures import logstash
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.mark.xfail
|
||||
def test_whitespace_in_config_string_cli_flag(logstash):
|
||||
config = 'input{heartbeat{}} output{stdout{}}'
|
||||
assert logstash.run("-t -e '%s'" % config).rc == 0
|
||||
|
||||
|
||||
def test_running_an_arbitrary_command(logstash):
|
||||
result = logstash.run('uname --all')
|
||||
assert result.rc == 0
|
||||
assert 'GNU/Linux' in str(result.stdout)
|
Loading…
Add table
Add a link
Reference in a new issue