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 #122 from elastic/all_seeing_eye
Browse files Browse the repository at this point in the history
Add CI jobs for filebeat chart
  • Loading branch information
Crazybus authored May 3, 2019
2 parents 0e8cd11 + 1afbdf8 commit 7461e94
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 2 deletions.
36 changes: 36 additions & 0 deletions .ci/jobs/elastic+helm-charts+master+integration-filebeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
- job:
name: elastic+helm-charts+master+integration-filebeat
display-name: elastic / helm-charts - master - integration filebeat
description: Master - integration filebeat
scm:
- git:
wipe-workspace: 'True'
axes:
- axis:
type: slave
name: label
values:
- docker&&virtual
- axis:
type: yaml
name: FILEBEAT_SUITE
filename: helpers/matrix.yml
- axis:
type: yaml
name: KUBERNETES_VERSION
filename: helpers/matrix.yml
builders:
- shell: |-
#!/usr/local/bin/runbld
set -euo pipefail
set +x
export VAULT_TOKEN=$(vault write -field=token auth/approle/login role_id="$VAULT_ROLE_ID" secret_id="$VAULT_SECRET_ID")
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=${FILEBEAT_SUITE} CHART=filebeat
4 changes: 3 additions & 1 deletion .ci/jobs/elastic+helm-charts+master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,13 @@
- name: elastic+helm-charts+master+integration-elasticsearch
current-parameters: true
- multijob:
name: kibana integration testing
name: integration testing
condition: ALWAYS
projects:
- name: elastic+helm-charts+master+integration-kibana
current-parameters: true
- name: elastic+helm-charts+master+integration-filebeat
current-parameters: true
publishers:
- trigger-parameterized-builds:
- project: elastic+helm-charts+master+cluster-cleanup
Expand Down
36 changes: 36 additions & 0 deletions .ci/jobs/elastic+helm-charts+pull-request+integration-filebeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
- job:
name: elastic+helm-charts+pull-request+integration-filebeat
display-name: elastic / helm-charts - pull-request - integration filebeat
description: Pull request - integration filebeat
scm:
- git:
refspec: +refs/pull/*:refs/remotes/origin/pr/*
axes:
- axis:
type: slave
name: label
values:
- docker&&virtual
- axis:
type: yaml
name: FILEBEAT_SUITE
filename: helpers/matrix.yml
- axis:
type: yaml
name: KUBERNETES_VERSION
filename: helpers/matrix.yml
builders:
- shell: |-
#!/usr/local/bin/runbld
set -euo pipefail
set +x
export VAULT_TOKEN=$(vault write -field=token auth/approle/login role_id="$VAULT_ROLE_ID" secret_id="$VAULT_SECRET_ID")
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=${FILEBEAT_SUITE} CHART=filebeat
5 changes: 4 additions & 1 deletion .ci/jobs/elastic+helm-charts+pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,15 @@
current-parameters: true
predefined-parameters: branch_specifier=${ghprbActualCommit}
- multijob:
name: kibana integration testing
name: integration testing
condition: ALWAYS
projects:
- name: elastic+helm-charts+pull-request+integration-kibana
current-parameters: true
predefined-parameters: branch_specifier=${ghprbActualCommit}
- name: elastic+helm-charts+pull-request+integration-filebeat
current-parameters: true
predefined-parameters: branch_specifier=${ghprbActualCommit}
publishers:
- trigger-parameterized-builds:
- project: elastic+helm-charts+pull-request+cluster-cleanup
Expand Down

0 comments on commit 7461e94

Please sign in to comment.