Skip to content

Commit

Permalink
Merge pull request #1796 from devgateway/task/AMP-27402/2132-release
Browse files Browse the repository at this point in the history
Task/amp 27402/2132 release
  • Loading branch information
jdeanquin-dg authored Dec 6, 2017
2 parents 5ba6bfa + 405c54e commit 7514ab1
Show file tree
Hide file tree
Showing 326 changed files with 46,208 additions and 119,455 deletions.
7 changes: 4 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,19 @@ stage('Build') {
sh(returnStatus: true, script: "docker rmi phosphorus:5000/amp-webapp:${tag} > /dev/null")

// Find AMP version
codeVersion = (readFile('amp/TEMPLATE/ampTemplate/site-config.xml') =~ /(?s).*<\!ENTITY ampVersion "([\d\.]+)">.*/)[0][1]
codeVersion = readMavenPom(file: 'amp/pom.xml').version
println "AMP Version: ${codeVersion}"

if (imageIds.equals("")) {
withEnv(["PATH+MAVEN=${tool 'M339'}/bin"]) {
try {
sh returnStatus: true, script: 'tar -xf ../amp-node-cache.tar'

// Build AMP
sh "cd amp && mvn -T 4 clean compile war:exploded -Djdbc.user=amp -Djdbc.password=amp122006 -Djdbc.db=amp -Djdbc.host=db -Djdbc.port=5432 -DdbName=postgresql -Djdbc.driverClassName=org.postgresql.Driver -Dmaven.test.skip=true -Dapidocs=true -DbuildVersion=AMP -DbuildSource=${tag} -e"
sh "cd amp && mvn -T 4 clean compile war:exploded -Djdbc.user=amp -Djdbc.password=amp122006 -Djdbc.db=amp -Djdbc.host=db -Djdbc.port=5432 -DdbName=postgresql -Djdbc.driverClassName=org.postgresql.Driver -Dmaven.test.skip=true -Dapidocs=true -DbuildSource=${tag} -e"

// Build Docker images & push it
sh "docker build -q -t phosphorus:5000/amp-webapp:${tag} --build-arg AMP_EXPLODED_WAR=target/amp-AMP --build-arg AMP_PULL_REQUEST='${pr}' --build-arg AMP_BRANCH='${branch}' --label git-hash='${hash}' amp"
sh "docker build -q -t phosphorus:5000/amp-webapp:${tag} --build-arg AMP_EXPLODED_WAR=target/amp --build-arg AMP_PULL_REQUEST='${pr}' --build-arg AMP_BRANCH='${branch}' --label git-hash='${hash}' amp"
sh "docker push phosphorus:5000/amp-webapp:${tag} > /dev/null"
} finally {
// Cleanup after Docker & Maven
Expand Down
137 changes: 137 additions & 0 deletions amp/TEMPLATE/ampTemplate/css_2/amp-gis-rtl.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@

.radio label {
padding-right: 20px;
}

.glyphicon-chevron-left:before {
content: "\e080";
}

.glyphicon-chevron-right:before {
content: "\e079";
}

#sidebar .sidebar-icons-only-button {
text-align: left;
padding-left: 11px;
}

#sidebar {
direction: rtl;
right: 0;
left: auto;
}

#map-container #map-header {
direction: rtl;
right: 300px;
left: 0;
}

.navbar-nav.navbar-right:last-child {
margin-left: -15px;
}

.navbar-right {
float: left !important;
}

.navbar-brand {
float: right;
}

.datasources {
direction: rtl;
left: 270px;
right: auto;
}

.legend {
direction: rtl;
left: 5px;
right: auto;
}

.legend-sample.map-adm-icon {
float: right;
}

.legend-item-label {
float: right;
position: relative;
}

.map-circle {
margin-right: 19px;
}

.color-block-indicator-join {
margin-left: 5px;
margin-right: 5px;
float: right;
position: relative;
}

.leaflet-container a.leaflet-popup-close-button {
left: 0px;
right: auto;
}

.leaflet-control {
margin-left: 10px;
float: left;
}

.leaflet-right {
margin-left: 10px;
float: left;
left: 0;
right: auto;
}

.leaflet-popup-content-wrapper {
text-align: right !important;
}

.panel-body, .panel-footer, .panel-heading {
text-align: right !important;
}

.setting-label {
text-align: left !important;
padding: 0px 0px 0px 5px !important;
}

.legend-content h3 {
text-align: right;
}

.legend-admcluster {
text-align: right;
}

#map-container.sidebar-icons-only #map-header {
left: 0px;
right: 80px;
width: auto;
}

.leaflet-popup {
direction: rtl;
width: max-content;
}

.leaflet-popup-content-label {
position: relative;
float: right;
}

.leaflet-popup-content-value {
position: relative;
float: right;
}

#basemap-gallery .dropdown-menu {
right: auto;
left: 0px
}
Loading

0 comments on commit 7514ab1

Please sign in to comment.