Avoid to use docker containers for now, as using the windows python seems to be easier

This commit is contained in:
Manuel Cortez 2021-12-23 15:52:42 -06:00
parent db8b0b581e
commit 6a809d52f0
No known key found for this signature in database
GPG Key ID: 9E0735CA15EFE790

View File

@ -11,15 +11,6 @@ steps:
commands: commands:
- 'type C:\ProgramData\Amazon\EC2-Windows\Launch\Log\UserdataExecution.log' - 'type C:\ProgramData\Amazon\EC2-Windows\Launch\Log\UserdataExecution.log'
- name: Generate doc
image: python
commands:
- cp changelog.md doc/changelog.md
- cd doc
- python documentation_importer.py
- cd ../src
- python ../doc/generator.py
- name: Upgrade chocolatey - name: Upgrade chocolatey
commands: commands:
- 'choco upgrade chocolatey -y' - 'choco upgrade chocolatey -y'
@ -35,6 +26,16 @@ steps:
- '&$env:PYTHON3_32 -m pip uninstall enum34 -y' - '&$env:PYTHON3_32 -m pip uninstall enum34 -y'
- '&$env:PYTHON3_32 -m pip install --upgrade markdown babel nuitka -y' - '&$env:PYTHON3_32 -m pip install --upgrade markdown babel nuitka -y'
- name: Generate doc
environment:
PYTHON3_32: C:\python37\python.exe
commands:
- cp changelog.md doc/changelog.md
- cd doc
- python documentation_importer.py
- cd ..\src
- '&$env:PYTHON3_32 ..\doc/generator.py'
- name: Build app - name: Build app
environment: environment:
PYTHON3_32: C:\python37\python.exe PYTHON3_32: C:\python37\python.exe
@ -66,13 +67,14 @@ steps:
- '&$env:NSIS installer.nsi' - '&$env:NSIS installer.nsi'
- name: upload - name: upload
image: python
environment: environment:
FTP_SERVER: de.manuelcortez.net FTP_SERVER: de.manuelcortez.net
FTP_USERNAME: FTP_USERNAME:
from_secret: username from_secret: username
FTP_PASSWORD: FTP_PASSWORD:
from_secret: password from_secret: password
environment:
PYTHON3_32: C:\python37\python.exe
commands: commands:
- cd artifacts - cd artifacts
- python ../scripts/upload.py - '&$env:PYTHON3_32 ../scripts/upload.py'