-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Migrate from MongoDB => Postgres (#600)"
This reverts commit dda1b9c.
- Loading branch information
Showing
43 changed files
with
10,007 additions
and
14,250 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,27 +12,17 @@ jobs: | |
release: | ||
name: Test build app | ||
runs-on: ubuntu-latest | ||
|
||
services: | ||
postgres: | ||
image: postgres:latest | ||
env: | ||
POSTGRES_DB: postgres | ||
POSTGRES_PASSWORD: postgres | ||
POSTGRES_USER: postgres | ||
ports: | ||
- 5432:5432 | ||
# Set health checks to wait until postgres has started | ||
options: >- | ||
--health-cmd pg_isready | ||
--health-interval 10s | ||
--health-timeout 5s | ||
--health-retries 5 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Start MongoDB | ||
uses: supercharge/[email protected] | ||
with: | ||
mongodb-replica-set: test-rs | ||
mongodb-version: '6.0' | ||
mongodb-port: 27017 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
|
@@ -47,9 +37,8 @@ jobs: | |
npm run build | ||
env: | ||
# Prisma | ||
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres?schema=public | ||
PLATFORM_DATABASE_URL: mongodb://localhost:27017/platformDB # This is a dead connection URL - build does not need live DB. | ||
|
||
DATABASE_URL: mongodb://localhost:27017/db | ||
PLATFORM_DATABASE_URL: mongodb://localhost:27017/platformDB | ||
# Next Auth | ||
NEXTAUTH_URL: http://localhost:3000 | ||
NEXTAUTH_SECRET: abc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
cypress/screenshots | ||
cypress/videos | ||
cypress/downloads | ||
coverage/ | ||
|
||
# next.js | ||
/.next/ | ||
|
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Request project lead by default | ||
* @syl15 | ||
* @ZzRanger | ||
|
||
# Request all Project Nebula Maintainers to review other pull requests | ||
src/**/* @UTDNebula/Planner-Maintainers | ||
src/**/* @UTDNebula/nebula-planner @UTDNebula/planner |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.