This repository has been archived by the owner on May 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #272 from Open-MBEE/release/3.3.0
Release/3.3.0
- Loading branch information
Showing
379 changed files
with
13,150 additions
and
93,319 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
defaults: &defaults | ||
working_directory: ~/projects | ||
docker: | ||
- image: circleci/openjdk:8 | ||
|
||
version: 2 | ||
jobs: | ||
build_amps: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
|
||
- restore_cache: | ||
key: mms-{{ checksum "mms-ent/pom.xml" }} | ||
|
||
- run: | ||
name: Run Maven Build | ||
command: cd mms-ent && sh mvnw install -Pbuild | ||
|
||
- save_cache: | ||
paths: | ||
- ~/.m2 | ||
key: mms-{{ checksum "mms-ent/pom.xml" }} | ||
|
||
- run: | ||
name: Prepare Store Artifacts | ||
command: mkdir -p tmp/artifacts | ||
|
||
- store_artifacts: | ||
path: mms-ent/repo-amp/target/mms-amp-3.3.0-SNAPSHOT.amp | ||
destination: tmp/artifacts/mms-amp-3.3.0-SNAPSHOT.amp | ||
|
||
- store_artifacts: | ||
path: mms-ent/share-amp/target/mms-share-amp-3.3.0-SNAPSHOT.amp | ||
destination: tmp/artifacts/mms-share-amp-3.3.0-SNAPSHOT.amp | ||
|
||
- store_artifacts: | ||
path: mms-ent/repo-amp/target/mms-java-client-3.3.0-SNAPSHOT.zip | ||
destination: tmp/artifacts/mms-java-client-3.3.0-SNAPSHOT.zip | ||
|
||
- store_artifacts: | ||
path: mms-ent/repo-amp/target/mms-python-client-3.3.0-SNAPSHOT.zip | ||
destination: tmp/artifacts/mms-python-client-3.3.0-SNAPSHOT.zip | ||
|
||
- store_artifacts: | ||
path: mms-ent/repo-amp/target/mms-mathematica-client-3.3.0-SNAPSHOT.zip | ||
destination: tmp/artifacts/mms-mathematica-client-3.3.0-SNAPSHOT.zip | ||
|
||
- persist_to_workspace: | ||
root: mms-ent | ||
paths: | ||
- repo-amp/target | ||
- share-amp/target | ||
|
||
deploy_snapshot: | ||
<<: *defaults | ||
steps: | ||
- attach_workspace: | ||
at: mms-ent | ||
- run: | ||
name: Get jfrog | ||
command: curl -fL https://getcli.jfrog.io | sh | ||
- run: | ||
name: Set Permissions | ||
command: sudo chmod +x jfrog | ||
- run: | ||
name: Configure jfrog | ||
command: ./jfrog rt config --url $ARTIFACTORY_URL --user $ARTIFACTORY_USER --apikey $ARTIFACTORY_APIKEY --interactive false | ||
- run: | ||
name: Send mms-amp | ||
command: ./jfrog rt u 'mms-ent/repo-amp/target/*.amp' libs-snapshot-local/gov/nasa/jpl/mms/mms-amp/3.3.0-SNAPSHOT/ --build-name=mms-circleci --build-number=$CIRCLE_BUILD_NUM --flat=true | ||
- run: | ||
name: Send mms-share-amp | ||
command: ./jfrog rt u 'mms-ent/share-amp/target/*.amp' libs-snapshot-local/gov/nasa/jpl/mms/mms-share-amp/3.3.0-SNAPSHOT/ --build-name=mms-circleci --build-number=$CIRCLE_BUILD_NUM --flat=true | ||
- run: | ||
name: Send mms java client | ||
command: ./jfrog rt u 'mms-ent/repo-amp/target/mms-java-*.zip' libs-snapshot-local/gov/nasa/jpl/mms/mms-java-client/3.3.0-SNAPSHOT/ --build-name=mms-circleci --build-number=$CIRCLE_BUILD_NUM --flat=true | ||
- run: | ||
name: Send mms python client | ||
command: ./jfrog rt u 'mms-ent/repo-amp/target/mms-python-*.zip' libs-snapshot-local/gov/nasa/jpl/mms/mms-python-client/3.3.0-SNAPSHOT/ --build-name=mms-circleci --build-number=$CIRCLE_BUILD_NUM --flat=true | ||
- run: | ||
name: Send mms mathematica client | ||
command: ./jfrog rt u 'mms-ent/repo-amp/target/mms-mathematica-*.zip' libs-snapshot-local/gov/nasa/jpl/mms/mms-mathematica-client/3.3.0-SNAPSHOT/ --build-name=mms-circleci --build-number=$CIRCLE_BUILD_NUM --flat=true | ||
|
||
deploy_release: | ||
<<: *defaults | ||
steps: | ||
- attach_workspace: | ||
at: mms-ent | ||
- run: | ||
name: Get jfrog | ||
command: curl -fL https://getcli.jfrog.io | sh | ||
- run: | ||
name: Set Permissions | ||
command: sudo chmod +x jfrog | ||
- run: | ||
name: Configure jfrog | ||
command: ./jfrog rt config --url $ARTIFACTORY_URL --user $ARTIFACTORY_USER --apikey $ARTIFACTORY_APIKEY --interactive false | ||
- run: | ||
name: Send mms-amp | ||
command: ./jfrog rt u 'mms-ent/repo-amp/target/*.amp' libs-release-local/gov/nasa/jpl/mms/mms-amp/3.3.0-SNAPSHOT/ --build-name=mms-circleci --build-number=$CIRCLE_BUILD_NUM --flat=true | ||
- run: | ||
name: Send mms-share-amp | ||
command: ./jfrog rt u 'mms-ent/share-amp/target/*.amp' libs-release-local/gov/nasa/jpl/mms/mms-share-amp/3.3.0-SNAPSHOT/ --build-name=mms-circleci --build-number=$CIRCLE_BUILD_NUM --flat=true | ||
- run: | ||
name: Send mms java client | ||
command: ./jfrog rt u 'mms-ent/repo-amp/target/mms-java-*.zip' libs-release-local/gov/nasa/jpl/mms/mms-java-client/3.3.0-SNAPSHOT/ --build-name=mms-circleci --build-number=$CIRCLE_BUILD_NUM --flat=true | ||
- run: | ||
name: Send mms python client | ||
command: ./jfrog rt u 'mms-ent/repo-amp/target/mms-python-*.zip' libs-release-local/gov/nasa/jpl/mms/mms-python-client/3.3.0-SNAPSHOT/ --build-name=mms-circleci --build-number=$CIRCLE_BUILD_NUM --flat=true | ||
- run: | ||
name: Send mms mathematica client | ||
command: ./jfrog rt u 'mms-ent/repo-amp/target/mms-mathematica-*.zip' libs-release-local/gov/nasa/jpl/mms/mms-mathematica-client/3.3.0-SNAPSHOT/ --build-name=mms-circleci --build-number=$CIRCLE_BUILD_NUM --flat=true | ||
|
||
workflows: | ||
version: 2 | ||
build-deploy-snapshot: | ||
jobs: | ||
- build_amps | ||
- deploy_snapshot: | ||
requires: | ||
- build_amps |
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
*.idea | ||
*.iml | ||
.directory | ||
|
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
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
Oops, something went wrong.