Commit Graph

125 Commits

Author SHA1 Message Date
Patrice Brend'amour
4335d6fb82 applied requested changes 2021-09-22 08:24:24 +08:00
Patrice Brend'amour
cd783f91d7 fixed tests 2021-09-22 08:24:24 +08:00
Patrice Brend'amour
80a691f084 Added support for multiple networks
Now networks are added as well, so if a container has multiple networks (e.g. when using docker-compose) it still works
2021-09-22 08:24:24 +08:00
Chai Feng
0150af87dc
Add Github Actions to run unit tests 2021-09-13 13:46:10 +08:00
Chai Feng
cc58088bc5
Update test/bach to the latest version 2021-09-12 08:52:29 +08:00
Chai Feng
2b4a44ff7a
Update the vagrant box 2021-04-02 10:42:01 +08:00
Further
fa5cec9dc5 Update README.md 2021-04-02 10:41:12 +08:00
Chai Feng
a444fb9457
Update README.md, add a link to the docker image 2020-08-19 17:50:20 +08:00
Chai Feng
347bd313e6
Release Docker Image ufw-docker-agent:200812 2020-08-12 13:50:34 +08:00
Chai Feng
e12810d055 Upgrade ufw-docker-agent image to Ubuntu 20.04 & Docker 19.03.12 2020-08-12 13:48:01 +08:00
Chai Feng
173f9659d7 Fix a variable undefined error 2020-08-12 13:48:01 +08:00
Chai Feng
3739f1396b Allow ufw to manage connections from docker containers 2020-08-12 13:48:01 +08:00
Chai Feng
9d7a654a17 Logging blocked connections 2020-08-12 13:48:01 +08:00
Chai Feng
4e16b4d359 Upgrade testing VM to Ubuntu 20.04 & Docker 19.03.11 2020-08-12 13:48:01 +08:00
Chai Feng
6bc7eed24c Forgot to init submodules 2020-08-12 13:48:01 +08:00
Chai Feng
d9ee549565 Move fetching submdoule to Testing 2020-08-12 13:48:01 +08:00
Chai Feng
972716443f Set depth to 1 when fetch submodules 2020-08-12 13:48:01 +08:00
Chai Feng
409fb88131 Fetch submodules in Drone CI 2020-08-12 13:48:01 +08:00
Chai Feng
8521a6d1de Add .drone.yml 2020-08-12 13:48:01 +08:00
Chai Feng
b7e1f8860e Using Docker 19.03.3, auto-restart webapp 2020-08-12 13:48:01 +08:00
Chai Feng
149e84e8af Update bach 2020-08-12 13:48:01 +08:00
Chai Feng
6d1c5a229b Add tests for ufw-docker--service-delete 2020-08-12 13:48:01 +08:00
Chai Feng
52fa5dc1e1 Add a test case for ufw-docker--get-env-list 2020-08-12 13:48:01 +08:00
Chai Feng
4e6d4332e0 Update readme, add build status 2020-08-12 13:48:01 +08:00
Chai Feng
67bfc771c6 Update travis ci 2020-08-12 13:48:01 +08:00
Chai Feng
95353863b1 Add testing in Vagrant 2020-08-12 13:48:01 +08:00
Chai Feng
36fec96d9f Update vm image to ubuntu 18.04 with docker 19.03 2020-08-12 13:48:01 +08:00
Chai Feng
bac764e44e Add Tests for ufw-docker--service-allow 2020-08-12 13:48:01 +08:00
Chai Feng
9137695937 Fix a test case 2020-08-12 13:48:01 +08:00
Chai Feng
2d2b968024 Add tests for ufw-docker--service-allow, failed scenarios 2020-08-12 13:48:01 +08:00
Chai Feng
5be7dfb366 Add tests for ufw-docker--get-service-{id,name} 2020-08-12 13:48:01 +08:00
Chai Feng
6291251734 Add a new test suite for ufw-docker--service commands 2020-08-12 13:48:01 +08:00
Chai Feng
b701f6baee Add two tests for ufw-docker--delete 2020-08-12 13:48:01 +08:00
Chai Feng
bcfca79758 Add a test case for ufw-docker--list-number 2020-08-12 13:48:01 +08:00
Chai Feng
491324a1f4 Add tests for ufw-docker--list 2020-08-12 13:48:01 +08:00
Chai Feng
1c6dd31de7 Add tests for ufw-docker--instance-name 2020-08-12 13:48:01 +08:00
Chai Feng
8444f87760 Update Bach, add a test case for ufw-docker--allow 2020-08-12 13:48:01 +08:00
Chai Feng
aef8f7df82 Run unit testing in Vagrant 2020-08-12 13:48:01 +08:00
Chai Feng
3893c86236 Add test cases for ufw-docker--add-rule 2020-08-12 13:48:01 +08:00
Chai Feng
3598011787 Add a test case for ufw-docker--allow, the proto doesn't match 2020-08-12 13:48:01 +08:00
Chai Feng
c79d1ad1a6 Add test cases for ufw-docker--allow 2020-08-12 13:48:01 +08:00
Chai Feng
b37d892048 Update slack token 2020-08-12 13:48:01 +08:00
Chai Feng
6c695ed208 Add travis-ci 2020-08-12 13:48:01 +08:00
Chai Feng
22463cbf6e Update bash to 0.2.6 2020-08-12 13:48:01 +08:00
Chai Feng
df963fdb31 Add Bach Testing Framework and several basic test cases 2020-08-12 13:48:01 +08:00
Chai Feng
05006bf638 set -exu 2020-08-12 13:48:01 +08:00
Chai Feng
82479773c5 fix sudoers 2020-08-12 13:48:01 +08:00
Chai Feng
0df69e787c change default nic type 2020-08-12 13:48:01 +08:00
Chai Feng
f3cf64d598 Enable debug in Vagrant 2020-08-12 13:48:01 +08:00
Chai Feng
0c3da26e83 use local build image in vagrant 2020-08-12 13:48:01 +08:00