RB Gateway is now capable of installing post-receive hooks in a Git
repository that will execute
rb-gateway trigger-webhooks with the
appropriate arguments to cause a
push event to occur.
There is now integration test support which (1) builds RB Gateway into a
tmp directory, (2) exports an environment variable pointing to this
location so that tests can find it, and (3) runs
go test on the
integration tests which look for this environment variable. These can be
make integration-tests. Regular tests should now be ran via
make test, as
go test ./... will trigger the integration test suite
and fail (because it has not been set up properly).
Co-authored-by: Florie Cai email@example.com