-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable Travis Tag Release for the FHIR Repository #145
- updates to automation - add bintray as a specific settings in the pom.xmls - update name Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
- Loading branch information
Showing
43 changed files
with
646 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"package": { | ||
"vcs_url": "https://github.com/IBM/FHIR.git", | ||
"repo": "${BINTRAY_REPO_NAME}", | ||
"issue_tracker_url": "https://github.com/IBM/FHIR/issues", | ||
"subject": "${BINTRAY_REPO_OWNER}", | ||
"website_url": "https://github.com/IBM/FHIR", | ||
"name": "${BINTRAY_PKG_NAME}" | ||
}, | ||
|
||
"version": { | ||
"name": "${BINTRAY_VERSION}" | ||
}, | ||
|
||
"files": [ | ||
{ | ||
"includePattern": "${MODULE}/target/${MODULE}.jar", | ||
"uploadPattern": "${BINTRAY_PATH}/${MODULE}.jar" | ||
}, | ||
{ | ||
"includePattern": "${MODULE}/target/${MODULE}-sources.jar", | ||
"uploadPattern": "${BINTRAY_PATH}/${MODULE}-sources.jar" | ||
}, | ||
{ | ||
"includePattern": "${MODULE}/target/${MODULE}-javadoc.jar", | ||
"uploadPattern": "${BINTRAY_PATH}/${MODULE}-javadoc.jar" | ||
}, | ||
{ | ||
"includePattern": "${MODULE}/pom.xml", | ||
"uploadPattern": "${BINTRAY_PATH}/${MODULE}.pom" | ||
} | ||
], | ||
|
||
"publish": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Sets up the details for bintray modules/packages on BinTray | ||
# You must set to use your API Key and API user in the curl request. | ||
# BINTRAY_USER=change-me | ||
# BINTRAY_PASSWORD=change-me | ||
|
||
BINTRAY_REPO_OWNER=ibm-watson-health | ||
BINTRAY_REPO_NAME=ibm-fhir-server-snapshots | ||
BINTRAY_VERSION=4.0.0 | ||
|
||
PKGS=("fhir-tools" "fhir-examples" "fhir-core" "fhir-task-api" "fhir-task-core" "fhir-database-utils" "fhir-config" "fhir-audit" "fhir-model" "fhir-validation" "fhir-registry" "fhir-ig-us-core" "fhir-persistence" "fhir-replication-api" "fhir-persistence-proxy" "fhir-persistence-schema" "fhir-persistence-jdbc" "fhir-provider" "fhir-operation" "fhir-operation-validate" "fhir-operation-document" "fhir-operation-healthcheck" "fhir-operation-apply" "fhir-operation-bulkdata" "fhir-bulkimportexport-webapp" "fhir-search" "fhir-client" "fhir-cli" "fhir-notification" "fhir-notification-kafka" "fhir-notification-websocket" "fhir-server" "fhir-server-webapp" "fhir-server-test" "fhir-swagger-generator" "fhir-openapi" "fhir-install" "fhir-coverage-reports" "fhir-parent") | ||
|
||
# If you need to create a single module, then do something like the following. | ||
# PKGS=( "fhir-parent" ) | ||
for BINTRAY_PKG_NAME in ${PKGS[@]} | ||
do | ||
echo ${BINTRAY_PKG_NAME} | ||
|
||
# Setup the JSON Data | ||
JSON_DATA=` | ||
cat << EOF | ||
{ | ||
"name": "${BINTRAY_PKG_NAME}", | ||
"desc": "This package is part of the IBM FHIR Server project.", | ||
"labels": ["ibm-fhir-server", "fhir"], | ||
"licenses": ["Apache-2.0"], | ||
"custom_licenses": [], | ||
"vcs_url": "https://github.com/IBM/FHIR.git", | ||
"website_url": "http://ibm.github.io/FHIR", | ||
"issue_tracker_url": "https://github.com/IBM/FHIR/issues", | ||
"github_repo": "IBM/FHIR", | ||
"public_download_numbers": false, | ||
"public_stats": false | ||
} | ||
EOF | ||
` | ||
|
||
curl -XPOST -u${BINTRAY_USER}:${BINTRAY_PASSWORD} https://api.bintray.com/packages/ibm-watson-health/ibm-fhir-server-snapshots/ --data "${JSON_DATA}" -H "Content-Type: application/json" | ||
|
||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,5 +53,5 @@ | |
<artifactId>jackson-annotations</artifactId> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,4 +133,5 @@ | |
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,4 +63,5 @@ | |
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,4 +60,5 @@ | |
<artifactId>jakarta.xml.bind-api</artifactId> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,4 +35,5 @@ | |
<artifactId>gson</artifactId> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,5 +24,5 @@ | |
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -175,4 +175,5 @@ | |
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,4 +33,5 @@ | |
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,4 +26,5 @@ | |
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,4 +75,5 @@ | |
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,5 +74,5 @@ | |
</plugins> | ||
</pluginManagement> | ||
</build> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,5 @@ | |
<artifactId>kafka-clients</artifactId> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,4 +26,5 @@ | |
<scope>provided</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,4 +28,5 @@ | |
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,4 +29,5 @@ | |
<version>${project.version}</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,4 +35,5 @@ | |
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,5 @@ | |
<version>${project.version}</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,5 @@ | |
<version>${project.version}</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,5 @@ | |
<version>${project.version}</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
Oops, something went wrong.