system_configuration/root/etc/go/cruise-config.xml
2023-03-30 00:12:54 -07:00

88 lines
3.0 KiB
XML

<?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 jobTimeout="10" agentAutoRegisterKey="a1887244-6e5b-41a0-b04c-299f9d555fda" webhookSecret="0aab7ed7-9e7d-4b7d-ba65-9f51ae793460" serverId="fb4411a5-449d-4c2b-b8f8-ec9c53107a20" tokenGenerationKey="c306d243-81cd-4201-9fdf-5457ef2b78d7">
<security>
<authConfigs>
<authConfig id="jcolebrand.info" pluginId="cd.go.authentication.ldap">
<property>
<key>Url</key>
<value>ldaps://medusa.jcolebrand.info</value>
</property>
<property>
<key>SearchBases</key>
<value>dc=jcolebrand,dc=info</value>
</property>
<property>
<key>ManagerDN</key>
<value>cn=go,ou=services,dc=jcolebrand,dc=info</value>
</property>
<property>
<key>Password</key>
<encryptedValue>AES:wOo1/UYbNwt/wswcXBLjyw==:QcPbN2VPu1ElhyBCXXSL0A==</encryptedValue>
</property>
<property>
<key>UserSearchFilter</key>
<value />
</property>
<property>
<key>UserLoginFilter</key>
<value>(uid={0})</value>
</property>
<property>
<key>DisplayNameAttribute</key>
<value>uid</value>
</property>
<property>
<key>EmailAttribute</key>
<value />
</property>
<property>
<key>SearchTimeout</key>
<value />
</property>
</authConfig>
</authConfigs>
<admins>
<user>cbrand</user>
</admins>
</security>
<artifacts>
<artifactsDir>/gocd/artifacts</artifactsDir>
<purgeSettings>
<purgeStartDiskSpace>50.0</purgeStartDiskSpace>
<purgeUptoDiskSpace>50.0</purgeUptoDiskSpace>
</purgeSettings>
</artifacts>
</server>
<config-repos>
<config-repo id="pipeline" pluginId="json.config.plugin">
<git url="ssh://git.jcolebrand.info:4022/jcolebrand.info/pipeline.git" branch="main" />
<rules>
<allow action="refer" type="*">jcolebrand.info</allow>
<allow action="refer" type="*">defaultGroup</allow>
</rules>
</config-repo>
</config-repos>
<pipelines group="defaultGroup" />
<pipelines group="System-Configuration">
<pipeline name="capture-files">
<materials>
<git url="ssh://gogs@git.jcolebrand.info:4022/cbrand/system_configuration.git" branch="main" />
</materials>
<stage name="run-capture">
<jobs>
<job name="powershell">
<tasks>
<exec command="sudo">
<arg>pwsh</arg>
<arg>capture.ps1</arg>
<runif status="passed" />
</exec>
</tasks>
</job>
</jobs>
</stage>
</pipeline>
</pipelines>
</cruise>