suonto / DockerizedRobotFramework

Dockerize a RobotFramework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dockerize a RobotFramework

Main focus of this project is to get Robot Framework http://robotframework.org/ source code https://github.com/robotframework to be dockerized.
Target is get official Robot Framework image to docker hub https://hub.docker.com/explore/ . Contributing of this project should follow guidlines that are defined in here https://github.com/docker-library/official-images

Benefits of Robot Framework container

  • Easy installation just docker run -P -d robot_framework
  • Container include: a) IDE and execution tools b) Libraryes => No any more version conflicts between development/testing pipeline
  • Easy to scale multible instances by using docker micro servers => Papot library https://github.com/mkorpela/pabot change sequentally test cases execution to parallel execution that brings many huge benefits to picture (e.g. poor man performance testing and speed up of testing pipelines)
  • Get test automation container integrated to Jenkins by using dynamicly way with https://wiki.jenkins-ci.org/display/JENKINS/Docker+Plugin

Container deloploy time usage:

Define user to SSH connection: -e SSHUSER=< username >
Basic auth: Define user password to SSHUSER: -e SSHUSERPW=< password >
OR Key based auth: Define user public key to SSHUSER: -e SSHUSERKEY="ssh-rsa < public key >"

Add more libraryes to container:

  • Base your docker file to robot framework container FROM robotframework
  • Add required libraryes to your docker file by using any method what you want (e.g. pip, easyinstall, apt-get, etc.)
  • Define your docker file entrypoint as ENTRYPOINT ["/rfw_df_entrypoint.sh"]

INFO:

License:

Copyright 2016 Symbio http://www.symbio.com/
sakari.hoisko@symbio.com

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Dockerize a RobotFramework

License:Apache License 2.0


Languages

Language:Shell 100.0%