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