Update .gitlab-ci.yml file

This commit is contained in:
2025-12-08 21:17:46 +01:00
parent 9218351ebc
commit 88e8ea7658

View File

@@ -21,10 +21,8 @@ lint:
- if: '$CI_COMMIT_MESSAGE =~ /lint/' - if: '$CI_COMMIT_MESSAGE =~ /lint/'
build-job: # This job runs in the build stage, which runs first. build-job: # This job runs in the build stage, which runs first.
stage: build stage: build
image: r.sectorq.eu/jaydee/python-custom:latest
script: script:
- python3 -m venv venv
- source venv/bin/activate
- pip install pyinstaller requests tabulate gitpython prompt_toolkit
- pyinstaller --onefile portainer.py - pyinstaller --onefile portainer.py
- scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null dist/portainer jd@192.168.80.222:/myapps/bin/ || true - scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null dist/portainer jd@192.168.80.222:/myapps/bin/ || true
- scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null dist/portainer jd@morefine.home.lan:/myapps/bin/ || true - scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null dist/portainer jd@morefine.home.lan:/myapps/bin/ || true