Skip to content

Commit

Permalink
Trying to make dbs play nice
Browse files Browse the repository at this point in the history
  • Loading branch information
dgcliff committed Aug 28, 2024
1 parent efa81a7 commit 6b053cc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .atlas
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.150
0.0.153
7 changes: 3 additions & 4 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ jobs:
run: |
set -x
ATLAS=$(cat .atlas) docker compose -f docker-compose.yml -f docker-compose.ci.yml up -d
- name: Create database and migrate
run: |
docker compose exec -T web bundle exec rake db:create
docker compose exec -T web bundle exec rake db:migrate
# - name: Create database and migrate
# run: |
# docker compose exec -T web bundle exec rake db:migrate
- name: Wait until available
run: dockerize -wait http://localhost:3000 -timeout 1m
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.22
2.6.23
3 changes: 2 additions & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash
bin/rails db:migrate RAILS_ENV=development
bin/rails db:create
bin/rails db:migrate
rm -f /home/cerberus/web/tmp/pids/server.pid
rails dartsass:watch &
rails s -p 3000 -b '0.0.0.0'

0 comments on commit 6b053cc

Please sign in to comment.