Skip to content

Commit

Permalink
ci:tarball: ensure that bugtool gops heap works
Browse files Browse the repository at this point in the history
[Upstream main fff17c0]

This was changed to adapt to packages-e2e tests since in upstream
we removed the docker pull that was failing in CI when there are
lot of PRs from contributors. We changed that to do cross compile
builds.

For backporting branch the number of PRs is limited.

Signed-off-by: Djalal Harouni <[email protected]>
  • Loading branch information
tixxdz committed Jan 29, 2024
1 parent dfe8ad5 commit 8351eb0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/packages-e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ jobs:
sudo mkdir -p /etc/tetragon/tetragon.tp.d/
sudo cp examples/tracingpolicy/bpf.yaml /etc/tetragon/tetragon.tp.d/bpf.yaml
- name: Configure gops
run: |
echo "localhost:8118" | sudo tee /etc/tetragon/tetragon.conf.d/gops-address
- name: Install Tetragon Tarball
run: |
tar zxvf tetragon-${{ steps.tag.outputs.tag }}-${{ matrix.arch }}.tar.gz
Expand Down Expand Up @@ -85,6 +89,7 @@ jobs:
sudo tetra tracingpolicy list | grep bpf -
sudo tetra bugtool
test $(stat -c %a /var/run/tetragon/tetragon.sock) -eq "660"
sudo tetra bugtool 2>&1 | grep "Successfully dumped gops pprof-heap" -
- name: Uninstall Tetragon Tarball
run: |
Expand Down

0 comments on commit 8351eb0

Please sign in to comment.