This commit is contained in:
qiaofeng1227 2023-07-24 10:43:56 +08:00
parent 59d76e93da
commit 2ba11515fd
3 changed files with 13 additions and 8 deletions

View file

@ -66,10 +66,11 @@ jobs:
- name: Checkout source branch - name: Checkout source branch
run: git checkout ${{ steps.source_commit.outputs.commit }} run: git checkout ${{ steps.source_commit.outputs.commit }}
- name: Install - name: Install appstore
run: | run: |
wget https://websoft9.github.io/websoft9/install/install.sh && bash install.sh online # override cockpit.conf, w9services
sed -i '/#####ci-section#####/a rm -f /etc/cockpit/cockpit.conf && cp cockpit/cockpit.conf /etc/cockpit/cockpit.conf && rm -f /data/apps/w9services && cp -r docker /data/apps/w9services' install/install.sh
- name: Test - name: Test appmanage API
run: | run: |
echo "Test" echo "Start to test appmanage API"

View file

@ -13,6 +13,10 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Install - name: Install appstore
run: | run: |
wget https://websoft9.github.io/websoft9/install/install.sh && bash install.sh online cd install && bash install.sh
- name: Test appmanage API
run: |
echo "Start to test appmanage API"

View file

@ -376,6 +376,8 @@ sudo sed -i 's/ListenStream=9090/ListenStream=9000/' /lib/systemd/system/cockpit
# configure cockpit # configure cockpit
cp /data/apps/websoft9/cockpit/cockpit.conf /etc/cockpit/cockpit.conf cp /data/apps/websoft9/cockpit/cockpit.conf /etc/cockpit/cockpit.conf
#####ci-section#####
sudo systemctl restart cockpit sudo systemctl restart cockpit
sudo systemctl daemon-reload sudo systemctl daemon-reload
sudo systemctl enable --now cockpit sudo systemctl enable --now cockpit
@ -383,8 +385,6 @@ sudo systemctl enable --now cockpit.socket
sudo systemctl restart cockpit.socket sudo systemctl restart cockpit.socket
sudo systemctl restart cockpit sudo systemctl restart cockpit
#####ci-section#####
} }
StartAppMng(){ StartAppMng(){