Skip to content

Instantly share code, notes, and snippets.

View bdpiprava's full-sized avatar
💭
Working

Bhupendrakumar Piprava bdpiprava

💭
Working
  • 3DPLM | Thought Works | Spark Networks
  • Berlin
View GitHub Profile
## Placeholder for verifying CP and EP
@bdpiprava
bdpiprava / cruise-config.xml
Last active June 20, 2019 10:37
basic-config.xml
<?xml version="1.0" encoding="utf-8"?>
<cruise xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="cruise-config.xsd" schemaVersion="124">
<server artifactsdir="artifacts" agentAutoRegisterKey="a2e85b13-4895-40d0-9422-7714bb5fda08" webhookSecret="7a58d8d9-c841-43fe-9cf0-12be9cffa6c8" commandRepositoryLocation="default" serverId="1d3856cc-7b1f-419e-bd78-9ca81b4c90db" tokenGenerationKey="5e35f180-212b-4dda-bead-bb76b8fe8c3a">
<security>
<authConfigs>
<authConfig id="file" pluginId="cd.go.authentication.passwordfile">
<property>
<key>PasswordFilePath</key>
<value>/usr/share/go-server/password.db</value>
</property>
@bdpiprava
bdpiprava / custom.ldif
Last active January 31, 2023 23:57
ldif
dn: ou=users,dc=ldap,dc=gocd,dc=org
objectClass: top
objectClass: organizationalUnit
ou: users
dn: ou=groups,dc=ldap,dc=gocd,dc=org
objectClass: top
objectClass: organizationalUnit
ou: groups
@bdpiprava
bdpiprava / API tokens
Last active October 31, 2018 07:06
API token
# This is api tokens doc
@bdpiprava
bdpiprava / run.ps1
Last active October 24, 2018 10:35
# Foo
./gradlew common:test --tests com.thoughtworks.go.config.materials.svn.SvnMaterialUpdaterTest.shouldUpdateIfNotCheckingOutFreshCopy
{
"DryRun": false,
"ImageId": "ami-d781d4a8",
"MinCount": 1,
"MaxCount": 1,
"UserData": "<powershell>\n Import-Module ECSTools \n Initialize-ECSAgent -Cluster 'GoCD' -EnableTaskIAMRole \n </powershell>",
"InstanceType": "m5.large",
"IamInstanceProfile": {
"Name": "ecsInstanceRole"
}
@bdpiprava
bdpiprava / linux-ec2.json
Last active July 25, 2018 04:52
linux-ec2 instance
{
"DryRun": false,
"ImageId": "ami-fbc1c684",
"MinCount": 1,
"MaxCount": 1,
"UserData": "#!/bin/bash\n cat <<EOT >> /etc/ecs/ecs.config \n ECS_CLUSTER=GoCD \n EOT",
"InstanceType": "t2.small",
"IamInstanceProfile": {
"Name": "ecsInstanceRole"
}
/*!
* jQuery Autocomplete plugin 1.1
*
* Copyright (c) 2009 Jörn Zaefferer
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Revision: $Id: jquery.autocomplete.js 15 2009-08-22 10:30:27Z joern.zaefferer $
<pipelines group="TeamA">
<authorization>
<view>
<user>view</user>
</view>
<admins>
<user>operate</user>
</admins>
</authorization>
<pipeline name="Foo-PR" template="base">