This repository has been archived by the owner on May 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CI definitions for metricbeat chart
This is being added to make sure that automated testing for the WIP metricbeat chart is happening in #127
- Loading branch information
Showing
4 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
.ci/jobs/elastic+helm-charts+master+integration-metricbeat.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
- job: | ||
name: elastic+helm-charts+master+integration-metricbeat | ||
display-name: elastic / helm-charts - master - integration metricbeat | ||
description: Master - integration metricbeat | ||
scm: | ||
- git: | ||
wipe-workspace: 'True' | ||
axes: | ||
- axis: | ||
type: slave | ||
name: label | ||
values: | ||
- docker&&virtual | ||
- axis: | ||
type: yaml | ||
name: METRICBEAT_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=${METRICBEAT_SUITE} CHART=metricbeat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
.ci/jobs/elastic+helm-charts+pull-request+integration-metricbeat.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
- job: | ||
name: elastic+helm-charts+pull-request+integration-metricbeat | ||
display-name: elastic / helm-charts - pull-request - integration metricbeat | ||
description: Pull request - integration metricbeat | ||
scm: | ||
- git: | ||
refspec: +refs/pull/*:refs/remotes/origin/pr/* | ||
axes: | ||
- axis: | ||
type: slave | ||
name: label | ||
values: | ||
- docker&&virtual | ||
- axis: | ||
type: yaml | ||
name: METRICBEAT_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=${METRICBEAT_SUITE} CHART=metricbeat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters