Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/binhex/trigger-docker-build
Python script to monitor remote sites for version changes and trigger Docker image builds
https://github.com/binhex/trigger-docker-build
archlinux aur docker dockerhub github-monitor python python-2 utility
Last synced: 26 days ago
JSON representation
Python script to monitor remote sites for version changes and trigger Docker image builds
- Host: GitHub
- URL: https://github.com/binhex/trigger-docker-build
- Owner: binhex
- License: gpl-3.0
- Created: 2017-03-20T20:54:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-08-05T11:20:52.000Z (3 months ago)
- Last Synced: 2024-08-05T21:31:08.494Z (3 months ago)
- Topics: archlinux, aur, docker, dockerhub, github-monitor, python, python-2, utility
- Language: Python
- Homepage:
- Size: 12.9 MB
- Stars: 6
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**Application:**
TriggerDockerBuild**Description:**
A Python script to monitor GitHub, Arch Repository and Arch User Repository for version changes, if a change is identified then we create a new GitHub release which then triggers the GitHub Action to build, test and push the Docker image to multiple Docker registries.**Features:**
- Github release or tag monitoring.
- Arch Official Repository (AOR) monitoring.
- Arch User Repository (AUR) monitoring.
- Support for trigger (create release) or notify (email) actions.
- Email notification.
- Kodi notification.**Windows Installation:**
Not supported**Linux Installation:**
- Install Python 2.7.x
- Download the zipped source from https://github.com/binhex/trigger-docker-build/archive/master.zip
- Unpack the zipped source**Configuration:**
```
site_list = [{'source_site_name': '', 'source_repo_name': '', 'source_app_name': '', 'source_query_type': 'release|tag', 'target_repo_name': '', 'action': ''}]
```**Usage:**
```
./lib/pex/TriggerDockerBuild.pex ./TriggerDockerBuild.py --daemon
```**Future:**
- Use Beautiful Soup to also web scrape for non API sites.**Known Issues:**
- TBA
___
If you appreciate my work, then please consider buying me a beer :D[![PayPal donation](https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=H8PWP3RLBDCBQ)