Merge pull request #80 from Winterflower/pull-request-job

Adds Pull Request job for eland CI
This commit is contained in:
Camilla 2019-12-02 18:15:54 +01:00 committed by GitHub
commit 4b2daa9ddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 1 deletions

View 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: []

View File

@ -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": {