Commit Graph

92 Commits

Author SHA1 Message Date
Daniel Poelzleithner
46188f9f60 Implement tunnel pool mode.
In this mode, multiple tunnel processes are started and connection a load
balanced on the pool of connections.

Example config:

...
sync {
  default.rsync,
  tunnel = tunnel {
    command = {"ssh", "-N", "-L", "localhost:${localport}:localhost:873", "user@testmachine"},
    mode = "pool",
    parallel = 2,
  },
  target    = "rsync://localhost:${localport}/test",
  ...
}
2022-06-03 06:44:02 +02:00
Daniel Poelzleithner
eda846deed Add function to return a free port 2022-06-03 06:44:01 +02:00
Daniel Poelzleithner
c543a21162 Add function to substitude commands with placeholders 2022-06-03 06:44:01 +02:00
Daniel Poelzleithner
f65cdd282d finish lua2.4 changes 2022-01-12 20:46:14 +01:00
Daniel Poelzleithner
938c702525 cleanup ssh server when aborting ci run 2021-12-10 12:20:18 +01:00
Daniel Poelzleithner
92af746a73 Enable CI 2021-12-09 14:37:30 +01:00
Daniel Poelzleithner
5212fd4794 don't depend on which. Add CI script 2021-12-09 13:50:15 +01:00
Daniel Poelzleithner
3e8aad3b2e Use sshopts for rsyncssh tests 2021-12-08 18:26:11 +01:00
Daniel Poelzleithner
5b0d266669 add cmd option to pass ssh options 2021-12-08 18:24:13 +01:00
Daniel Poelzleithner
4c3cf2e6af Use local ssh server for tests 2021-12-02 17:51:32 +01:00
Daniel Poelzleithner
564d54be76 Allow and default to relative paths for binaries executed 2021-12-02 17:51:15 +01:00
Axel Kittenberger
1094759975 adding filter to testsuite, removing #! from testsuite 2018-03-09 13:05:45 +01:00
Axel Kittenberger
ff0f4fbd7a fixing table.unpack issue in testsuite 2018-03-09 11:07:53 +01:00
Axel Kittenberger
ea068b4014 reverting to rsync filter useage, until rysnc bug is fixed 2017-02-16 12:17:37 +01:00
Axel Kittenberger
4c83a9b263 fixing test 2017-01-05 11:39:00 +01:00
Axel Kittenberger
0c5e2c707e new rsync control is no longer recursive, fixing excludes 2017-01-05 11:31:29 +01:00
Axel Kittenberger
1b09a56320 fixing test value 2017-01-05 10:40:32 +01:00
Axel Kittenberger
0a0fef20ac fixing typos 2017-01-05 10:10:55 +01:00
Axel Kittenberger
f6f360b9dc fixing test 2017-01-04 12:32:10 +01:00
Axel Kittenberger
ac5ef0474e fixing test 2017-01-04 12:25:38 +01:00
Axel Kittenberger
ac82ea4708 fixing test 2017-01-04 12:24:59 +01:00
Axel Kittenberger
dbe9935328 fixing test 2017-01-04 12:23:22 +01:00
Axel Kittenberger
4909dd3b2c fixing racecondition in default.rsyncssh 2017-01-03 15:30:13 +01:00
Axel Kittenberger
8e1a85a12d Splitted Delay combination log from logging about it. 2016-12-21 16:29:29 +01:00
Axel Kittenberger
ee50768743 reworking tests 2016-12-21 14:21:32 +01:00
Axel Kittenberger
837a3cd927 Fixed Delay changes potentially not reflect on Event layer. Fixed test exitcode 2016-12-21 13:11:55 +01:00
Axel Kittenberger
4c77666281 code cleanups 2016-12-06 13:19:35 +01:00
Axel Kittenberger
ccc492cac3 code cleanups, fixing exclusion test 2016-12-06 11:11:48 +01:00
Axel Kittenberger
2493476f64 fixing tests for lua 5.2 os.execute call semantics 2015-10-14 14:23:37 +02:00
Axel Kittenberger
824797645b beautified some tests 2012-11-23 16:04:43 +01:00
Axel Kittenberger
998f9ab3d0 adapting test scripts 2012-10-07 20:48:09 +02:00
Axel Kittenberger
1217fef9ba fixing default.direct regression 2012-10-07 19:49:33 +02:00
Axel Kittenberger
1bf1d13eaa new inheritance mechanics, code beautifications 2012-10-05 09:41:46 +02:00
Axel Kittenberger
8ff50c0a48 removed e2s to reduce weak tables logic complexity 2012-03-21 11:39:52 +01:00
Axel Kittenberger
8ad858f95a removed e2s to reduce weak tables logic complexity 2012-03-21 08:39:58 +01:00
Axel Kittenberger
d6688fc8ab just some superficial cleanup 2012-02-17 09:12:01 +01:00
Axel Kittenberger
5e4fdba53a fixing creation recursing 2012-02-16 16:49:34 +01:00
Axel Kittenberger
6faf99d952 better without -p 2012-02-16 16:16:32 +01:00
Axel Kittenberger
e2681c0088 Fixing all kind of quirks in tests for Created dirctories by moving recursing logic into delay() 2012-02-16 16:05:33 +01:00
Axel Kittenberger
83e1d22b2f move recursive Create creation on dirs into delays 2012-02-16 15:36:28 +01:00
Axel Kittenberger
e0812e7e07 fixing default.rsync (especially on OSX 2012-02-16 14:54:09 +01:00
Axel Kittenberger
f172c69dee fixing moved from/into deleted directories 2012-02-16 00:28:03 +01:00
Axel Kittenberger
8f3ae7d0a1 code beautification, message normalization 2012-01-31 15:01:11 +01:00
Axel Kittenberger
dec35304dc added global maxProcesses limit, invoking delays has now a round-robin scheduler, changed syntax of init 2011-08-18 13:29:18 +00:00
Axel Kittenberger
324f542cd7 added exlusion tests 2011-02-25 14:55:15 +00:00
Axel Kittenberger
cbe9d5c03b finished new -direct option 2011-02-25 14:39:08 +00:00
Axel Kittenberger
9096fc9686 trying to fix, not working yet 2011-02-08 16:38:55 +00:00
Axel Kittenberger
70f880384b adding direct default configuration 2011-02-08 14:14:07 +00:00
Axel Kittenberger
1a1391dbc5 fixing excludes 2011-01-26 12:02:43 +00:00
Axel Kittenberger
f5fc8c3bd2 working on excludes 2011-01-26 11:05:53 +00:00