Avoid to use docker containers for now, as using the windows python seems to be easier
This commit is contained in:
parent
db8b0b581e
commit
6a809d52f0
24
.drone.yml
24
.drone.yml
@ -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'
|
Loading…
Reference in New Issue
Block a user