Skip to content

Commit

Permalink
ci: tc
Browse files Browse the repository at this point in the history
  • Loading branch information
msune committed Oct 7, 2024
1 parent 91c1d1e commit ed86283
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
run: |
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install -y clang make iproute2 \
sudo apt-get install -y clang make iproute2 iperf \
bridge-utils python3-scapy python3-pip libbpf-dev \
libelf-dev linux-headers-generic \
linux-libc-dev llvm iptables
Expand Down Expand Up @@ -166,6 +166,21 @@ jobs:
minikube kubectl -- get pods -o wide
( make VERBOSE=1 _check_affinity && ( echo "FAILED: negative test succeeded with cni='${CNI}' nodes='${NODES}' when it should have failed!" && exit 1 ) ) || true
- name: "Performance test nodes='${{ matrix.combination.nodes }}' cni='${{ matrix.combination.cni }}'..."
env:
CNI: ${{matrix.combination.cni}}
NODES: ${{matrix.combination.nodes}}
run: |
cd sfunnel/test/cni/
make VERBOSE=1 _check_perf
#Create the markdown report (TODO improve txt)
echo "# Performance report" >> $GITHUB_STEP_SUMMARY
echo "CNI: ${CNI}" >> $GITHUB_STEP_SUMMARY
echo "Number of nodes: ${NODES}" >> $GITHUB_STEP_SUMMARY
echo "## Results" >> $GITHUB_STEP_SUMMARY
cat .last_perf_report.txt >> $GITHUB_STEP_SUMMARY
docker_build_test_publish:
needs: [check_unit, check_cni_example]
runs-on: ubuntu-22.04
Expand Down

0 comments on commit ed86283

Please sign in to comment.