diff --git a/.ci/jobs/elastic+eland+pull-request.yml b/.ci/jobs/elastic+eland+pull-request.yml new file mode 100644 index 0000000..0249070 --- /dev/null +++ b/.ci/jobs/elastic+eland+pull-request.yml @@ -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: [] \ No newline at end of file diff --git a/eland/tests/__init__.py b/eland/tests/__init__.py index 36353f1..50e8930 100644 --- a/eland/tests/__init__.py +++ b/eland/tests/__init__.py @@ -6,7 +6,6 @@ ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) # Define test files and indices ELASTICSEARCH_HOST = os.environ.get('ELASTICSEARCH_HOST') or 'localhost' -ELASTICSEARCH_HOST = ELASTICSEARCH_HOST.lstrip('http://') FLIGHTS_INDEX_NAME = 'flights' FLIGHTS_MAPPING = {"mappings": {