Commit Graph

51 Commits (main)

Author SHA1 Message Date
Aaron Marais 2ff767fc30 Force update known hosts every time 2023-03-30 22:45:12 +02:00
Aaron Marais 576500fdb2 remove MS cr 2023-03-30 22:21:20 +02:00
Dragan Filipovic 2fbb06015d fix: #120 check undefined data 2023-02-21 22:35:05 +01:00
Dragan Filipovic f0c02fb2a5 fix: #118 check undefined default values 2023-02-21 17:10:24 +01:00
Dragan Filipovic 5894f5e290 fix: #113 limit ssh script input 2023-02-21 17:03:16 +01:00
Dragan Filipovic 59827af83c fix: #113 limit ssh script output 2023-02-21 16:53:56 +01:00
Dragan Filipovic 4d086346af fix: fix default TARGET 2023-02-21 15:36:29 +01:00
Dragan Filipovic 0fb307eb41 [e2e] log default values 2023-02-21 14:43:52 +01:00
Sebastian Blesgen a1e01b2fad Use custom port for host scan 2023-02-10 18:55:53 +01:00
Nicholas Piasecki 0a1df91f97 Add remote port 2023-01-04 12:18:09 -05:00
Dragan Filipovic 3ef66d0be9 fix: add githubWorkspace as default source root 2023-01-03 23:02:41 +01:00
Dragan Filipovic 9f191f4263 fix: fix default source if empty 2023-01-03 21:55:45 +01:00
Dragan Filipovic 2be7efb376 perf: update default rsync options
BREAKING CHANGE: Default rsync options updated to speed up default deployments.
from `rltgoDzvO` to `-rlgoDzvc -i`
2023-01-03 09:21:19 +01:00
Dragan Filipovic 73a65ec97c feat: Add multi source and multi target support 2023-01-03 02:49:54 +01:00
Dragan Filipovic 98ee38d52e BREAKING CHANGE: Update inputs for multi src and pattern args 2023-01-02 23:50:02 +01:00
Dragan Filipovic 91b6d280ae fix: Add visible Rsync CMD for debugging 2023-01-02 22:59:19 +01:00
Dragan Filipovic 8e19e0d6bc fix: log buffer from rsync stdout 2023-01-02 22:30:57 +01:00
Dragan Filipovic 2a85c96230 add more complex e2e tests 2023-01-02 22:02:16 +01:00
Dragan Filipovic 85f4a96743 fix: Log rsync command 2023-01-02 21:37:23 +01:00
Dragan Filipović ec9347f8c6
Feature/ssh cmd (#94)
* feat: Add SSH remote script support -  before and after rsync

* fix: remove __dirname

* feat: add sshCmdArgs option

* Add promise instead of callback

* fix: improve logs

* fix: Add simple command exists instead of a plugin

* add non interactive install

* feat: add onStderr and onStdout logs

* Improve reject messages

* feat: Add RSYNC_STDOUT env variable

* emoji updates

* fix: update workflow actions
2023-01-02 21:06:33 +01:00
Dragan Filipovic 45bf266280 Remove Key log 2022-12-31 10:30:19 +01:00
Dragan Filipovic 2121ba96bc update apt 2022-12-31 10:15:28 +01:00
Dragan Filipovic b65c6688d1 host rsync 2022-12-31 10:14:04 +01:00
Dragan Filipovic 45eb75d449 inherit 2022-12-31 10:06:06 +01:00
Dragan Filipovic 4b6681d89c {stdio: 'inherit'} 2022-12-31 10:04:57 +01:00
Dragan Filipovic 70415f9f9d rsyncVersion 2022-12-31 10:02:46 +01:00
Dragan Filipovic 5403dab9a0 rsync check 2022-12-31 10:00:32 +01:00
Dragan Filipovic 5404854e81 envz 2022-12-31 09:53:43 +01:00
Dragan Filipovic 4efe6b6c40 print vars 2022-12-31 09:48:17 +01:00
Dragan Filipovic d85914e1f9 test 2022-12-31 03:15:04 +01:00
Dragan Filipovic aeee708bee test 2022-12-31 02:43:17 +01:00
Dragan Filipovic 8073f2b34c test env vars 2022-12-30 15:36:34 +01:00
Dragan Filipovic c7bd38757d replace nodeCMD with exec 2022-12-30 15:23:23 +01:00
Dragan Filipovic 692d3fee7d start nginx for testing 2022-12-30 14:29:31 +01:00
Dragan Filipovic 07265c8c95 RSYNC use excludeFirst instead of exclude 2021-03-24 18:48:12 +01:00
Peter Kracik 2b38f7bf7a Added exclude parameter 2021-03-12 07:42:12 +01:00
Dragan Filipovic 2bc5e10d4d [Formatting] formatting updates 2020-09-18 23:26:31 +02:00
Dragan Filipovic 14eb503e62 [action] get input vars from ENV or WITH workflow settings 2020-07-01 00:54:24 +02:00
Dragan Filipovic ac4f0895a6 [code] hotfix 2020-04-11 17:42:37 +02:00
Dragan Filipovic 62063532be Merge branch 'master' into feature/SSH-DEPLOY-refactor
# Conflicts:
#	.gitignore
#	README.md
#	dist/index.js
#	src/index.js
2020-04-11 16:54:21 +02:00
Dragan Filipovic 460751d7c3 [code] split helpers into separate files 2020-04-11 16:29:20 +02:00
GarryOne 00e4d7e856 Added cmd to rsync error output 2020-03-27 01:10:01 +02:00
GarryOne 37e21b5b6b Added error display for rsync 2020-03-27 00:05:33 +02:00
GarryOne 19dbe22d4f Removed console.log 2020-03-26 23:47:55 +02:00
GarryOne 733f9fc153 Added console.log(process.env) 2020-03-26 23:27:22 +02:00
GarryOne f09a8d0277 Removed console.log() 2020-03-25 05:28:27 +02:00
GarryOne 82ccbba7dc Added field key to validation message 2020-03-25 05:20:29 +02:00
Mardari Igor 3f84fa4ae1
Set ssh to false 2020-03-25 04:50:26 +02:00
Leung-JZ caaa95b651
fix: 修复 ARGS 为空时导致 rsync 执行错误问题。
由于 ARGS 非必填,当其为空时,报错:

⚠️ An error happened:(. Cannot read property 'match' of undefined TypeError: Cannot read property 'match' of undefined
2020-03-12 09:16:23 +08:00
Filip Malinowski 0d77a6681b add optional `REMOTE_PORT` env to configuration 2019-12-29 18:17:28 +01:00