Update .drone.yml
Some checks failed
Build on Multiple Distributions / build-on-debian (push) Has been cancelled
Build on Multiple Distributions / build-on-fedora (push) Has been cancelled
Build on Multiple Distributions / build-on-arch (push) Has been cancelled
continuous-integration/drone Build was killed
Some checks failed
Build on Multiple Distributions / build-on-debian (push) Has been cancelled
Build on Multiple Distributions / build-on-fedora (push) Has been cancelled
Build on Multiple Distributions / build-on-arch (push) Has been cancelled
continuous-integration/drone Build was killed
This commit is contained in:
11
.drone.yml
11
.drone.yml
@@ -3,6 +3,14 @@ type: kubernetes
|
|||||||
name: Build on Multiple Distributions
|
name: Build on Multiple Distributions
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: clone-repo
|
||||||
|
image: docker pull alpine/git
|
||||||
|
commands:
|
||||||
|
- git clone https://gitea.akshun-lab.uk/akshun/setup-script.git /artifacts
|
||||||
|
volumes:
|
||||||
|
- name: artifacts
|
||||||
|
path: /artifacts
|
||||||
|
|
||||||
- name: build-on-arch
|
- name: build-on-arch
|
||||||
image: archlinux:latest
|
image: archlinux:latest
|
||||||
commands:
|
commands:
|
||||||
@@ -11,7 +19,6 @@ steps:
|
|||||||
- mv /lib/python3*/EXTERNALLY-MANAGED .
|
- mv /lib/python3*/EXTERNALLY-MANAGED .
|
||||||
- pip install --upgrade pip
|
- pip install --upgrade pip
|
||||||
- pip install pyinstaller inquirerpy distro
|
- pip install pyinstaller inquirerpy distro
|
||||||
- git clone https://gitea.akshun-lab.uk/akshun/setup-script.git /artifacts
|
|
||||||
- cd /artifacts
|
- cd /artifacts
|
||||||
- pyinstaller --onefile --add-data "bash/:bash/" --add-data "prompts/:prompts/" --add-data "config/:config/" setup.py
|
- pyinstaller --onefile --add-data "bash/:bash/" --add-data "prompts/:prompts/" --add-data "config/:config/" setup.py
|
||||||
volumes:
|
volumes:
|
||||||
@@ -33,7 +40,6 @@ steps:
|
|||||||
- apt install -y git python3 python3-pip binutils
|
- apt install -y git python3 python3-pip binutils
|
||||||
- mv /lib/python*/EXTERNALLY-MANAGED .
|
- mv /lib/python*/EXTERNALLY-MANAGED .
|
||||||
- pip install pyinstaller inquirerpy distro
|
- pip install pyinstaller inquirerpy distro
|
||||||
- git clone https://gitea.akshun-lab.uk/akshun/setup-script.git /artifacts
|
|
||||||
- cd /artifacts
|
- cd /artifacts
|
||||||
- pyinstaller --onefile --add-data "bash/:bash/" --add-data "prompts/:prompts/" --add-data "config/:config/" setup.py
|
- pyinstaller --onefile --add-data "bash/:bash/" --add-data "prompts/:prompts/" --add-data "config/:config/" setup.py
|
||||||
volumes:
|
volumes:
|
||||||
@@ -54,7 +60,6 @@ steps:
|
|||||||
- dnf up -y
|
- dnf up -y
|
||||||
- dnf install -y git python python-pip binutils
|
- dnf install -y git python python-pip binutils
|
||||||
- pip install inquirerpy distro pyinstaller
|
- pip install inquirerpy distro pyinstaller
|
||||||
- git clone https://gitea.akshun-lab.uk/akshun/setup-script.git /artifacts
|
|
||||||
- cd /artifacts
|
- cd /artifacts
|
||||||
- pyinstaller --onefile --add-data "bash/:bash/" --add-data "prompts/:prompts/" --add-data "config/:config/" setup.py
|
- pyinstaller --onefile --add-data "bash/:bash/" --add-data "prompts/:prompts/" --add-data "config/:config/" setup.py
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user