]> ruderich.org/simon Gitweb - safcm/safcm.git/commit - .builds/freebsd.yml
tests: add very basic end-to-end test with real ssh server
authorSimon Ruderich <simon@ruderich.org>
Wed, 21 Apr 2021 06:16:40 +0000 (08:16 +0200)
committerSimon Ruderich <simon@ruderich.org>
Thu, 22 Apr 2021 06:06:50 +0000 (08:06 +0200)
commit825f928d824f728088606bcbf112d30d7a76f627
tree7067217daabc5f2053218f5d3654ab7ad2d6db73
parent3840c3fe7fab425ef7d20d2f686884b404bb5e62
tests: add very basic end-to-end test with real ssh server

At the moment only the helper upload without any actual configuration is
tested.
17 files changed:
.builds/archlinux.yml
.builds/freebsd.yml
.builds/openbsd.yml
.gitignore
.gitlab-ci.yml
Makefile
cmd/safcm/config/config.go
cmd/safcm/main_sync_test.go [new file with mode: 0644]
cmd/safcm/sync.go
cmd/safcm/testdata/ssh/prepare.sh [new file with mode: 0755]
cmd/safcm/testdata/ssh/project/groups.yaml [new file with mode: 0644]
cmd/safcm/testdata/ssh/project/hosts.yaml [new file with mode: 0644]
cmd/safcm/testdata/ssh/ssh/ssh_config [new file with mode: 0644]
cmd/safcm/testdata/ssh/sshd/sshd_config [new file with mode: 0644]
cmd/safcm/testdata/ssh/sshd/sshd_config.openbsd [new file with mode: 0644]
rpc/conn.go
rpc/dial.go