mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 15:10:25 +00:00
20 lines
728 B
YAML
20 lines
728 B
YAML
---
|
|
kind: pipeline
|
|
name: Docker - Quick Test
|
|
steps:
|
|
- name: run
|
|
image: bobicloudvision/phyre-panel:latest
|
|
environment:
|
|
DEBIAN_FRONTEND: noninteractive
|
|
commands:
|
|
- MAIN_REPO_DIR=$(pwd)
|
|
- apt-get install -y rsync
|
|
- cp /usr/local/phyre/web/phyre-config.ini /usr/local/phyre/phyre-config.ini.bak
|
|
- rm -rf /usr/local/phyre/web
|
|
- cp -r $MAIN_REPO_DIR/web /usr/local/phyre/web
|
|
- cp /usr/local/phyre/phyre-config.ini.bak /usr/local/phyre/web/phyre-config.ini
|
|
- cd /usr/local/phyre/web/
|
|
- ls -la
|
|
- wget https://getcomposer.org/download/latest-stable/composer.phar
|
|
- COMPOSER_ALLOW_SUPERUSER=1 phyre-php composer.phar install
|
|
- phyre-php artisan test
|