Giter Site home page Giter Site logo

praqma-jenkins-casc's Introduction

praqma-jenkins-casc

Repository for our JCasC demo setup.

Requirements

First off we require docker-compose. Tested with docker-compose version 1.20.1.

The demo configuration we've prepared doesn't require you to use any secrets. Default user we create has secrets in configuration section in casc_configs/jenkins.yaml (lines 13-14) but since we do not expect you to do ANYTHING other than running docker-compose to get Jenkins up, the secret related sections in docker-compose.yml are commented and we'll use default hardcoded values for demo purpose. Same goes for usernamePassword credentials (lines 33-38)

If you're familiar with docker secrets you can provide actual secrets - remember to update docker-compose.yml with the actual path to your secrets

First boot

This is very simple, using docker-compose execute the following command from the root of this repository:

docker-compose up --build

This will start up a Jenkins instance which will be accessible on the host through port 80, just open your browser and navigate to http://localhost

What you might want to change though is the configuration file used by the Configuration as Code plugin. Currently CASC_JENKINS_CONFIG points to casc_configs folder with initial, basic configuration files. You're good to go with those but feel free to change the configuration and see how it works.

Any time you change you're configuration files on host machine you need to reload it in Jenkins:

Manage Jenkins -> Configuration as Code -> Reload existing configuration

praqma-jenkins-casc's People

Contributors

madsnielsen avatar ewelinawilkosz avatar jkrag avatar jetersen avatar figaw avatar

Forkers

avimishradevops

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.