Commit Graph

69 Commits

Author SHA1 Message Date
7c4868ee4b Revert "Revert "make remote commands run and not fail if an SSH session failed to be created""
This reverts commit affdd0abfd.
2023-07-20 21:21:40 -05:00
affdd0abfd Revert "make remote commands run and not fail if an SSH session failed to be created"
This reverts commit 7224661c71.
2023-07-20 21:20:54 -05:00
7224661c71 make remote commands run and not fail if an SSH session failed to be created 2023-07-20 21:20:16 -05:00
e353ed0225 update docs
All checks were successful
ci/woodpecker/push/gitea Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2023-07-02 05:32:33 -05:00
37bd69b675 update CI configs
All checks were successful
ci/woodpecker/push/gitea Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
ci/woodpecker/tag/gitea Pipeline was successful
ci/woodpecker/tag/publish-docs Pipeline was successful
2023-07-01 23:07:31 -05:00
14bca64657 update CI configs
Some checks failed
ci/woodpecker/push/gitea Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
ci/woodpecker/tag/gitea Pipeline failed
ci/woodpecker/tag/publish-docs Pipeline was successful
2023-07-01 22:49:34 -05:00
d9baf44199 update repo URLs
Some checks failed
ci/woodpecker/push/gitea Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
ci/woodpecker/tag/gitea Pipeline failed
ci/woodpecker/tag/publish-docs Pipeline was successful
2023-07-01 22:35:22 -05:00
6de94d038f update CI configs
All checks were successful
ci/woodpecker/push/gitea Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2023-07-01 22:31:13 -05:00
a04d1db077 update CI configs 2023-07-01 22:18:36 -05:00
62942540b5 update CI configs 2023-07-01 22:10:19 -05:00
904a579994 fix version subcommand 2023-07-01 22:02:32 -05:00
4b382bddd9 v0.3.0
* Getting environment variables and passwords from Vault (not tested
yet)
* Vault configuration to config (not tested yet)
* Ability to run scripts from file on local machine on the remote host
* Ability to get ouput in the notification of a list for individual
commands or all commands
* Make SSH connections close after all commands have been run; reuse
previous connections if needed
2023-07-01 21:46:54 -05:00
5e7c52997c added getting ENV vars from Vault 2023-05-12 00:42:14 -05:00
f7676e73ba Make host connections close last 2023-03-13 20:25:27 -05:00
2ca5f193e4 Close host connections after all command have been run, added some flags to version subcommand 2023-03-10 16:01:02 -06:00
9ffa2e473e update readme [CI SKIP] 2023-02-19 22:13:43 -06:00
9fd60b6bf7 fix for GitHub Actions 2023-02-18 23:32:26 -06:00
951bf97eb2 fix for CI scripts 2023-02-18 22:52:10 -06:00
a2a89011fe fix for release 2023-02-18 22:49:05 -06:00
d893a2684e fix for CI scripts 2023-02-18 22:48:15 -06:00
ee83586072 Version 0.2.4
* Notifications now display errors and the output of the failed command.
* CI configs for GitHub and Woodpecker
* Added `version` subcommand
* Console logging can be disabled by setting `console-disabled` in the
`logging` object
* If Host was not defined for an incomplete `hosts` object, any commands
would fail as they could not look up the values in the SSH config files.
2023-02-18 22:42:15 -06:00
02321870b5 fix for remote host ports 2023-02-12 08:48:46 -06:00
3e9138e05a fix for remote host ports 2023-02-12 08:29:55 -06:00
51f9e9a776 Merge branch 'develop' 2023-02-11 23:52:00 -06:00
37c20aaafa added new features
- expanding `environment` vars in cmd section
- support for connecting to one proxy/bastion host
- better notification text layout
- better error message on private key failing to open
2023-02-11 23:50:19 -06:00
9c202cf3e9 Merge branch 'develop' 2023-02-02 11:28:35 -06:00
c3fa74e442 fix for remote host ports 2023-02-02 11:24:01 -06:00
0f3cf0d9c4 changed .goreleaser.yaml 2023-02-02 00:15:53 -06:00
059f4c0097 added some features
- Added `cron` command to run lists with `cron` time specifed
- Changed `-c` flag to `-f` flag for passing config file
- Modified some config keys
  - cmdArgs -> Args
  - Got rid of `hosts.config`
- better SSH handling
  - respects values in config file
2023-02-01 23:54:48 -06:00
03f54c8714 Added command and list execution (#1), small touchups
- Added exec command to execute individual commands
- Added --lists, -l flag to backup command
  - Run command lists (#1)
- Small touchups and documentation
2023-01-20 02:42:52 -06:00
37c57f6438 added release 2023-01-18 01:48:39 -06:00
1c7515a633 fix: gitea url 2023-01-18 01:35:46 -06:00
8079030752 add gitea info 2023-01-18 01:26:20 -06:00
15019fbd61 updated install command 2023-01-17 23:08:34 -06:00
3960d5ec75 small changes, added goreleaser 2023-01-17 22:47:34 -06:00
9f615b0750 doc updates 2023-01-17 02:21:55 -06:00
8e9d563d1f fixes 2023-01-17 00:57:23 -06:00
e2f4553303 A runnable command
- Added backup sub-command
- Added better parsing for config file
- Basis for notifications, no running after a command yet
- Updated docs and added License
2023-01-17 00:55:28 -06:00
15a7ca6c3d Progress on sub-commands, added unmarshalling 2023-01-09 22:18:56 -06:00
ae87ccb4b5 reverted to on hostname, added zerolog 2023-01-03 23:57:19 -06:00
6b85913316 added zerolog 2023-01-03 20:09:02 -06:00
9d07298eb0 ssh host key checking with ssh/knownhosts pkg 2023-01-02 20:02:54 -06:00
9648fe8ab9 debug 2023-01-02 17:50:40 -06:00
14650c4db1 add debug 2023-01-02 17:47:10 -06:00
3863f34fc0 base64 encoding for host 2023-01-02 17:41:42 -06:00
abec574b76 more work on host key checking 2023-01-02 14:55:18 -06:00
198d0ca4b9 fix for host key 2023-01-02 14:46:47 -06:00
b25c7ea5ea re-add panic 2023-01-02 13:30:41 -06:00
59c2c028c8 add ssh timeout 2023-01-02 13:29:12 -06:00
2f73df73b1 debug 2023-01-02 13:25:39 -06:00