PhyrePanel-mirror/.drone-extend.yml

58 lines
1.8 KiB
YAML
Raw Normal View History

2024-05-07 08:13:25 +00:00
---
kind: pipeline
name: CentOS
steps:
- name: run unit tests
image: centos:latest
commands:
- sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
- sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
- yum update -y
2024-05-14 22:30:35 +00:00
- dnf -yq install sudo wget
2024-05-07 08:13:25 +00:00
- sudo wget -q -O - http://www.atomicorp.com/installers/atomic | sh
- mkdir /phyre-panel
- cp installers/centos-stream-9/install-partial/install_base.sh /phyre-panel/install_base.sh
- chmod +x /phyre-panel/install_base.sh
- /phyre-panel/install_base.sh
---
kind: pipeline
name: Debian 12
steps:
- name: run unit tests
image: debian:12
environment:
DEBIAN_FRONTEND: noninteractive
commands:
- apt-get update
2024-05-11 09:08:49 +00:00
---
kind: pipeline
name: Ubuntu 22.04
steps:
- name: run unit tests
image: ubuntu:22.04
environment:
DEBIAN_FRONTEND: noninteractive
commands:
- apt-get update
2024-05-14 22:30:35 +00:00
- apt-get install -yq libicu-dev sudo cron apt-utils -yqq daemonize dbus-user-session fontconfig rsync
2024-05-11 09:08:49 +00:00
- daemonize /usr/bin/unshare --fork --pid --mount-proc /lib/systemd/systemd --system-unit=basic.target
- mkdir /phyre-panel
- cp installers/ubuntu-22.04/install-partial/install_base.sh /phyre-panel/install_base.sh
- chmod +x /phyre-panel/install_base.sh
- /phyre-panel/install_base.sh
- cp installers/ubuntu-22.04/install-partial/install_web.sh /phyre-panel/install_web.sh
- chmod +x /phyre-panel/install_web.sh
- cp -r web /usr/local/phyre/web/
- cd /usr/local/phyre/web/
- wget https://getcomposer.org/download/latest-stable/composer.phar
- COMPOSER_ALLOW_SUPERUSER=1 phyre-php composer.phar install
- /phyre-panel/install_web.sh
- phyre-php artisan test