Top
Administration
Pipelines
Templates
Config XML
Users Management
Backup
Package Repositories
Configuration File
/go-working-dir/config/cruise-config.xml
Configuration File Path:
Last modified: about 2 months ago by anonymous
Cancel
<?xml version="1.0" encoding="utf-8"?> <cruise xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="cruise-config.xsd" schemaVersion="139"> <server agentAutoRegisterKey="b9f80337-d372-4ef4-9614-23eb56981128" webhookSecret="347f7925-e497-4bca-a523-f7e2d9376b09" serverId="a4466b51-4e44-429b-b16b-2e8d18758577" tokenGenerationKey="780d0e33-7b84-428d-9522-5ad58c899b56"> <artifacts> <artifactsDir>artifacts</artifactsDir> </artifacts> </server> <elastic> <agentProfiles> <agentProfile id="demo-app" clusterProfileId="k8-cluster-profile"> <property> <key>PodSpecType</key> <value>yaml</value> </property> <property> <key>Privileged</key> <value>true</value> </property> <property> <key>Image</key> <value>gocd/gocd-agent-docker-dind:v23.1.0</value> </property> <property> <key>PodConfiguration</key> <value>apiVersion: v1 kind: Pod metadata: name: gocd-agent-{{ POD_POSTFIX }} labels: app: web spec: serviceAccountName: default containers: - name: gocd-agent-container-{{ CONTAINER_POSTFIX }} image: gocd/gocd-agent-docker-dind:v23.1.0 securityContext: privileged: true</value> </property> </agentProfile> </agentProfiles> <clusterProfiles> <clusterProfile id="k8-cluster-profile" pluginId="cd.go.contrib.elasticagent.kubernetes"> <property> <key>go_server_url</key> <value>http://gocd-server.ci:8153/go</value> </property> <property> <key>kubernetes_cluster_url</key> <value>https://10.100.0.1:443</value> </property> <property> <key>security_token</key> <value>eyJhbGciOiJSUzI1NiIsImtpZCI6IlFlVkRuLUlKb183Z2Y5enU2NjMwX2dSUnhBNGJPaFYtS2kxZFZVYlhDRXMifQ.eyJhdWQiOlsiaHR0cHM6Ly9jb250YWluZXIuZ29vZ2xlYXBpcy5jb20vdjEvcHJvamVjdHMvZG9uZS0yODA3MDIvbG9jYXRpb25zL3VzLXdlc3QyLWEvY2x1c3RlcnMvZG9uZS11YXQiXSwiZXhwIjoxNzEyMDAyOTMzLCJpYXQiOjE2ODA0NjY5MzMsImlzcyI6Imh0dHBzOi8vY29udGFpbmVyLmdvb2dsZWFwaXMuY29tL3YxL3Byb2plY3RzL2RvbmUtMjgwNzAyL2xvY2F0aW9ucy91cy13ZXN0Mi1hL2NsdXN0ZXJzL2RvbmUtdWF0Iiwia3ViZXJuZXRlcy5pbyI6eyJuYW1lc3BhY2UiOiJjaSIsInBvZCI6eyJuYW1lIjoiZ29jZC1zZXJ2ZXItNWI2ZGZkNmM0NC1kNHBkMiIsInVpZCI6IjdjYjgxN2NmLWFkYjMtNGVhNy1iNmM1LTg4NmE0NTk1MjA0NyJ9LCJzZXJ2aWNlYWNjb3VudCI6eyJuYW1lIjoiZ29jZCIsInVpZCI6ImJhOWQ1ZjgwLTFhMDMtNDk4Zi1iOTVkLThlNjdmMTk5YmE1NiJ9LCJ3YXJuYWZ0ZXIiOjE2ODA0NzA1NDB9LCJuYmYiOjE2ODA0NjY5MzMsInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDpjaTpnb2NkIn0.ZE7OTYkG5Mm-TLr97plSG6-kuczMV8DSNf5qXiQgv1A4ipoYkxtK9QWm3QqJ_PjEdF8vD5rFX0id4jYbZPLAz-NQ9Au--To8FzNF-NFWnu2jegaP96pY_23_Xm4HxRWkDvvcXhiaLZk0jJ18Lc12rNM-XyzeyFC7peDDmorVjXSM2UUppOJvpGiHmtA74gREMdyhmXz8dcWf3tAqvE-XfPFX488M6w9HVJgzKtv4eVhsvYRNNxQL-mgwJVf0JJbu2PTTfQECkdv9IKYoc8cMxu2s6RWV0a-BARHjk_4cP6L9GoAmj6ptj8S6bpg48Zd2BpXi0JOV3YdYIB-ARszghQ</value> </property> <property> <key>namespace</key> <value>ci</value> </property> </clusterProfile> </clusterProfiles> </elastic> <pipelines group="sample"> <pipeline name="getting_started_pipeline"> <materials> <git url="https://github.com/gocd-contrib/getting-started-repo" shallowClone="true" /> </materials> <stage name="default_stage"> <jobs> <job name="default_job" elasticProfileId="demo-app"> <tasks> <exec command="./build" /> </tasks> <tabs> <tab name="Sample" path="my-artifact.html" /> </tabs> <artifacts> <artifact type="build" src="my-artifact.html" /> </artifacts> </job> </jobs> </stage> </pipeline> </pipelines> </cruise>