PhyrePanel-mirror/.drone.yml

21 lines
839 B
YAML
Raw Normal View History

2024-05-02 21:44:39 +00:00
kind: pipeline
steps:
2024-05-02 22:05:24 +00:00
- name: Phyre Panel - Install Base
2024-05-02 21:55:34 +00:00
image: ubuntu
2024-05-02 21:44:39 +00:00
commands:
2024-05-02 21:55:34 +00:00
- ls -la
2024-05-02 22:05:24 +00:00
- sudo mkdir /phyre-panel
2024-05-02 22:06:05 +00:00
- sudo cp installers/ubuntu-22.04/install-partial/install_base.sh /phyre-panel/install_base.sh
2024-05-02 22:05:24 +00:00
- sudo chmod +x /phyre-panel/install_base.sh
- sudo /phyre-panel/install_base.sh
2024-05-02 22:06:05 +00:00
- sudo cp installers/ubuntu-22.04/install-partial/install_web.sh /phyre-panel/install_web.sh
2024-05-02 22:05:24 +00:00
- sudo chmod +x /phyre-panel/install_web.sh
- name: Phyre Panel - Run Unit Test
commands:
- sudo cp -r web /usr/local/phyre/web/
- cd /usr/local/phyre/web/
- sudo wget https://getcomposer.org/download/latest-stable/composer.phar
- sudo COMPOSER_ALLOW_SUPERUSER=1 phyre-php composer.phar install
- sudo /phyre-panel/install_web.sh
- sudo phyre-php artisan test