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

Commit

Permalink
[meta] fix jobs template following elastic#760
Browse files Browse the repository at this point in the history
This commit fix the test job templates following elastic#760.
- add VERSION parameter for 7.x jobs
- move axis to jobs templates
  • Loading branch information
jmlrt committed Jan 27, 2021
1 parent e863695 commit 077c829
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 14 deletions.
14 changes: 0 additions & 14 deletions .ci/jobs/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,6 @@
url: [email protected]:elastic/ansible-elasticsearch.git
basedir: elasticsearch
wipe-workspace: 'False'
axes:
- axis:
type: slave
name: label
values:
- linux
- axis:
name: OS
filename: elasticsearch/test/matrix.yml
type: yaml
- axis:
name: TEST_TYPE
filename: elasticsearch/test/matrix.yml
type: yaml
vault:
role_id: cff5d4e0-61bf-2497-645f-fcf019d10c13
builders:
Expand Down
18 changes: 18 additions & 0 deletions .ci/jobs/elastic+ansible-elasticsearch+master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,24 @@
default: master
description: the Git branch specifier to build (<branchName>, <tagName>,
<commitId>, etc.)
- string:
name: VERSION
default: 7.x
description: Elasticsearch major version
axes:
- axis:
type: slave
name: label
values:
- linux
- axis:
name: OS
filename: elasticsearch/test/matrix.yml
type: yaml
- axis:
name: TEST_TYPE
filename: elasticsearch/test/matrix.yml
type: yaml
triggers:
- timed: H H(02-04) * * *
publishers:
Expand Down
19 changes: 19 additions & 0 deletions .ci/jobs/elastic+ansible-elasticsearch+pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,25 @@
name: elastic+ansible-elasticsearch+pull-request
display-name: elastic / ansible-elasticsearch - pull-request
description: Pull request testing with test kitchen
parameters:
- string:
name: VERSION
default: 7.x
description: Elasticsearch major version
axes:
- axis:
type: slave
name: label
values:
- linux
- axis:
name: OS
filename: elasticsearch/test/matrix.yml
type: yaml
- axis:
name: TEST_TYPE
filename: elasticsearch/test/matrix.yml
type: yaml
scm:
- git:
branches:
Expand Down

0 comments on commit 077c829

Please sign in to comment.