Обновить .woodpecker/.woodpecker.yml

This commit is contained in:
parent df0d4f195e
commit 5e2a10f211

View file

@ -15,13 +15,12 @@ steps:
- git clone https://s.galanskiy:${GONETS}@dev.gossys.dev/s.galanskiy/gonets.git
install_deps:
image: debian:latest
commands:
- apt update
- apt install -y python3 #python3-pip python3-poetry nodejs npm debhelper devscripts build-essential fakeroot dh-make dpkg-dev
- python3 --version
prepare_python_deps:
image: debian:latest
commands:
- cd gonets/SRV
- curl -sSL https://install.python-poetry.org | python3 -
@ -29,13 +28,11 @@ steps:
- poetry export -f requirements.txt --output requirements.txt --without-hashes
build_backend:
image: debian:latest
commands:
- cd gonets/SRV
- poetry install
build_frontend:
image: debian:latest
commands:
- cd FRONT/DEV
- npm install
@ -51,7 +48,6 @@ steps:
- rm -rf DEV
prepare_debian:
image: debian:latest
commands:
- DESKTOP=1 DEBEMAIL="devteam@gossys.dev" DEBFULLNAME="GOSSYS LLC" dh_make --single -y
- cd debian/
@ -59,7 +55,6 @@ steps:
- rm -f README.*
clone_debian_config:
image: debian:latest
environment:
GONETS:
from_secret: GONETS
@ -74,18 +69,15 @@ steps:
- mv gonets-debian-template/rules gonets/debian/
build_package:
image: debian:latest
commands:
- dpkg-buildpackage -us -uc -b
get_version:
image: debian:latest
commands:
- VERSION=$(dpkg-parsechangelog -l./debian/changelog --show-field Version)
- echo "VERSION=$VERSION" > version.env
commit_changes:
image: debian:latest
environment:
GONETS:
from_secret: GONETS