Discover Packages
github.com/stustanet/wumpe
command
module
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Aug 17, 2019
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
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 and a $GOPATH
is set.
In the following we assume that $GOBIN=/usr/local/bin
.
Get source code, build and install Wumpe: go get -u github.com/stustanet/wumpe
cd $GOPATH/src/github.com/stustanet/wumpe
cp systemd/wumpe.service /etc/systemd/system/wumpe.service
cp wumpe.toml.sample /etc/wumpe.toml
and adjust it.
Setup the build system user and git repos as configured in wumpe.toml
and wumpe.service
.
Setup the webhooks in your GitHub (Settings > Webhooks) or GitLab (Settings > Integrations) repo.
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
go get -u github.com/stustanet/wumpe
systemctl restart wumpe
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.