Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)