Commit graph

97 commits

Author SHA1 Message Date
Chai Feng
3f859787ef
Add testing in Vagrant 2019-10-20 17:18:13 +02:00
Chai Feng
b6772b3bcd
Update vm image to ubuntu 18.04 with docker 19.03 2019-10-20 17:16:07 +02:00
Chai Feng
7c429a1e05
Add Tests for ufw-docker--service-allow 2019-10-19 20:57:05 +02:00
Chai Feng
03614de22d
Fix a test case 2019-10-19 14:57:12 +02:00
Chai Feng
3ec94e453e
Add tests for ufw-docker--service-allow, failed scenarios 2019-10-19 13:23:34 +02:00
Chai Feng
113c4b0797
Add tests for ufw-docker--get-service-{id,name} 2019-10-19 13:07:34 +02:00
Chai Feng
2d7d341b1f
Add a new test suite for ufw-docker--service commands 2019-10-19 13:03:21 +02:00
Chai Feng
9b483f2295
Add two tests for ufw-docker--delete 2019-10-19 12:34:50 +02:00
Chai Feng
471be40068
Add a test case for ufw-docker--list-number 2019-10-19 12:30:41 +02:00
Chai Feng
ef2f20332a
Add tests for ufw-docker--list 2019-10-19 12:26:53 +02:00
Chai Feng
3ce3bfaf44
Add tests for ufw-docker--instance-name 2019-10-19 12:20:05 +02:00
Chai Feng
3b85d04b1b
Update Bach, add a test case for ufw-docker--allow 2019-10-19 10:46:22 +02:00
Chai Feng
986652b665
Run unit testing in Vagrant 2019-10-17 22:56:29 +02:00
Chai Feng
cd88081bea
Add test cases for ufw-docker--add-rule 2019-10-17 22:49:22 +02:00
Chai Feng
18a0ccb0af
Add a test case for ufw-docker--allow, the proto doesn't match 2019-10-17 17:23:01 +02:00
Chai Feng
ee1adef71b
Add test cases for ufw-docker--allow 2019-10-17 17:01:27 +02:00
Chai Feng
98b671f57f
Update slack token 2019-10-16 17:29:01 +02:00
Chai Feng
cd7dff853a
Add travis-ci 2019-10-16 17:00:04 +02:00
Chai Feng
849b38541e
Update bash to 0.2.6 2019-10-16 16:55:31 +02:00
Chai Feng
ff7160b3f0
Add Bach Testing Framework and several basic test cases 2019-10-12 22:26:49 +08:00
Chai Feng
53e5ee4cfd
set -exu 2019-10-08 21:38:02 +08:00
Chai Feng
12e175d982
fix sudoers 2019-10-08 21:38:02 +08:00
Chai Feng
6ff9693d87
change default nic type 2019-10-08 21:38:02 +08:00
Chai Feng
92431cad34
Enable debug in Vagrant 2019-10-08 21:38:02 +08:00
Chai Feng
59f1116a95
use local build image in vagrant 2019-10-08 21:38:02 +08:00
Chai Feng
f7eacb382b
Including license and readme in the docker image 2019-10-08 21:38:02 +08:00
Chai Feng
311316ec1b
build ufw-docker-agent image in Vagrant 2019-10-08 21:38:01 +08:00
Chai Feng
3d2259125b
Merge pull request #13 from kronthto/patch-1
ufw reload
2019-06-03 13:16:47 +08:00
Tobias Kronthaler
d02334ffc1
Update section of applying rule changes
Add `ufw reload` hint and fix formatting
2019-06-02 15:06:09 +02:00
Chai Feng
2545d2977b
allow re-provision for vagrant 2018-12-01 12:32:33 +08:00
Chai Feng
8e9a7c20f5
Add a logging rule in firewall rules 2018-12-01 12:31:59 +08:00
Chai Feng
d4fbb6685c
create the symbolic link if not exist 2018-12-01 12:08:20 +08:00
Chai Feng
10ce4a8dbe
fix wrong check command in Vagrantfile 2018-12-01 12:08:01 +08:00
Chai Feng
da0738d8c7
include license and readme in the docker image 2018-11-25 13:10:38 +08:00
Chai Feng
2fdeecb4cb
update readme, to allow a bigger port range to receive DNS packages 2018-11-25 13:07:59 +08:00
Chai Feng
768d7b0577
refactor check-install function 2018-11-24 13:48:31 +08:00
Chai Feng
d831601aa9
update readme, ufw-docker check 2018-11-23 22:10:56 +08:00
Chai Feng
ef16648ecb
add check sub-command, for checking installation of firewall rules 2018-11-23 22:10:06 +08:00
Chai Feng
766aa9c727
fix receiving DNS packages 2018-11-23 16:46:19 +08:00
Chai Feng
34e84c01b3
try it out 2018-10-07 08:52:47 +08:00
Chai Feng
ce5010172a
add Vagrantfile, for testing this script 2018-10-07 08:34:16 +08:00
Chai Feng
099f49653c
extract function "is-installed" 2018-10-06 21:40:43 +08:00
Chai Feng
1fe82b9560
typo 2018-10-06 16:21:22 +08:00
Chai Feng
81f85aba98
update readme, add docker swarm support 2018-10-06 15:52:55 +08:00
Chai Feng
88683854ab
Delete service environment variables with the same service name 2018-10-06 15:25:47 +08:00
Chai Feng
36afb81244
remove "force add" 2018-10-06 13:06:22 +08:00
Chai Feng
4ab8060b92
fix code problems 2018-10-06 13:02:29 +08:00
Chai Feng
f16f69a23f
check if port list is empty 2018-10-06 06:43:06 +08:00
Chai Feng
eafd3b70f9
an unexpected space 2018-10-06 06:38:56 +08:00
Chai Feng
b20a989c24
refactor UFW_ACTION 2018-10-05 19:31:09 +08:00