mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-05 00:40:38 +00:00
f825f20d49
* Upgrade Gliderlabs SSH to 0.3.3 and add FailedConnectionCallback Following the merging of https://github.com/gliderlabs/ssh/pull/143 we can now report connections to the ssh server that have failed before public key exchange has completed using the standard fail2ban message. This PR updates Gliderlabs SSH and adds a callback that will provide this logging. Signed-off-by: Andrew Thornton <art27@cantab.net> * move the callback to its own function to make the logging appear little nicer Signed-off-by: Andrew Thornton <art27@cantab.net>
26 lines
478 B
YAML
Vendored
26 lines
478 B
YAML
Vendored
version: 2
|
|
jobs:
|
|
build-go-latest:
|
|
docker:
|
|
- image: golang:latest
|
|
working_directory: /go/src/github.com/gliderlabs/ssh
|
|
steps:
|
|
- checkout
|
|
- run: go get
|
|
- run: go test -v -race
|
|
|
|
build-go-1.12:
|
|
docker:
|
|
- image: golang:1.12
|
|
working_directory: /go/src/github.com/gliderlabs/ssh
|
|
steps:
|
|
- checkout
|
|
- run: go get
|
|
- run: go test -v -race
|
|
|
|
workflows:
|
|
version: 2
|
|
build:
|
|
jobs:
|
|
- build-go-latest
|
|
- build-go-1.12
|