This repository contains the script and code necessary to build a Docker image with a Jenkins master and the necessary plugins for it to operate.
This code was originally located in the codevalet/codevalet repository but has since been moved out to allow for more independent iteration on the master image itself.
-
docker pull codevalet/master:latest -
docker run -p 8080:80 -e GITHUB_USER=yourgithubname codevalet/master:latest -
Navigate to localhost:8080/blue/pipelines
-
GITHUB_USERGitHub user name to grant permissions -
CLIENT_ID(optional) custom GitHub OAuth Application Client ID -
CLIENT_SECRET(optional) custom GitHub OAuth Application Client Secret -
MAX_AGENTS(optional) maximum number of agents (defaults to 2) -
AZURE_TENANT_IDAzure tenant ID for agent provisioning -
AZURE_SUBSCRIPTION_IDAzure subscription ID for agent provisioning -
AZURE_CLIENT_IDAzure client ID for agent provisioning -
AZURE_CLIENT_SECRETAzure client secret for agent provisioning. -
SENTRY_DSN(optional) Sentry DSN for sending error logs.