Compare commits
13 Commits
dev
...
6602df3aaa
| Author | SHA1 | Date | |
|---|---|---|---|
| 6602df3aaa | |||
| 33a6a5d7fb | |||
| 6cb727ca5b | |||
| ad15d234a5 | |||
| 4d67b353d5 | |||
| c7f347a0f2 | |||
| 3c091cf27b | |||
| 08e1ddf6ca | |||
| ff4e994cb8 | |||
| b1dfdc4112 | |||
|
8a2798a20d
|
|||
|
bd293ea90a
|
|||
|
8810ff47e5
|
33
.drone.yml
Normal file
33
.drone.yml
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
# This is the pipeline 1
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: run_tests
|
||||||
|
|
||||||
|
# Only trigger on these event
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
||||||
|
# Pipeline steps
|
||||||
|
steps:
|
||||||
|
# Testing
|
||||||
|
- name: Testing
|
||||||
|
image: python:3.11
|
||||||
|
commands:
|
||||||
|
- pip install -r requirements.txt
|
||||||
|
- python3 run_tests.py
|
||||||
|
- python3 -c "print('The current triggered tag is ${DRONE_TAG}'); print('Start Builder WebPicDownloader for linux.')" # I know it's bad, just a test
|
||||||
|
- pyinstaller --noconfirm --onefile --windowed --icon "./webpicdownloader/assets/logo.ico" --name "WebPicDownloader" --clean --version-file "./app_version_file.txt" --add-data "./webpicdownloader/assets:webpicdownloader/assets/" --exclude-module "auto_py_to_exe" --exclude-module "pyinstaller" --exclude-module "unittest" "./main.py"
|
||||||
|
# Notifying
|
||||||
|
# - name: deploy_&_notify
|
||||||
|
# image: appleboy/drone-discord
|
||||||
|
# settings:
|
||||||
|
# webhook_id:
|
||||||
|
# from_secret: discord_id
|
||||||
|
# webhook_token:
|
||||||
|
# from_secret: discord_token
|
||||||
|
# message: "Release with tag works ! (TAG uuid: {{build.tag}})"
|
||||||
|
# when:
|
||||||
|
# status:
|
||||||
|
# - success
|
||||||
@@ -14,3 +14,4 @@ if __name__ == '__main__':
|
|||||||
)
|
)
|
||||||
apte.__name__ = '__main__'
|
apte.__name__ = '__main__'
|
||||||
apte.run()
|
apte.run()
|
||||||
|
# pyinstaller --noconfirm --onefile --windowed --icon "./webpicdownloader/assets/logo.ico" --name "WebPicDownloader" --clean --version-file "./app_version_file.txt" --add-data "./webpicdownloader/assets;webpicdownloader/assets/" --exclude-module "auto_py_to_exe" --exclude-module "pyinstaller" --exclude-module "unittest" "./WebPicDownloader/main.py"
|
||||||
7
renovate.json
Normal file
7
renovate.json
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": [
|
||||||
|
"config:base",
|
||||||
|
":semanticCommitTypeAll(chore)"
|
||||||
|
]
|
||||||
|
}
|
||||||
7
requirements.txt
Normal file
7
requirements.txt
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# Production dependancies
|
||||||
|
beautifulsoup4==4.12.*
|
||||||
|
urllib3==2.0.*
|
||||||
|
|
||||||
|
# Dev dependancies
|
||||||
|
auto-py-to-exe==2.35.0
|
||||||
|
pyinstaller==5.11.0
|
||||||
Reference in New Issue
Block a user