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
15
docker/tests/test_process.py
Normal file
15
docker/tests/test_process.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
from .fixtures import logstash
|
||||
|
||||
|
||||
def test_process_is_pid_1(logstash):
|
||||
assert logstash.process.pid == 1
|
||||
|
||||
|
||||
def test_process_is_running_as_the_correct_user(logstash):
|
||||
assert logstash.process.user == 'logstash'
|
||||
|
||||
|
||||
def test_process_is_running_with_cgroup_override_flags(logstash):
|
||||
# REF: https://github.com/elastic/logstash-docker/pull/97
|
||||
assert '-Dls.cgroup.cpu.path.override=/' in logstash.process.args
|
||||
assert '-Dls.cgroup.cpuacct.path.override=/' in logstash.process.args
|
Loading…
Add table
Add a link
Reference in a new issue