Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
  • Loading branch information
matttbe committed Mar 8, 2024
1 parent 0e742e8 commit b402092
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,23 @@ jobs:
${{ runner.os }}_tests_${{ steps.branch.outputs.name }}-${{ matrix.mode }}-
${{ runner.os }}_tests_${{ steps.branch.outputs.name }}-
- name: Enable KVM group perms
- name: "Tests"
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: "Tests"
uses: multipath-tcp/mptcp-upstream-virtme-docker@latest
with:
ccache_maxsize: 500M ## 10GB = project limit
mode: auto-${{ matrix.mode }}
packetdrill_stable: ${{ steps.branch.outputs.name == 'export-net' && '1' || '0' }}
extra_env: ${{ matrix.mode == 'btf' && 'INPUT_RUN_TESTS_ONLY=bpftest_all' || '' }}
trace: ${{ secrets.TESTS_ACTION_DEBUG }}
/usr/bin/docker run --workdir /github/workspace --rm \
--privileged --pull always \
-e "INPUT_CCACHE_MAXSIZE=500M" \
-e "INPUT_MODE=auto-${{ matrix.mode }}" \
-e "INPUT_PACKETDRILL_STABLE=${{ steps.branch.outputs.name == 'export-net' && '1' || '0' }}" \
-e "INPUT_EXTRA_ENV=${{ matrix.mode == 'btf' && 'INPUT_RUN_TESTS_ONLY=bpftest_all' || '' }}" \
-e "INPUT_TRACE=${{ secrets.TESTS_ACTION_DEBUG }}" \
-e "INPUT_CI_TIMEOUT_SEC" \
-e "GITHUB_SHA" -e "GITHUB_REF_NAME" -e GITHUB_ACTIONS=true -e CI=true \
-v "${PWD}":"/github/workspace" \
mptcp/mptcp-upstream-virtme-docker:${{ steps.branch.outputs.name == 'export' && 'latest' || 'net' }}
- name: "Publish conclusion"
if: always()
Expand Down

0 comments on commit b402092

Please sign in to comment.