2024-05-04 00:53:37 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2024-05-14 16:18:54 +00:00
|
|
|
name: Docker - Quick Test
|
2024-05-04 00:53:37 +00:00
|
|
|
steps:
|
2024-05-11 09:19:56 +00:00
|
|
|
- name: run
|
2024-05-14 16:18:54 +00:00
|
|
|
image: bobicloudvision/phyre-panel:latest
|
2024-05-14 16:20:32 +00:00
|
|
|
environment:
|
|
|
|
DEBIAN_FRONTEND: noninteractive
|
|
|
|
commands:
|
|
|
|
- MAIN_REPO_DIR=$(pwd)
|
2024-05-14 16:27:01 +00:00
|
|
|
- apt-get install -y rsync
|
2024-05-14 16:37:08 +00:00
|
|
|
- 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
|
2024-05-14 16:26:23 +00:00
|
|
|
- cd /usr/local/phyre/web/
|
2024-05-14 16:39:23 +00:00
|
|
|
- ls -la
|
2024-05-14 16:31:46 +00:00
|
|
|
- wget https://getcomposer.org/download/latest-stable/composer.phar
|
|
|
|
- COMPOSER_ALLOW_SUPERUSER=1 phyre-php composer.phar install
|
2024-05-14 16:30:13 +00:00
|
|
|
- phyre-php artisan test
|