-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/save-pod-logs-using-hostpath
- Loading branch information
Showing
7 changed files
with
70 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: Centos | ||
on: [push] | ||
|
||
jobs: | ||
Centos8: | ||
runs-on: ubuntu-24.04 | ||
container: centos:8 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/deploy-centos-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Uninstall Ant Media Server | ||
on: [push] | ||
|
||
jobs: | ||
test-uninstall: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up test environment | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y curl systemd | ||
- name: Download and install Ant Media Server | ||
run: | | ||
wget https://raw.githubusercontent.com/ant-media/Scripts/refs/heads/master/install_ant-media-server.sh | ||
curl -L -o ant-media-server-community.zip $(curl -s https://api.github.com/repos/ant-media/Ant-Media-Server/releases/latest | grep "browser_download_url" | cut -d '"' -f 4) | ||
bash ./install_ant-media-server.sh -i ant-media-server-community.zip | ||
- name: Verify AMS Installation | ||
run: | | ||
sleep 30 | ||
systemctl is-active antmedia | ||
test -d /usr/local/antmedia | ||
ps -aux |grep antmedia | ||
- name: Run uninstall script | ||
run: | | ||
wget https://raw.githubusercontent.com/ant-media/Ant-Media-Server/refs/heads/master/src/main/server/uninstall.sh | ||
sudo bash ./uninstall.sh <<< "yes" | ||
- name: Verify uninstallation | ||
run: | | ||
# Check if service file is removed | ||
test ! -f /etc/systemd/system/antmedia.service | ||
# Check if installation directory is removed | ||
test ! -d /usr/local/antmedia | ||
# Check if log directory is removed | ||
test ! -d /var/log/antmedia |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters