[ci] add JJBB job definitions
Add JJBB job definitions to the repo so they can be managed here. Modified jobs so they will auto-generate the `inject-passwords` section containing `VAULT_ROLE_ID`, `VAULT_SECRET_ID` and `VAULT_ADDR`.
This commit is contained in:
parent
6d9caa7a9b
commit
0858b11b85
3 changed files with 133 additions and 0 deletions
68
.ci/jobs/defaults.yml
Normal file
68
.ci/jobs/defaults.yml
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
---
|
||||
|
||||
##### GLOBAL METADATA
|
||||
|
||||
- meta:
|
||||
cluster: devops-ci
|
||||
|
||||
##### JOB DEFAULTS
|
||||
|
||||
- job:
|
||||
project-type: matrix
|
||||
logrotate:
|
||||
daysToKeep: 30
|
||||
numToKeep: 100
|
||||
parameters:
|
||||
- string:
|
||||
name: branch_specifier
|
||||
default: master
|
||||
description: the Git branch specifier to build (<branchName>, <tagName>,
|
||||
<commitId>, etc.)
|
||||
properties:
|
||||
- github:
|
||||
url: https://github.com/elastic/ansible-elasticsearch/
|
||||
- inject:
|
||||
properties-content: HOME=$JENKINS_HOME
|
||||
concurrent: true
|
||||
node: master
|
||||
scm:
|
||||
- git:
|
||||
name: origin
|
||||
credentials-id: f6c7695a-671e-4f4f-a331-acdce44ff9ba
|
||||
reference-repo: /var/lib/jenkins/.git-references/ansible-elasticsearch.git
|
||||
branches:
|
||||
- ${branch_specifier}
|
||||
url: git@github.com:elastic/ansible-elasticsearch.git
|
||||
basedir: elasticsearch
|
||||
wipe-workspace: 'False'
|
||||
axes:
|
||||
- axis:
|
||||
type: slave
|
||||
name: label
|
||||
values:
|
||||
- linux
|
||||
- axis:
|
||||
name: VERSION
|
||||
filename: elasticsearch/test/matrix.yml
|
||||
type: yaml
|
||||
- axis:
|
||||
name: OS
|
||||
filename: elasticsearch/test/matrix.yml
|
||||
type: yaml
|
||||
- axis:
|
||||
name: TEST_TYPE
|
||||
filename: elasticsearch/test/matrix.yml
|
||||
type: yaml
|
||||
vault:
|
||||
url: https://secrets.elastic.co:8200
|
||||
role_id: cff5d4e0-61bf-2497-645f-fcf019d10c13
|
||||
wrappers:
|
||||
- ansicolor
|
||||
- timeout:
|
||||
type: absolute
|
||||
timeout: 360
|
||||
fail: true
|
||||
- timestamps
|
||||
publishers:
|
||||
- email:
|
||||
recipients: infra-root+build@elastic.co
|
||||
Loading…
Add table
Add a link
Reference in a new issue