Skip to content

Commit

Permalink
Try compile VTS using GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
ditatompel committed Jun 7, 2024
1 parent 9c2db17 commit 76a42c4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,15 @@ jobs:

- name: Run install Nginx
run: |
sed -i 's/\(^# load_module\|^ *# vhost_traffic_\)/\1/' ./etc/nginx/nginx.conf
chmod +x ./kickstart.sh
echo "y" | sudo ./kickstart.sh -I
- name: Compile VTS
run: |
sed -i 's/\(^# load_module\|^ *# vhost_traffic_\)/\1/' ./etc/nginx/nginx.conf
sudo cp -rT ./etc/nginx /etc/nginx
./kickstart.sh -V
- name: Text nginx config
run: |
sudo nginx -t
3 changes: 2 additions & 1 deletion kickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ install()
[ "$answer" != "y" ] && echo "Script execution aborted." && exit 0

PRI "Performing system upgrade..."
apt-get update && apt-get upgrade -y
# apt-get update && apt-get upgrade -y
apt-get update

PRI "Installing prerequistes..."
apt install sudo curl gnupg2 ca-certificates lsb-release ${PREREQUISTES} -y
Expand Down

0 comments on commit 76a42c4

Please sign in to comment.