Go to file
R. Tyler Croy 8020c83032
make clean should never fail the Run
2018-01-04 14:23:14 -08:00
init.groovy.d Document the environment variables which should be set 2018-01-03 12:13:26 -08:00
proxy Ensure `make clean` always succeeds 2018-01-02 13:32:03 -08:00
scripts Add the restricted declarative plugin 2018-01-02 12:09:11 -08:00
.dockerignore Tweak plugin builds as to not require superuser permissions anywhere 2017-12-19 22:15:35 -08:00
.gitignore Initial commit 2017-12-19 16:16:35 -08:00
Dockerfile Return the agent port to the environment to avoid unnecessary exceptions 2018-01-02 12:13:21 -08:00
Dockerfile.builder Import code from the old tree with some minor adjustments 2017-12-19 16:27:52 -08:00
Jenkinsfile make clean should never fail the Run 2018-01-04 14:23:14 -08:00
LICENSE Initial commit 2017-12-19 16:16:35 -08:00
Makefile Missed a few references to rtyler/codevalet-builder 2017-12-21 21:11:40 -08:00
README.adoc Validate that the master image "works" for some semblance of working locally 2018-01-03 12:19:32 -08:00
plugins.yml Refactoring a bit of code out of the one big build-plugins script 2017-12-19 17:03:55 -08:00

README.adoc

<html lang="en"> <head> </head>

Code Valet Master

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.

Hacking

Prerequisites

  • Git

  • GNU/Make

  • Docker

  • Docker Compose

Running locally

  1. docker pull codevalet/master:latest

  2. docker run -p 8080:80 -e GITHUB_USER=yourgithubname codevalet/master:latest

  3. Navigate to localhost:8080/blue/pipelines

Environment Variables

  • GITHUB_USER GitHub 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_ID Azure tenant ID for agent provisioning

  • AZURE_SUBSCRIPTION_ID Azure subscription ID for agent provisioning

  • AZURE_CLIENT_ID Azure client ID for agent provisioning

  • AZURE_CLIENT_SECRET Azure client secret for agent provisioning.

  • SENTRY_DSN (optional) Sentry DSN for sending error logs.

</html>