Git agent for LoadRunner Cloud
3.6K
The image includes Git agent for LoadRunner Cloud. It's based on Ubuntu 22.04.
To create the container in background/detached mode:
docker run -d \
-e "STORM_TENANT=<tenant id>" \
-e "STORM_USERNAME=<username>" \
-e "STORM_PASSWORD=<password>" \
-e "STORM_PROJECT_ID=<project id>" \
-e "STORM_AGENT_NAME=<agent name>" \
-e "STORM_AGENT_CROSS_PROJECTS=<the flag to share agent across projects>" \
-e "STORM_GIT_REPO_URL=<git repository URL>" \
-e "STORM_GIT_REPO_BRANCH=<git repository branch>" \
--net=host performancetesting/lrc_git_agent
If you need to configure multiple branches or repositories, use the following command to provide details via a mounted volume:
docker run -d \
-e "STORM_TENANT=<tenant id>" \
-e "STORM_USERNAME=<username>" \
-e "STORM_PASSWORD=<password>" \
-e "STORM_PROJECT_ID=<project id>" \
-e "STORM_AGENT_NAME=<agent name>" \
-e "STORM_AGENT_CROSS_PROJECTS=<the flag to share agent across projects>" \
-v "<git agent workspace path>:/opt/gitworkspace" \
--net=host performancetesting/lrc_git_agent
Note:
[
{
"url": "[email protected]:user/scripts.git",
"branches": [
"branch1",
"branch2"
]
},
{
"url": "https://user:[email protected]/user/scripts.git",
"branches": [
"main"
]
}
]
You can also pass environment variables using the --env-file command line parameter.
If the agent needs to use a proxy, pass it using the https_proxy or http_proxy environment variable.
Content type
Image
Digest
sha256:f97e56309…
Size
133.9 MB
Last updated
about 1 month ago
docker pull performancetesting/lrc_git_agent