~dvn/secushareBOX-OpenWRT

ref: 82b4e2d29f14f37b2f39bb3ed8693bb317ba82fd secushareBOX-OpenWRT/.build.yml -rw-r--r-- 649 bytes
82b4e2d2 — Devan Carpenter zone creation test: increase timeout and don't preserve exit code anymore 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
image: archlinux
packages:
  - docker
tasks:
  - prepare_docker: |
      sudo mount -t tmpfs -o size=4G /dev/null /dev/shm && sleep 2
      sudo nohup dockerd --bip 172.18.0.1/16 </dev/null >/dev/null 2>&1 &
      sudo usermod -aG docker $(whoami)
  - build_image: |
      cd ~/secushareBOX
      docker build -t gnunet-openwrt .
  - run_container: |
      cd ~/secushareBOX
      docker run -t -d --name gnunet-openwrt -v /dev/net/tun:/dev/net/tun gnunet-openwrt
  - test_identity: |
      docker cp ~/secushareBOX/tests/openwrt/create-zone.sh gnunet-openwrt:/create-zone.sh
      docker exec -ti gnunet-openwrt sh /create-zone.sh