From 45c97d17919866270c900b3242869213f72614bc Mon Sep 17 00:00:00 2001 From: Laci Dusa Date: Tue, 23 Dec 2025 14:59:37 +0100 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6459960..14ca245 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,12 +34,13 @@ build-job: # This job runs in the build stage, which runs first. # image: r.sectorq.eu/jaydee/builder-portainer:latest before_script: - export PYTHONPATH=$PWD - - python3 -m pip install --break-system-packages flake8 black pylint tabulate prompt_toolkit hvac + - python3 -m pip install --break-system-packages flake8 black pylint tabulate prompt_toolkit hvac pyinstaller script: - mkdir -p ~/.ssh - echo "$SSH_PRIVATE_KEY" | tr -d '\r' > ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa - ls -la + - python3 -m pip install --break-system-packages flake8 black pylint tabulate prompt_toolkit hvac pyinstaller - pyinstaller --onefile --clean --hidden-import=portainer_api portainer.py - strings dist/portainer | grep portainer_api || true - scp -o ConnectTimeout=5 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null dist/portainer jd@192.168.80.222:/myapps/bin/ || true