-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.rpi.edu/DataINCITE/IDEA-DeFi-CRAFT
- Loading branch information
Showing
19 changed files
with
199 additions
and
107 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,40 @@ | ||
| name: CD to Docker | ||
| on: | ||
| push: | ||
| branches: [ main ] | ||
| paths: 'DeFi-Data-Engine/**' | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| buildDocker: | ||
| runs-on: [ self-hosted ] | ||
| defaults: | ||
| run: | ||
| working-directory: "DeFi-Data-Engine/" | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v3 | ||
|
|
||
| - name: Stop Existing Images | ||
| run: sudo docker compose down | ||
|
|
||
| - name: Build | ||
| run: sudo docker compose build | ||
|
|
||
| - name: Push to Docker | ||
| run: sudo docker compose push | ||
|
|
||
| runDocker: | ||
| needs: buildDocker | ||
| runs-on: [ self-hosted ] | ||
|
|
||
| defaults: | ||
| run: | ||
| working-directory: "DeFi-Data-Engine/" | ||
|
|
||
| steps: | ||
| - name: Create Containers | ||
| run: sudo docker compose create | ||
|
|
||
| - name: Start services | ||
| run: sudo docker compose start |
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
2 changes: 2 additions & 0 deletions
2
DeFi-Data-Engine/DeFi Data Engine/.settings/org.eclipse.jdt.apt.core.prefs
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,2 @@ | ||
| eclipse.preferences.version=1 | ||
| org.eclipse.jdt.apt.aptEnabled=false |
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
2 changes: 2 additions & 0 deletions
2
DeFi-Data-Engine/Rest Application/.settings/org.eclipse.core.resources.prefs
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,4 +1,6 @@ | ||
| eclipse.preferences.version=1 | ||
| encoding//src/main/java=UTF-8 | ||
| encoding//src/main/resources=UTF-8 | ||
| encoding//src/test/java=UTF-8 | ||
| encoding//src/test/resources=UTF-8 | ||
| encoding/<project>=UTF-8 |
2 changes: 2 additions & 0 deletions
2
DeFi-Data-Engine/Rest Application/.settings/org.eclipse.jdt.apt.core.prefs
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,2 @@ | ||
| eclipse.preferences.version=1 | ||
| org.eclipse.jdt.apt.aptEnabled=false |
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 |
|---|---|---|
| @@ -1,9 +1,4 @@ | ||
| FROM maven:3.8.6-eclipse-temurin-17 | ||
|
|
||
| COPY ./ ./ | ||
|
|
||
| # package our application code | ||
| RUN mvn clean package -Dmaven.test.skip | ||
| EXPOSE 8080 | ||
| # set the startup command to execute the jar | ||
| CMD ["java", "-jar", "target/rest-connection-4.3.3.jar"] |
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
2 changes: 2 additions & 0 deletions
2
DeFi-Data-Engine/Testing Environment/.settings/org.eclipse.jdt.apt.core.prefs
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,2 @@ | ||
| eclipse.preferences.version=1 | ||
| org.eclipse.jdt.apt.aptEnabled=false |
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 |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| version: "3.9" | ||
| services: | ||
| mongodb_container: | ||
| image: mongo:latest | ||
| ports: | ||
| - 27017:27017 | ||
| volumes: | ||
| - mongodb_data_container:/data/db | ||
| hostname: MONGO | ||
| dataengine: | ||
| build: | ||
| context: "DeFi Data Engine" | ||
| image: dataincite/defi-data-engine:latest | ||
| depends_on: | ||
| - mongodb_container | ||
| ports: | ||
| - 61100:61100 | ||
| - 61200:61200 | ||
| hostname: DataEngine | ||
| restapp: | ||
| build: | ||
| context: "Rest Application" | ||
| image: dataincite/data-engine-rest-app:latest | ||
| depends_on: | ||
| - dataengine | ||
| ports: | ||
| - 8080:8080 | ||
| hostname: RestApp | ||
|
|
||
|
|
||
|
|
||
| volumes: | ||
| mongodb_data_container: |
Oops, something went wrong.