Skip to content

Commit

Permalink
cicd: workaround possible /sys/fs/cgroup issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mstyushin committed Dec 13, 2024
1 parent a1b0f51 commit 5da93a0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions github-actions-tests/mamonsu_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ if [ "${OS%:*}" = "centos" ]; then
cat /mamonsu/github-actions-tests/sources/agent_3.5.9.conf > /etc/mamonsu/agent.conf
systemctl daemon-reload
systemctl restart mamonsu
systemctl status mamonsu
if [[ $? -ne 0 ]]; then
# overcome possible GitHub limitations on /sys/fs/cgroup
/etc/init.d/mamonsu restart
/etc/init.d/mamonsu status
fi
sleep 5
echo && echo && echo "mamonsu version:"
mamonsu --version
Expand Down

0 comments on commit 5da93a0

Please sign in to comment.