I have deployed jmeter in kubernetes by using
https://github.com/kubernauts/jmeter-kubernetes
But I am facing difficulties when I want to integrate selenium webdriver with jmeter in kubernetes. I see there is no official documentation to deploy in distribute environment like in kubernetes. I just want to know is it possible to deploy jmeter with webdriver in kubernetes?
Why not? It's just a matter of installing WebDriver Sampler Plugin
Looking into the repository you provided I can see that all the "magic" of JMeter Plugins installation is being performed in Dockerfile-base so you need to just add a line like:
RUN cd /jmeter/apache-jmeter-$JMETER_VERSION/ && wget -q -O /tmp/jpgc-webdriver-3.3.zip https://jmeter-plugins.org/files/packages/jpgc-webdriver-3.3.zip && unzip -n /tmp/jpgc-webdriver-3.3.zip && rm /tmp/jpgc-webdriver-3.3.zip
into the Dockerfile
Related
I want to automate the process of pulling docker images from Azure container Registry to the Azure VM. I have already done the following:
Created an Azure container Registry.
Setup username and password in the Azure Container Registry.
Pushed the image from my local machine to the Container Registry.
I have setup up terraform code to automate the build out of Azure VM. I also want to include the docker pull and docker run commands so that those tasks are automated. Below are the commands I would like to automate into terraform:
sudo docker login --username xxx --password xxx xxx.azurecr.io
sudo docker pull xxx.azurecr.io/xx/xxx
sudo docker run --network=host xxx.azurecr.io/xxx/xxx
Any help would be much appreciated. Thank you folks!
As I know, if you want to execute the Docker CLI command in the VM, you should install the Docker engine first.
In addition, if you want to run the Docker CLI commands in the VM automated after creating the VM through Terraform, You can use VM extension in Terraform. Write a shell script with the commands and then run it in the VM extension. Here is the example that Using Terraform with Azure VM Extensions.
Hi I'm looking to use codeship to deploy my master branch to my production shopify store.
How would i setup themekit so it would be available on my pipeline ?
Installing themekit involves sudo :
curl -s https://raw.githubusercontent.com/Shopify/themekit/master/scripts/install | sudo python
or homebrew brew install themekit
Both of which to the extent of my knowledge is not possible on codeship
I installed Moodle (eLearning PHP based app, but it could be any app) locally on Ubuntu and would like to package it as Docker image/container. There were whole bunch of installations and configurations done. I'd like to package all that so that I can deploy to some Docker enabled hosting service, such as Digital Ocean or AWS.
How do I create Docker image?
Do I need to handle networking, ports and Apache configuration for production deployment?
There ara a lot of Moodle images in dockerhub. just use one of them
The process to create docker images is well documented on Docker's documentation site. See: Build your own images
The idea is simple: You inherit/extend an existing image and make additions to it. This is done in a provisioning file called Dockerfile
Dockerfile Example:
FROM debian:8.4
MAINTAINER John Doe (j.doe#example.com)
# update aptitude
RUN apt-get clean && apt-get update
# utilities
RUN apt-get -y install vim git php5.6 apache2
In the example above I extend a Debian image, update aptitude and install a series of packages.
A full list of commands available in Dockerfiles is available at https://docs.docker.com/engine/reference/builder/
Once your Dockerfile is ready you can build the image using the following command:
docker build -t debian/enhanced:8.4 /path/to/Dockerfile
I want to install jenkins plugins on a remote machine. I have root permission on it and I install jenkins using yum install now I want to install a list of plugin but I don't know how to do that.
I googled and found some website but all of the solution they provided weren't what I expected.
You can use the Jenkins command line interface to install plugins from a script. See https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI. If this isn't what you expected, perhaps you could tell us more about what you expect.
I would like to run my selenium scripts on the cloud/online/remotely. I have been advised google compute engine could allow this.
It would be appreciated if this could be confirmed and additional steps that will be needed to be given too.
Any other solutions suggested would be appreciated.
The only difference is that your GCE instance doesn't have a display, which is going to be an issue for your browser.
To address this, you'll want to run Selenium using a "Virtual Framebuffer". This is basically a "Fake display".
Here's how you set a Virtual Framebuffer up in Ubuntu:
sudo apt-get install xvfb
sudo Xvfb :10 -ac
Then, before starting your selenium script, just run:
export DISPLAY=:10