This repository has been archived on 2023-11-29. You can view files and clone it, but cannot push or open issues or pull requests.
WebPicDownloader/.drone.yml
RenovateBot ff4e994cb8 chore(deps): update python docker tag to v3.11 (master) (#12)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| python | docker | minor | `3.10` -> `3.11` |

---

### Configuration

???? **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

???? **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

???? **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4zNS4wIiwidXBkYXRlZEluVmVyIjoiMzUuMzUuMCJ9-->

Co-authored-by: Renovate Bot <no-reply@io-projects.com>
Reviewed-on: #12
Co-authored-by: RenovateBot <renovate@noreply.endmove.eu>
Co-committed-by: RenovateBot <renovate@noreply.endmove.eu>
2023-04-07 13:07:22 +02:00

33 lines
1.0 KiB
YAML

---
# 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