Skip to content
This repository has been archived by the owner on Jan 2, 2019. It is now read-only.
/ master Public archive

A custom, all batteries included, Jenkins master image

License

Notifications You must be signed in to change notification settings

CodeValet/master

Repository files navigation

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.

About

A custom, all batteries included, Jenkins master image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published