Code Monkey home page Code Monkey logo

gocd-configurator's Introduction

gocd-configurator

A simple declarative YAML config to manage gocd.

NO this isn't meant to manage pipelines

Problem statement

I'd rather not be editing cruise.xml, ever, because it's sad.

I don't want to check it into git because it's still pretty coupled w/ the GoCD installation.

I'd like to have my GoCD pipeline (config repos) managed through git itself, as simple list.

I'd like to have my AuthZ and AuthN clearly visible, through git. And even manageable!

Solution

Tada!

This repo lets you write a structured YAML document, which expresses most of my own needs for cruise.xml.

server:
  auth: # auth configs
    - name: passwd
      type: cd.go.authentication.passwordfile
      properties: # passed straight to gomatic
        PasswordFilePath: /go-working-dir/config/passwd
  users: # Global users that can either view, or admin GoCD
    viewers:
      - some-user
    admins:
      - a-power-user-that-is-trusted

projects:
  - name: name-of-my-project
    # Each of these will result in a config repo
    repos: 
      - url: https://example-git-host/path/to/repo.git
    # These pipeline groups are just here for AuthN.
    # If your configrepos use different pipeline-groups, there isn't much we can do here. yet ...
    pipeline_groups:
      - my-projects-pipeline-group
    # Each of the groups below will grant privileges to the pipeline-groups above
    groups:
      # Each group will result in group called "${project_name}-${group_name}"
      # with the permissions attributed. `view` is granted by default.
      - name: business-analysts
        members:
          - mr-business-analyst
      - name: admins
        permissions:
          - operate
          - admin
        members:
          - mrs-administrator

In addition to the projet specific groups, I believe everyone should see everything going on. Therefore, all users will have 'view' on all pipeline groups.

gocd-configurator's People

Contributors

leprechaun avatar renovate[bot] avatar

Watchers

 avatar  avatar  avatar

Forkers

yara-andrian

gocd-configurator's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

docker-compose
docker-compose.yml
  • python 2
dockerfile
Dockerfile
  • python 2-alpine
pip_requirements
dev-requirements.txt
requirements.txt

  • Check this box to trigger a request for Renovate to run again on this repository

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.