Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #333 from jmlrt/logstash-helm-chart
Browse files Browse the repository at this point in the history
[logstash] first version of logstash helm chart
  • Loading branch information
jmlrt committed Oct 29, 2019
2 parents c7a7f25 + 85c657b commit b2d5d86
Show file tree
Hide file tree
Showing 34 changed files with 1,668 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .ci/jobs/elastic+helm-charts+master+integration-logstash.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
- job:
name: elastic+helm-charts+master+integration-logstash
display-name: elastic / helm-charts - master - integration logstash
description: Master - integration logstash
scm:
- git:
wipe-workspace: 'True'
axes:
- axis:
type: slave
name: label
values:
- docker&&virtual
- axis:
type: yaml
name: LOGSTASH_SUITE
filename: helpers/matrix.yml
- axis:
type: yaml
name: KUBERNETES_VERSION
filename: helpers/matrix.yml
builders:
- shell: |-
#!/usr/local/bin/runbld
set -euo pipefail
source /usr/local/bin/bash_standard_lib.sh
set +x
VAULT_TOKEN=$(retry 5 vault write -field=token auth/approle/login role_id="$VAULT_ROLE_ID" secret_id="$VAULT_SECRET_ID")
export VAULT_TOKEN
unset VAULT_ROLE_ID VAULT_SECRET_ID
set -x
cluster_name="helm-${KUBERNETES_VERSION//./}-${branch_specifier:0:10}"
cd helpers/terraform/
./in-docker make integration KUBERNETES_VERSION=${KUBERNETES_VERSION} CLUSTER_NAME=${cluster_name} SUITE=${LOGSTASH_SUITE} CHART=logstash
2 changes: 2 additions & 0 deletions .ci/jobs/elastic+helm-charts+master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
current-parameters: true
- name: elastic+helm-charts+master+integration-metricbeat
current-parameters: true
- name: elastic+helm-charts+master+integration-logstash
current-parameters: true
publishers:
- trigger-parameterized-builds:
- project: elastic+helm-charts+master+cluster-cleanup
Expand Down
39 changes: 39 additions & 0 deletions .ci/jobs/elastic+helm-charts+pull-request+integration-logstash.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
- job:
name: elastic+helm-charts+pull-request+integration-logstash
display-name: elastic / helm-charts - pull-request - integration logstash
description: Pull request - integration logstash
scm:
- git:
refspec: +refs/pull/*:refs/remotes/origin/pr/*
axes:
- axis:
type: slave
name: label
values:
- docker&&virtual
- axis:
type: yaml
name: LOGSTASH_SUITE
filename: helpers/matrix.yml
- axis:
type: yaml
name: KUBERNETES_VERSION
filename: helpers/matrix.yml
builders:
- shell: |-
#!/usr/local/bin/runbld
set -euo pipefail
source /usr/local/bin/bash_standard_lib.sh
set +x
VAULT_TOKEN=$(retry 5 vault write -field=token auth/approle/login role_id="$VAULT_ROLE_ID" secret_id="$VAULT_SECRET_ID")
export VAULT_TOKEN
unset VAULT_ROLE_ID VAULT_SECRET_ID
set -x
cluster_name="helm-${KUBERNETES_VERSION//./}-${branch_specifier:0:10}"
cd helpers/terraform/
./in-docker make integration KUBERNETES_VERSION=${KUBERNETES_VERSION} CLUSTER_NAME=${cluster_name} SUITE=${LOGSTASH_SUITE} CHART=logstash
3 changes: 3 additions & 0 deletions .ci/jobs/elastic+helm-charts+pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
- name: elastic+helm-charts+pull-request+integration-metricbeat
current-parameters: true
predefined-parameters: branch_specifier=${ghprbActualCommit}
- name: elastic+helm-charts+pull-request+integration-logstash
current-parameters: true
predefined-parameters: branch_specifier=${ghprbActualCommit}
publishers:
- trigger-parameterized-builds:
- project: elastic+helm-charts+pull-request+cluster-cleanup
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Please look in the chart directories for the documentation for each chart. These
| ------------------------------------------ | ------------------------------------------------------------------------------- |
| [Elasticsearch](./elasticsearch/README.md) | https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html |
| [Kibana](./kibana/README.md) | https://www.elastic.co/guide/en/kibana/current/docker.html |
| [Logstash](./logstash/README.md) | https://www.elastic.co/guide/en/logstash/current/docker.html |
| [Filebeat](./filebeat/README.md) | https://www.elastic.co/guide/en/beats/filebeat/current/running-on-docker.html |
| [Metricbeat](./metricbeat/README.md) | https://www.elastic.co/guide/en/beats/metricbeat/current/running-on-docker.html |

Expand Down
6 changes: 6 additions & 0 deletions helpers/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ CHART:
- kibana
- filebeat
- metricbeat
- logstash
ES_SUITE:
- default
- config
Expand All @@ -26,6 +27,11 @@ METRICBEAT_SUITE:
- oss
- security
- 6.x
LOGSTASH_SUITE:
- default
- oss
- elasticsearch
- 6.x
KUBERNETES_VERSION:
- '1.12'
- '1.13'
Expand Down
2 changes: 2 additions & 0 deletions logstash/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
tests/
.pytest_cache/
12 changes: 12 additions & 0 deletions logstash/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: v1
description: Official Elastic helm chart for Logstash
home: https://github.com/elastic/helm-charts
maintainers:
- email: helm-charts@elastic.co
name: Elastic
name: logstash
version: 7.4.1
appVersion: 7.4.1
sources:
- https://github.com/elastic/logstash
icon: https://helm.elastic.co/icons/logstash.png
1 change: 1 addition & 0 deletions logstash/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include ../helpers/common.mk
Loading

0 comments on commit b2d5d86

Please sign in to comment.