Skip to content

Commit 2804924

Browse files
committed
wip
Signed-off-by: Daisuke Sato <[email protected]>
1 parent c183da9 commit 2804924

File tree

4 files changed

+38
-0
lines changed

4 files changed

+38
-0
lines changed

plugins/.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*
2+
!.gitignore
3+
!default-plugins.yaml
4+
!dependency.repos
5+
!launch.sh

plugins/default-plugins.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
cabot3-ace2:
2+
cabot-app-server:
3+
path: ./cabot-app-server
4+
dockerfile: docker-compose.yaml
5+
service: cabot-app-server-prod
6+
profile: prod
7+
cabot-grafana:
8+
path: ./cabot-grafana
9+
dockerfile: docker-compose.yaml
10+
service: client

plugins/dependency.repos

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
repositories:
2+
3+
cabot-app-server:
4+
type: git
5+
url: https://github.com/CMU-cabot/cabot-app-server
6+
version: main
7+
8+
cabot-dashboard:
9+
type: git
10+
url: https://github.com/CMU-cabot/cabot-dashboard
11+
version: main
12+

plugins/launch.sh

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
pwd=`pwd`
4+
scriptdir=`dirname $0`
5+
cd $scriptdir
6+
scriptdir=`pwd`
7+
source $scriptdir/../.env # check upper dir .env
8+
9+
echo "CABOT_MODEL=$CABOT_MODEL"
10+
services=( $(yq -r ".[\"$CABOT_MODEL\"] | keys | .[]" $scriptdir/default-plugins.yaml) )
11+
echo "default services: ${services[*]}"

0 commit comments

Comments
 (0)