Skip to content

Commit 483c94b

Browse files
authored
Merge pull request #4 from pndaproject/RELEASE-0.1.1
Release 0.1.1
2 parents 9d59554 + 7856f31 commit 483c94b

File tree

3 files changed

+50
-0
lines changed

3 files changed

+50
-0
lines changed

CHANGELOG renamed to CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
## [0.1.1] 2016-09-13
5+
### Changes
6+
- Improvements to documentation
7+
- Enhanced CI support
8+
49
## [0.1.0] 2016-07-01
510
### First version
611

Jenkinsfile

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
node {
2+
try {
3+
stage 'Build'
4+
5+
deleteDir()
6+
7+
checkout scm
8+
9+
def workspace = pwd()
10+
def version = env.BRANCH_NAME
11+
12+
if(env.BRANCH_NAME=="master") {
13+
version = sh(returnStdout: true, script: 'git describe --abbrev=0 --tags').trim()
14+
checkout([$class: 'GitSCM', branches: [[name: "tags/${version}"]], extensions: [[$class: 'CleanCheckout']]])
15+
}
16+
17+
sh """
18+
cd api
19+
mvn versions:set -DnewVersion=${version}
20+
mvn clean package
21+
"""
22+
23+
stage 'Test'
24+
sh '''
25+
cd api/src/main/resources
26+
pylint_wrapper.py 10
27+
nosetests test_*.py
28+
'''
29+
30+
stage 'Deploy'
31+
build job: 'deploy-component', parameters: [[$class: 'StringParameterValue', name: 'branch', value: env.BRANCH_NAME],[$class: 'StringParameterValue', name: 'component', value: "deployment-manager"],[$class: 'StringParameterValue', name: 'release_path', value: "platform/releases"],[$class: 'StringParameterValue', name: 'release', value: "${workspace}/api/target/deployment-manager-${version}.tar.gz"]]
32+
33+
emailext attachLog: true, body: "Build succeeded (see ${env.BUILD_URL})", subject: "[JENKINS] ${env.JOB_NAME} succeeded", to: "${env.EMAIL_RECIPIENTS}"
34+
35+
}
36+
catch(error) {
37+
emailext attachLog: true, body: "Build failed (see ${env.BUILD_URL})", subject: "[JENKINS] ${env.JOB_NAME} failed", to: "${env.EMAIL_RECIPIENTS}"
38+
currentBuild.result = "FAILED"
39+
throw error
40+
}
41+
}

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ The design consists of a main class that implements the APIs and coordinates bet
2323

2424
HTTP and Python bindings are provided for these APIs.
2525

26+
## Connecting
27+
28+
By default, the Deployment Manager is installed on `edge` node o. In order to access it go to: http://[cluster-name]-cdh-edge:5000
29+
2630
## Repository ##
2731

2832
Packages are made available via a repository. The Deployment Manager is configured with a client of this repository at instantiation time. The reference repository is implemented as a thin wrapper over an Openstack Swift container.

0 commit comments

Comments
 (0)