File tree Expand file tree Collapse file tree 2 files changed +20
-24
lines changed Expand file tree Collapse file tree 2 files changed +20
-24
lines changed Original file line number Diff line number Diff line change 1- #! /usr/ bin/env bash
2- # MISE description="Clean install of EQL"
1+ #! /bin/bash
2+ # MISE description="Clean install of EQL"
33
4- #! /bin/bash
4+ set -euxo pipefail
55
6- set -euxo pipefail
6+ connection_url=postgresql:// ${CS_DATABASE__USERNAME :- $USER } :@localhost: $CS_DATABASE__PORT / $CS_DATABASE__NAME
77
8- connection_url=postgresql://${CS_DATABASE__USERNAME:- $USER } :@localhost:$CS_DATABASE__PORT /$CS_DATABASE__NAME
8+ # Uninstall
9+ PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f release/cipherstash-encrypt-uninstall.sql
910
10- # Uninstall
11- PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f release/cipherstash-encrypt-uninstall.sql
12-
13- PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f release/cipherstash-encrypt.sql
11+ PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f release/cipherstash-encrypt.sql
Original file line number Diff line number Diff line change 1- #! /usr/bin/env bash
2- # MISE description="Build, reset and run test"
1+ #! /usr/bin/env bash
2+ # MISE description="Build, reset and run test"
33
4- #! /bin/bash
4+ #! /bin/bash
55
6- set -euxo pipefail
6+ set -euxo pipefail
77
8- mise run build
9- mise run reset
10-
11- connection_url=postgresql://${CS_DATABASE__USERNAME:- $USER } :@localhost:$CS_DATABASE__PORT /$CS_DATABASE__NAME
12-
13- # # tests
14- # PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f tests/core.sql
15- # PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f tests/core-functions.sql
16- # PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f tests/config.sql
17- # PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f tests/encryptindex.sql
18- PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f tests/operators.sql
8+ mise run build
9+ mise run reset
1910
11+ connection_url=postgresql://${CS_DATABASE__USERNAME:- $USER } :@localhost:$CS_DATABASE__PORT /$CS_DATABASE__NAME
2012
13+ # # tests
14+ # PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f tests/core.sql
15+ # PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f tests/core-functions.sql
16+ # PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f tests/config.sql
17+ # PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f tests/encryptindex.sql
18+ PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f tests/operators.sql
You can’t perform that action at this time.
0 commit comments