File tree Expand file tree Collapse file tree 5 files changed +11
-12
lines changed
examples/stacks/lepp-stack Expand file tree Collapse file tree 5 files changed +11
-12
lines changed Original file line number Diff line number Diff line change 2525 "rm -rf .devbox/virtenv/postgresql/data" ,
2626 "initdb" ,
2727 "devbox services up -b" ,
28- "echo 'sleep 2 second for the postgres server to initialize.' && sleep 2" ,
28+ "echo 'sleep 2 seconds for the postgres server to initialize.' && sleep 2" ,
2929 "dropdb --if-exists devbox_lepp" ,
3030 "createdb devbox_lepp" ,
3131 "psql devbox_lepp < setup_postgres_db.sql" ,
Original file line number Diff line number Diff line change @@ -52,9 +52,8 @@ import (
5252const (
5353
5454 // shellHistoryFile keeps the history of commands invoked inside devbox shell
55- shellHistoryFile = ".devbox/shell_history"
56- processComposeTargetVersion = "v1.5.0"
57- arbitraryCmdFilename = ".cmd"
55+ shellHistoryFile = ".devbox/shell_history"
56+ arbitraryCmdFilename = ".cmd"
5857)
5958
6059type Devbox struct {
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import (
1616 "go.jetify.com/devbox/internal/xdg"
1717)
1818
19- const processComposeVersion = "1.64.1 "
19+ const processComposeVersion = "1.87.0 "
2020
2121var utilProjectConfigPath string
2222
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ version: "0.5"
22
33processes :
44 postgresql :
5- command : " pg_ctl start -o \" -k ' $PGHOST' ${PGPORT:+ -p '$ PGPORT' }\" "
6- is_daemon : true
7- shutdown :
5+ command : " sh -c 'exec postgres -k \" $PGHOST\" -p \" ${ PGPORT:-5432 }\" ' "
6+ is_daemon : false
7+ shutdown :
88 command : " pg_ctl stop -m fast"
99 availability :
1010 restart : " always"
1111 readiness_probe :
1212 exec :
13- command : " pg_isready ${PGPORT:+ -p '$ PGPORT'} "
13+ command : " pg_isready -p \" ${ PGPORT:-5432} \" "
Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ exec devbox install
44
55# aside: choose armv7l-linux to verify that the add actually works on the
66# current host that is unlikely to be armv7l-linux
7- exec devbox add github:F1bonacc1/process-compose/v0.40.2 --exclude-platform armv7l-linux
7+ exec devbox add github:F1bonacc1/process-compose/v1.87.0 --exclude-platform armv7l-linux
88json.superset devbox.json expected_devbox1.json
99
1010# verify that the package is installed on this platform
1111exec devbox run -- process-compose version
12- stdout '0.40.2 '
12+ stdout '1.87.0 '
1313
1414-- devbox.json --
1515{
@@ -24,7 +24,7 @@ stdout '0.40.2'
2424 "packages": {
2525 "hello": "",
2626 "cowsay": "latest",
27- "github:F1bonacc1/process-compose/v0.40.2 ": {
27+ "github:F1bonacc1/process-compose/v1.87.0 ": {
2828 "excluded_platforms": ["armv7l-linux"]
2929 }
3030 }
You can’t perform that action at this time.
0 commit comments