Skip to content

Commit

Permalink
add default cdt-config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Onur Ozkol committed Apr 9, 2019
1 parent 6efbce3 commit fdaf0f8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Jenkinsfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ pipeline {
sh "ssh -o StrictHostKeyChecking=no -i ${keyfile} root@192.168.0.46 revert-xen-vm-to-latest-snapshot.sh ${CDT_TARGET_VM}"
}
sh "sleep 15"
configFileProvider(
[configFile(fileId: 'cdt-config', variable: 'CDT_CONFIG_JSON')]) {
sh 'echo cp -f $CDT_CONFIG_JSON cdt-config.json'
sh 'cp -f $CDT_CONFIG_JSON cdt-config.json'
}
withCredentials([string(credentialsId: 'AWS_ACCESS_KEY', variable: 'AWS_ACCESS_KEY_ID'),
string(credentialsId: 'AWS_SECRET_KEY', variable: 'AWS_SECRET_ACCESS_KEY')
]) {
Expand Down
9 changes: 9 additions & 0 deletions cdt-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"openldap_slapd_domain":"devopswise.co.uk",
"openldap_full_domain":"dc=devopswise,dc=co,dc=uk",
"base_domain":"__base_domain__",
"smtp_relay_gmail_pass" : "__gmail_account_password__",
"admin_email" : "admin@admin.com",
"cdt_shutdown_after_2h" : "true",
"use_self_signed_https_cert" : "true"
}

0 comments on commit fdaf0f8

Please sign in to comment.