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 29, 2017
1 parent 3356a5c commit 64b7edb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
4 changes: 2 additions & 2 deletions keycloak/scripts/ansible/roles/keycloak/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
tags:
- build-config

- include: deploy-conf.yml
- include: deploy-config.yml
tags:
- deploy-conf
- deploy-config
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,18 @@ node('general-dev') {
}

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')

step ([$class: 'CopyArtifact',
projectName: 'New_Build/Sunbird_Auth_Config_Build',
filter: 'sunbird_auth_1.0v.config.zip',
target: 'sunbird-auth/keycloak/scripts/ansible' ]
);

sh('cd sunbird-auth/keycloak/scripts/ansible && ansible-playbook -i inventories/dev keycloak.yml --limit keycloak --tags deploy-config --vault-password-file /run/secrets/vault-pass -vvv')
}

stage('Archive'){
archiveArtifacts 'sunbird-auth/keycloak/scripts/ansible/sunbird_auth_1.0v.config.zip'
}
}
catch (err) {
Expand Down

0 comments on commit 64b7edb

Please sign in to comment.