Обновить .woodpecker/.woodpecker.yml
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
parent dccf1ad4e2
commit acc154df36

View file

@ -14,31 +14,19 @@ steps:
- git lfs install
- git clone https://s.galanskiy:${GONETS}@dev.gossys.dev/s.galanskiy/gonets.git
install_deps:
image: workflow
commands:
- apt update
- apt install -y python3
- python3 --version
prepare_python_deps:
image: debian:latest
commands:
- python3 --version
- cd gonets/SRV
- curl -sSL https://install.python-poetry.org | python3 -
- rm -f requirements.txt
- 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 gonets/FRONT/DEV
- npm install
- npm run package
@ -52,21 +40,12 @@ steps:
- cd ../..
- rm -rf DEV
prepare_debian:
image: debian:latest
commands:
- cd gonets
- DESKTOP=1 DEBEMAIL="devteam@gossys.dev" DEBFULLNAME="GOSSYS LLC" dh_make --single -y
- cd debian/
- rm -f *.ex
- rm -f README.*
clone_debian_config:
image: debian:latest
environment:
GONETS:
from_secret: GONETS
commands:
- cd /woodpecker/src
- git clone https://s.galanskiy:${GONETS}@dev.gossys.dev/s.galanskiy/gonets-debian-template.git
- mv gonets-debian-template/changelog gonets/debian/
@ -77,25 +56,13 @@ steps:
- mv gonets-debian-template/postrm gonets/debian/
- mv gonets-debian-template/rules gonets/debian/
build_package:
image: debian:latest
commands:
- cd gonets
- dpkg-buildpackage -us -uc -b
get_version:
image: debian:latest
commands:
- cd gonets
- VERSION=$(dpkg-parsechangelog -l./debian/changelog --show-field Version)
- echo "VERSION=$VERSION" > version.env
commit_changes:
image: debian:latest
environment:
GONETS:
from_secret: GONETS
commands:
- cd gonets
- source version.env
- git config user.name "s.galanskiy"