Skip to content

Commit

Permalink
Add postgres 17
Browse files Browse the repository at this point in the history
  • Loading branch information
d-stefanovic committed Nov 29, 2024
1 parent 67e0fc0 commit 6a81537
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sem-service
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sem_services['mysql']="5.5 5.6.51 5.6 5.6.50 5.7.13 5.7.25 5.7.27 5.7.31 5.7.32
sem_services['redis']="2.8.23 2.8 2 3.2.4 3.2.12 3.2 3 4.0.12 4.0.14 4.0 4 5.0.6 5.0.9 5.0 5 6.0.5 6.0.8 6.0 6.2.1 6.2 6.2.7 6 7.0.5 7.0 7.2.4 7.2 7"
sem_services['mongo']="3.2.1 3.2 3.6.20 3.6 3 4.0.20 4.0 4.1.13 4.1 4.2.10 4.2.13 4.2 4.4.1 4.4.4 4.4 4 5.0.1 5.0.2 5.0.3 5.0.4 5.0.5 5.0.6 5.0.7 5.0.8 5.0.9 5.0 5 6.0.8 6.0 6"
sem_services['elasticsearch']="1.7.6 1.7 1 2.4.6 2.4 2 5.4.3 5.4 5.5.2 5.5 5.6.16 5.6 5 6.5.1 6.5.4 6.5 6.6 6.8.1 6.8.13 6.8 6 7.1.1 7.1 7.2.0 7.2 7.2.1 7.2 7.3.1 7.3.2 7.3 7.4.2 7.4 7.5.0 7.5.1 7.5.2 7.5 7.6.0 7.6.2 7.6 7.7.0 7.7.1 7.7 7.8.1 7.8 7.9.0 7.9.2 7.9.3 7.9 7.10.0 7.11.2 7.11 7.12.0 7.12 7.17.7 7 8.5.1 8.5.3 8.9.2 8.11.3"
sem_services['postgres']="9.4.26 9.4 9.5.15 9.5.23 9.5 9.6.6 9.6.11 9.6.18 9.6.19 9.6 9 10.0 10.5 10.6 10.7 10.11 10.12 10.13 10.14 10.16 10 11.0 11.2 11.5 11.6 11.7 11.8 11.9 11.11 11 12.1 12.2 12.3 12.4 12.6 12 13.0 13.2 13 14 15.1 15 16"
sem_services['postgres']="9.4.26 9.4 9.5.15 9.5.23 9.5 9.6.6 9.6.11 9.6.18 9.6.19 9.6 9 10.0 10.5 10.6 10.7 10.11 10.12 10.13 10.14 10.16 10 11.0 11.2 11.5 11.6 11.7 11.8 11.9 11.11 11 12.1 12.2 12.3 12.4 12.6 12 13.0 13.2 13 14 15.1 15 16 17.2 17"
sem_services['rabbitmq']="3.6.16 3.6 3.8.2 3.8.9 3.8.14 3.8 3"
sem_services['cassandra']="3.11.3 3.11.8 3.11 3"
sem_services['rethinkdb']="2.3.6 2.3 2.4.1 2.4 2"
Expand Down
18 changes: 16 additions & 2 deletions tests/sem_service/postgres
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ IFS=$'\n\t'
sem-service start postgres
createdb -U postgres -h 0.0.0.0 fooo
psql -h 0.0.0.0 -U postgres -c "\l" | grep fooo
psql -h 0.0.0.0 -U postgres -c "SELECT version()" | grep 9.6
psql -h 0.0.0.0 -U postgres -c "SELECT version()" | grep "9\.6"
sem-service status postgres
sem-service stop postgres

Expand Down Expand Up @@ -33,7 +33,7 @@ sem-service stop postgres
sem-service start postgres 15.1
createdb -U postgres -h 0.0.0.0 fooo
psql -h 0.0.0.0 -U postgres -c "\l" | grep fooo
psql -h 0.0.0.0 -U postgres -c "SELECT version()" | grep 15.1
psql -h 0.0.0.0 -U postgres -c "SELECT version()" | grep "15\.1"
sem-service status postgres
sem-service stop postgres

Expand All @@ -51,4 +51,18 @@ psql -h 0.0.0.0 -U postgres -c "SELECT version()" | grep 16
sem-service status postgres
sem-service stop postgres

sem-service start postgres 17.2
createdb -U postgres -h 0.0.0.0 fooo
psql -h 0.0.0.0 -U postgres -c "\l" | grep fooo
psql -h 0.0.0.0 -U postgres -c "SELECT version()" | grep "17\.2"
sem-service status postgres
sem-service stop postgres

sem-service start postgres 17
createdb -U postgres -h 0.0.0.0 fooo
psql -h 0.0.0.0 -U postgres -c "\l" | grep fooo
psql -h 0.0.0.0 -U postgres -c "SELECT version()" | grep 17
sem-service status postgres
sem-service stop postgres

cat /tmp/toolbox_semservice

0 comments on commit 6a81537

Please sign in to comment.