ci: increase kernel limits (#32902)

pull/32904/head
Diego Sampaio 1 year ago committed by GitHub
parent 978e2d18f6
commit cb88ca8694
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 9
      .github/workflows/ci-test-e2e.yml

@ -99,6 +99,15 @@ jobs:
job_summary: true
comment_on_pr: false
- name: Setup kernel limits
run: |
sudo sysctl -w net.ipv4.ip_local_port_range="500 65535"
sudo sysctl -w net.ipv4.tcp_mem="383865 511820 2303190"
echo fs.file-max=20000500 | sudo tee -a /etc/sysctl.conf
echo fs.nr_open=20000500 | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
- name: Login to GitHub Container Registry
if: (github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'release' || github.ref == 'refs/heads/develop')
uses: docker/login-action@v2

Loading…
Cancel
Save