Skip to content

Commit

Permalink
ci: Removed debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
garberg committed Oct 4, 2023
1 parent e33c9bd commit 809f727
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,10 @@ jobs:
sudo nipap/nipap-passwd add -u readonly -p gottatest -f /etc/nipap/local_auth.db --readonly -n "Read-only user for running unit tests"
sudo sed -e "s/^db_host *=.*/db_host = localhost/" -e "s/{{SYSLOG}}/true/" -e "s/^debug.\+/debug = true/" -i /etc/nipap/nipap.conf
sudo /etc/init.d/nipapd restart
sudo systemctl status nipapd.service
sudo ps auxf | grep nipap
sudo systemctl stop nipapd.service
sleep 5
sudo sed -e "s/^user/#user/" -i /etc/nipap/nipap.conf
sudo nipapd --no-pid-file -c /etc/nipap/nipap.conf -df 2>&1 > /tmp/nipap.log &
- name: "Verify pre-upgrade data"
if: ${{ matrix.upgrade == true }}
run: nosetests3 tests/upgrade-after.py
Expand All @@ -170,12 +166,10 @@ jobs:
nosetests3 tests/test_nipap_ro.py
nosetests3 tests/test_rest.py
make -C jnipap test
cat /tmp/nipap.log
- name: "Accident analysis"
if: failure()
run: |
sudo cat /etc/nipap/nipap.conf
sudo cat /var/log/syslog
sudo cat /tmp/nipap.log || true
# foo

0 comments on commit 809f727

Please sign in to comment.