mirror of
https://github.com/elastic/eland.git
synced 2025-07-24 00:00:39 +08:00
Merge pull request #80 from Winterflower/pull-request-job
Adds Pull Request job for eland CI
This commit is contained in:
commit
4b2daa9ddc
19
.ci/jobs/elastic+eland+pull-request.yml
Normal file
19
.ci/jobs/elastic+eland+pull-request.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
- job:
|
||||||
|
name: elastic+eland+pull-request
|
||||||
|
display-name: 'elastic / eland # pull-request'
|
||||||
|
description: Testing of eland pull requests.
|
||||||
|
scm:
|
||||||
|
- git:
|
||||||
|
branches:
|
||||||
|
- ${ghprbActualCommit}
|
||||||
|
refspec: +refs/pull/*:refs/remotes/origin/pr/*
|
||||||
|
triggers:
|
||||||
|
- github-pull-request:
|
||||||
|
org-list:
|
||||||
|
- elastic
|
||||||
|
allow-whitelist-orgs-as-admins: true
|
||||||
|
github-hooks: true
|
||||||
|
status-context: clients-ci
|
||||||
|
cancel-builds-on-update: true
|
||||||
|
publishers: []
|
@ -6,7 +6,6 @@ ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
|||||||
|
|
||||||
# Define test files and indices
|
# Define test files and indices
|
||||||
ELASTICSEARCH_HOST = os.environ.get('ELASTICSEARCH_HOST') or 'localhost'
|
ELASTICSEARCH_HOST = os.environ.get('ELASTICSEARCH_HOST') or 'localhost'
|
||||||
ELASTICSEARCH_HOST = ELASTICSEARCH_HOST.lstrip('http://')
|
|
||||||
|
|
||||||
FLIGHTS_INDEX_NAME = 'flights'
|
FLIGHTS_INDEX_NAME = 'flights'
|
||||||
FLIGHTS_MAPPING = {"mappings": {
|
FLIGHTS_MAPPING = {"mappings": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user