Skip to content

Commit

Permalink
Issue Sunbird-Lern#24 chore:Sunbird auth package build
Browse files Browse the repository at this point in the history
  • Loading branch information
ahghatol committed Dec 26, 2017
1 parent 3d879d7 commit f157c1c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
dest:"{{keycloak_home}}/modules/system/layers/keycloak/org/postgresql/main/module.xml"
mode:0750

- name: Create directory for sms provider configuration
- name: Create a directory for SMS provider configuration
file:
path:"{{keycloak_home}}/bin/sms-provider"
state:directory
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!groovy

node('general-dev') {

currentBuild.result = "SUCCESS"

try {

stage('checkout')
{
sh('rm -rf sunbird-auth')
sh('git clone https://github.com/ahghatol/sunbird-auth.git')
}

stage('Build'){
sh('cd sunbird-auth/keycloak/scripts/ansible && ansible-playbook -i inventories/dev keycloak.yml --limit keycloak --tags deploy-conf --vault-password-file /run/secrets/vault-pass -vvv')
}
}
catch (err) {
currentBuild.result = "FAILURE"
throw err
}
}

0 comments on commit f157c1c

Please sign in to comment.