Comments (4)
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:
- Install this plugin
- open the UI
- configure the target repository with the pipeline in these fields
- 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.
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:
- Follow instructions to configure in the UI (ideally in a local docker container)
- Find out how the
cruise-config.xml
has changed - Put the changes in our deployment repository
from docs.go.cd.
@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.
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)
- Go agent 19.4 with openjdk 12 issue HOT 4
- Alias pages don't work in Firefox HOT 1
- sidebar feels jumpy when expanding a sidebar section HOT 3
- Documentation links with fragments do not scroll in Chrome HOT 6
- Wrong documentation found in proxy section HOT 1
- Upgrading go page has an incomplete sentence HOT 1
- gocd on kubernetes plugin reinstall HOT 3
- Update screenshots
- Using an environment variable as the value to set another environment variable. HOT 3
- docker run -it -v /var/run/docker.sock:/var/run/docker.sock -e GO_SERVER_URL="https://<go-server-ip>:8154/go" <gocd-agent-image-with-docker> where to find gocd-agent-image-with-docker? HOT 2
- tutorial doc points to incorrect image HOT 5
- Installing multiple agent. There is no doc folder in the area specified HOT 2
- Linux configuration does not match the documentation? HOT 6
- Agent configuration documentation, what does it mean? HOT 1
- Add documentation for use of the webhooks for triggering materials
- Minor Improvement to https://docs.gocd.org/22.1.0/configuration/dev_authentication.html HOT 3
- Some Pages Not Responsive HOT 1
- Improve "Other config options" page HOT 4
- Getting error while installing using APT repository. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.go.cd.