Skip to content

Commit

Permalink
test linux only
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Crawford <steecraw@amazon.com>
  • Loading branch information
stephen-crawford committed Nov 16, 2022
1 parent 0e2aca0 commit f19749e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ runs:
docker build -t opensearch-test -f- . <<EOF
FROM ubuntu:latest
COPY --chown=1001:1001 os-ep.sh /docker-host/
COPY --chown=1001:1001 setup.sh /docker-host/setup.sh
COPY --chown=1001:1001 ${{ inputs.plugin-name }}.zip /docker-host/${{ inputs.docker-host-plugin-zip }}.zip
COPY --chown=1001:1001 opensearch* /opensearch/
RUN chmod +x /docker-host/os-ep.sh
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/plugin_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
os: [ubuntu-latest]
jdk: [17]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -28,7 +28,8 @@ jobs:
run: |
cat > setup.sh <<EOF
chmod +x ./opensearch/plugins/opensearch-security/tools/install_demo_configuration.sh
call echo 'y', 'y', 'N' ^| D:\a\${{ github.event.repository.name }}\${{ github.event.repository.name }}/opensearch/plugins/opensearch-security/tools/install_demo_configuration.sh
COPY --chown=1001:1001 ./opensearch/plugins/opensearch-security/tools/install_demo_configuration.sh /docker-host/opensearch/plugins/opensearch-security/tools/install_demo_configuration.sh
call echo 'y', 'y', 'N' ^| /docker-host/opensearch/plugins/opensearch-security/tools/install_demo_configuration.sh
echo plugins.security.unsupported.restapi.allow_securityconfig_modification: true >> config/opensearch.yml
EOF
Expand Down

0 comments on commit f19749e

Please sign in to comment.