[API] Updates source code docs to 6a749236ec86e65b50e31dc888c727c0aede67a3 #1204
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: opentelemetry | |
| on: | |
| push: | |
| branches: | |
| - 9.0 | |
| pull_request: | |
| branches: | |
| - 9.0 | |
| jobs: | |
| test-otel: | |
| name: 'Test Open Telemetry' | |
| env: | |
| TEST_ES_SERVER: http://localhost:9250 | |
| PORT: 9250 | |
| TEST_WITH_OTEL: true | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby: ['3.4', 'jruby-9.4'] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Increase system limits | |
| run: | | |
| sudo swapoff -a | |
| sudo sysctl -w vm.swappiness=1 | |
| sudo sysctl -w fs.file-max=262144 | |
| sudo sysctl -w vm.max_map_count=262144 | |
| - uses: elastic/elastic-github-actions/elasticsearch@master | |
| with: | |
| stack-version: 9.0.5-SNAPSHOT | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| - name: Build | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install libcurl4-openssl-dev | |
| rake bundle:clean | |
| rake bundle:install | |
| - name: elasticsearch | |
| run: cd elasticsearch && bundle exec rake test:all | |
| - name: elasticsearch-api | |
| run: rake es:download_artifacts[9.0.5-SNAPSHOT] && cd elasticsearch-api && bundle exec rake test:all |