Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stustanet/wumpe
Auto Build & Deploy System for StuStaNet Websites
https://github.com/stustanet/wumpe
autodeploy builder github gitlab webhook webhooks
Last synced: about 2 months ago
JSON representation
Auto Build & Deploy System for StuStaNet Websites
- Host: GitHub
- URL: https://github.com/stustanet/wumpe
- Owner: stustanet
- License: mit
- Created: 2017-11-17T12:00:45.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-11-14T15:26:27.000Z (about 3 years ago)
- Last Synced: 2024-06-20T16:36:23.566Z (6 months ago)
- Topics: autodeploy, builder, github, gitlab, webhook, webhooks
- Language: Go
- Homepage: https://gitlab.stusta.de/stustanet/wumpe
- Size: 38.1 KB
- Stars: 2
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wumpe
Wumpe is a simple auto build & deploy system which listens for GitHub or GitLab webhook events and runs a configured command, e.g. a script triggering a git pull and then a Hugo build or just a Makefile.
## Setup
Make sure [Go is correctly installed and configured](https://golang.org/doc/install) and a `$GOPATH` is set.
In the following we assume that `$GOBIN=/usr/local/bin`.1. Get source code, build and install Wumpe: `go get -u github.com/stustanet/wumpe`
2. `cd $GOPATH/src/github.com/stustanet/wumpe`
3. `cp systemd/wumpe.service /etc/systemd/system/wumpe.service`
4. `cp wumpe.toml.sample /etc/wumpe.toml` and adjust it.
5. Setup the build system user and git repos as configured in `wumpe.toml` and `wumpe.service`.
6. Setup the webhooks in your GitHub (Settings > Webhooks) or GitLab (Settings > Integrations) repo.
7. Activate Wumpe by running run `systemctl enable --now wumpe`Wumpe should now be running. You can check the status with `systemctl status wumpe`.
## Update Wumpe
1. `go get -u github.com/stustanet/wumpe`
2. `systemctl restart wumpe`