Skip to content

Commit

Permalink
Disables threshold check for CI runners
Browse files Browse the repository at this point in the history
Signed-off-by: Darshit Chanpura <[email protected]>
(cherry picked from commit da01ca9e93a18028044ea178743a73af01f37c99)
  • Loading branch information
DarshitChanpura committed Oct 19, 2023
1 parent 6d89e14 commit f91773f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
2 changes: 2 additions & 0 deletions .github/actions/download-plugin/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ runs:
chmod +x ./opensearch-${{ inputs.opensearch-version}}-SNAPSHOT/plugins/${{ inputs.plugin-name }}/tools/install_demo_configuration.sh
/bin/bash -c "yes | ./opensearch-${{ inputs.opensearch-version}}-SNAPSHOT/plugins/${{ inputs.plugin-name }}/tools/install_demo_configuration.sh"
echo "plugins.security.unsupported.restapi.allow_securityconfig_modification: true" >> ./opensearch-${{ inputs.opensearch-version }}-SNAPSHOT/config/opensearch.yml
echo "cluster.routing.allocation.disk.threshold_enabled: false" >> ./opensearch-${{ inputs.opensearch-version }}-SNAPSHOT/config/opensearch.yml
EOF
shell: bash

Expand All @@ -41,5 +42,6 @@ runs:
New-Item .\setup.bat -type file
Set-Content .\setup.bat -Value "powershell.exe -noexit -command `".\opensearch-${{ inputs.opensearch-version}}-SNAPSHOT\plugins\${{ inputs.plugin-name }}\tools\install_demo_configuration.bat -y -i -c`""
Add-Content -Path .\setup.bat -Value "echo plugins.security.unsupported.restapi.allow_securityconfig_modification: true >> .\opensearch-${{ inputs.opensearch-version}}-SNAPSHOT\config\opensearch.yml"
Add-Content -Path .\setup.bat -Value "echo cluster.routing.allocation.disk.threshold_enabled: false >> .\opensearch-${{ inputs.opensearch-version}}-SNAPSHOT\config\opensearch.yml"
Get-Content .\setup.bat
shell: pwsh
14 changes: 0 additions & 14 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,6 @@ jobs:
sudo rm -rf /usr/share/dotnet
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Remove unnecessary files Windows
if: ${{ runner.os == 'Windows' }}
run: |
choco uninstall julia -n --force
choco uninstall imagemagick -n --force
choco uninstall imagemagick.app -n --force
choco uninstall r.project -n --force
choco uninstall rtools -n --force
- id: install-dashboards
uses: ./.github/actions/install-dashboards
with:
Expand All @@ -94,11 +85,6 @@ jobs:
- name: Yarn cache clean
run: yarn cache clean

- name: Print disk free space
if: ${{ runner.os == 'Linux' }}
run: |
df . -h
- name: Run integration tests on Linux
if: ${{ runner.os == 'Linux' }}
run: |
Expand Down

0 comments on commit f91773f

Please sign in to comment.