15:31:35 #startmeeting Testing containers with Tunir 15:31:35 Meeting started Wed Aug 3 15:31:35 2016 UTC. The chair is bkm. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:31:35 Useful Commands: #action #agreed #halp #info #idea #link #topic. 15:31:35 The meeting name has been set to 'testing_containers_with_tunir' 15:31:46 Speaker Kushal Das 15:32:14 Involved in both Fedora and Python 15:32:29 Taskatron used in Fedora 15:32:42 Tunir mainly intended for users 15:33:18 For developers, want something simpler than Jenkins that would run on laptop and is easy to setup 15:33:41 Can use json or ini configuration - 5-6 lines of text 15:33:50 Does not require cloud 15:34:20 Can take an image, start a virtual machine, do the test, then destroy the setup 15:35:03 People also wanted vagrant images, support added 15:35:12 Also used for autocloud 15:35:28 #link https://apps.fedoraproject.org/autocloud 15:36:01 Uses it to test wife's blog node.js setup 15:37:04 Containers are another process in computer with restrictions 15:38:00 typical workflow: docker pull; docker run 15:38:24 Uses redis a lot 15:38:46 Redis is a service listening over a fixed port 15:38:54 Live DEMO 15:40:10 Easy configuration file 15:40:26 sudo dnf install docker redis -y 15:40:32 sudo service docker start 15:40:39 sudo docker pull redis 15:41:00 sudo docker run -p 6379:6379 --name some-redis-d reds 15:41:08 redis-cli set neme kushal 15:41:12 redis start 15:43:43 Ran previous commands in a file, and showed startup of redis container with some basic tests 15:46:08 Need to be careful when shutting down or rebooting system, exit properly first 15:47:03 End of DEMO 15:47:33 May want to have own private repository 15:47:47 Second live DEMO 15:48:36 installs cockpit 15:49:49 Starts virtual machine 15:50:13 installs Fedora atomic and cockpit 15:50:28 runs netstat command 15:50:40 makes sure no errors 15:50:45 then shuts down 15:50:51 -- will add tests later 15:50:56 End of DEMO 15:51:27 Looking at Kubernetis? using Ansible 15:51:38 3 node setup 15:51:44 Multi host DEMO 15:53:18 Example from ansible examples, one master and two nodes 15:53:48 Tool finds ip addresses and gives this information to the virtual machines 15:54:56 Starts 3 virtual machines 15:57:58 Successful run 15:58:06 end of Multi host DEMO 15:58:20 Can also run jobs in Amazon web services 15:59:00 have a patch to run similar jobs in OpenStack, but still testing configuration 15:59:51 Want to have Json output file 15:59:59 #topic Questions 16:00:19 Q: How implement vagrant part? 16:01:03 A: Step by step vagrant commands issued 16:02:01 uses libvirt and passes commands to this. 16:02:09 About 1000 lines of Python code 16:02:22 #link tunir.readerdocs.io 16:02:55 #link https://kushaLdas.in 16:05:26 Slides will have links to demo 16:08:23 See blog for how to setup demos 16:12:21 #endmeeting