Skip to content

Commit

Permalink
Revert "Manual master cherrypick into 2.x (opensearch-project#550)"
Browse files Browse the repository at this point in the history
This reverts commit 423c599.
  • Loading branch information
AMoo-Miki committed Jul 12, 2023
1 parent 423c599 commit 8b23019
Show file tree
Hide file tree
Showing 186 changed files with 2,548 additions and 8,089 deletions.
56 changes: 0 additions & 56 deletions .ci/license/check-license-headers.sh

This file was deleted.

9 changes: 0 additions & 9 deletions .ci/license/license-mc.txt

This file was deleted.

6 changes: 0 additions & 6 deletions .ci/license/license-sc.txt

This file was deleted.

7 changes: 7 additions & 0 deletions .ci/opendistro/Dockerfile.opendistro
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ARG OPENDISTRO_VERSION
FROM amazon/opendistro-for-elasticsearch:${OPENDISTRO_VERSION}

ARG es_path=/usr/share/elasticsearch

ARG SECURE_INTEGRATION
RUN if [ "$SECURE_INTEGRATION" != "true" ] ; then $es_path/bin/elasticsearch-plugin remove opendistro_security; fi
16 changes: 16 additions & 0 deletions .ci/opendistro/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: '3'

services:
elasticsearch:
build:
context: .
dockerfile: Dockerfile.opendistro
args:
- SECURE_INTEGRATION=${SECURE_INTEGRATION:-false}
- OPENDISTRO_VERSION=${OPENDISTRO_VERSION:-latest}
environment:
- discovery.type=single-node
- bootstrap.memory_lock=true
ports:
- '9200:9200'
user: elasticsearch
6 changes: 0 additions & 6 deletions .ci/opensearch/Dockerfile.opensearch
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,4 @@ ARG opensearch_path=/usr/share/opensearch
ARG opensearch_yml=$opensearch_path/config/opensearch.yml

ARG SECURE_INTEGRATION

HEALTHCHECK --start-period=20s --interval=5s --retries=2 --timeout=1s \
CMD if [ "$SECURE_INTEGRATION" != "true" ]; \
then curl --fail localhost:9200/_cat/health; \
else curl --fail -k https:/localhost:9200/_cat/health -u admin:admin; fi

RUN if [ "$SECURE_INTEGRATION" != "true" ] ; then $opensearch_path/bin/opensearch-plugin remove opensearch-security; fi
12 changes: 0 additions & 12 deletions .ci/opensearch/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ version: '3'

services:
opensearch:
restart: always
build:
context: .
dockerfile: Dockerfile.opensearch
Expand All @@ -12,17 +11,6 @@ services:
environment:
- discovery.type=single-node
- bootstrap.memory_lock=true
- SECURE_INTEGRATION=${SECURE_INTEGRATION:-false}
ports:
- '9200:9200'
user: opensearch
autoheal:
restart: always
image: willfarrell/autoheal
environment:
- AUTOHEAL_CONTAINER_LABEL=all
- AUTOHEAL_START_PERIOD=30
- AUTOHEAL_INTERVAL=5
- AUTOHEAL_DEFAULT_STOP_TIMEOUT=30
volumes:
- /var/run/docker.sock:/var/run/docker.sock
18 changes: 5 additions & 13 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
"eslint:recommended",
"prettier"
],
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false
},
"parser": "babel-eslint",
"plugins": [
"prettier"
],
Expand All @@ -21,14 +18,9 @@
"endOfLine": "auto"
}
],
/*temporarily turn off no-unused-vars, open an issue to track https://github.com/opensearch-project/opensearch-js/issues/241*/
"no-unused-vars": "off",
/*temporarily turn off no-dupe-else-if, open an issue to track https://github.com/opensearch-project/opensearch-js/issues/240*/
"no-dupe-else-if": "off",
"no-unused-vars": [
"error",
{
"varsIgnorePattern": "^_.*",
"argsIgnorePattern": "^_.*"
}
]
"no-dupe-else-if": "off"
}
}
}
10 changes: 0 additions & 10 deletions .github/dependabot.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/add-untriaged.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/changelog_verifier.yml

This file was deleted.

44 changes: 0 additions & 44 deletions .github/workflows/dependabot_pr.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/gh_pages.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/workflows/license-header.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/links.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
uses: softprops/action-gh-release@v1
with:
draft: true
generate_release_notes: true
generate_release_notes: true
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,6 @@ opensearch*
!opensearch_dashboards*
!opensearchDashboards*

# documentation
docs/

# temporary
tmp/

test/benchmarks/macro/fixtures/*

*-junit.xml
Expand Down
Loading

0 comments on commit 8b23019

Please sign in to comment.