GithubHelp home page GithubHelp logo

Comments (4)

rohte avatar rohte commented on September 28, 2024 1

I believe you are misunderstanding my request. How to run Pipelines as Code is well enough documented, but I want to know how to deploy GoCD itself with Infrastructure as Code. So for example, how can I deploy GoCD to a server in a repeatable way with a couple of plugins configured and some pipeline repositories configured as well.
In other words: How can GoDC deploy itself fully configured without any manual intervention?
As far as I understand, the Pipeline as Code documentation is pretty much:

  1. Install this plugin
  2. open the UI
  3. configure the target repository with the pipeline in these fields
  4. done

I want to eliminate step 2 and 3 and replace it with terraform code (or Docker or Puppet or whatever infrastructure management tool you are using).

from docs.go.cd.

rohte avatar rohte commented on September 28, 2024 1

Yes, I saw that post before. It does not help in our case as we already have it running and now want to configure other plugins.

So, after poking around a bit it looks like (almost?) all configuration is saved in the cruise-config.xml. A simple-ish (but probably with a lot of effort) thing that would help automation immensely is to add the format of that file to the documentation and whenever there an explanation on how to configure GoCD through the UI include how this can be achieved through changing the cruise-config.xml.

We have worked around the missing documentation like this:

  1. Follow instructions to configure in the UI (ideally in a local docker container)
  2. Find out how the cruise-config.xml has changed
  3. Put the changes in our deployment repository

from docs.go.cd.

maheshp avatar maheshp commented on September 28, 2024

@rohte GoCD provides multiple ways to configure your pipelines, Pipeline as Code is one approach wherein you can define you pipeline configurations in an external repository. This functionality is provided through Configuration Repository plugins in GoCD.

All the Configuration Repository Plugins are listed here. You will have to refer the plugin documentation for specific configurations.

from docs.go.cd.

maheshp avatar maheshp commented on September 28, 2024

Yeah, I got your request wrong :(

Since there is no one recommended way of setting up GoCD, I don't think there is any documentation around it. However users do share their experiences through blogs or discuss in forums. I do see a blog post around running GoCD on Kubernetes using Terraform if it helps.

from docs.go.cd.

Related Issues (20)

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.