Skip to content

Commit

Permalink
df output
Browse files Browse the repository at this point in the history
  • Loading branch information
justinclift committed Oct 3, 2024
1 parent a5140c5 commit d0e4740
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ test_run() {

### FIXME:
echo "ls #1"
ls -la postgres-data
sudo ls -la postgres-data
ps -ef f

# Create the PostgreSQL database using a specific version of PostgreSQL
Expand All @@ -65,8 +65,9 @@ test_run() {

### FIXME:
echo "ls #2"
ls -la postgres-data
sudo ls -la postgres-data
ps -ef f
df -h .

##
## Tests for one shot mode
Expand All @@ -78,8 +79,9 @@ test_run() {

### FIXME:
echo "ls #3"
ls -la postgres-data
sudo ls -la postgres-data
ps -ef f
df -h .

# Run the PostgreSQL container in one shot mode
TARGET_TAG="${TARGET}-${FLAVOR}" docker compose -f docker-compose-pgauto.yml run --rm -e PGAUTO_ONESHOT=yes postgres
Expand All @@ -98,8 +100,9 @@ test_run() {

### FIXME:
echo "ls #4"
ls -la postgres-data
sudo ls -la postgres-data
ps -ef f
df -h .

# If running on CI, delete the Postgres Docker image to avoid space problems
if [ -n "$CI" ]; then
Expand Down

0 comments on commit d0e4740

Please sign in to comment.