Skip to content

Commit 44d1c8b

Browse files
authored
GENERAL REQUIREMENTS (topcoder-platform#18)
* WIP GENERAL REQUIREMENTS Signed-off-by: Alessandro De Blasis <[email protected]> * WIP GENERAL REQUIREMENTS Signed-off-by: Alessandro De Blasis <[email protected]> * WIP GENERAL REQUIREMENTS Signed-off-by: Alessandro De Blasis <[email protected]> * WIP GENERAL REQUIREMENTS Signed-off-by: Alessandro De Blasis <[email protected]> * WIP GENERAL REQUIREMENTS Signed-off-by: Alessandro De Blasis <[email protected]> * WIP GENERAL REQUIREMENTS Signed-off-by: Alessandro De Blasis <[email protected]> * WIP GENERAL REQUIREMENTS Signed-off-by: Alessandro De Blasis <[email protected]> * GENERAL REQUIREMENTS Fixes topcoder-platform#11 Signed-off-by: Alessandro De Blasis <[email protected]>
1 parent 6c79e52 commit 44d1c8b

19 files changed

+938
-11927
lines changed

Makefile

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,18 @@ dump_tables:
2828
@docker exec -t tc-taas-postgres pg_dump -h localhost --username=postgres -t 'bookings.interviews' --schema-only postgres > ./.comparisons/init-db/interviews.sql
2929
@docker exec -t tc-taas-postgres pg_dump -h localhost --username=postgres -t 'bookings.job_candidates' --schema-only postgres > ./.comparisons/init-db/job_candidates.sql
3030
@docker exec -t tc-taas-postgres pg_dump -h localhost --username=postgres -t 'bookings.user_meeting_settings' --schema-only postgres > ./.comparisons/init-db/user_meeting_settings.sql
31-
@echo "${GR}All done, you can now compare the files${NC}"
32-
git diff --no-index ./.comparisons/migrate/interviews.sql ./.comparisons/init-db/interviews.sql > ./.comparisons/interviews.diff
33-
git diff --no-index ./.comparisons/migrate/job_candidates.sql ./.comparisons/init-db/job_candidates.sql > ./.comparisons/job_candidates.diff
34-
git diff --no-index ./.comparisons/migrate/user_meeting_settings.sql ./.comparisons/init-db/user_meeting_settings.sql > ./.comparisons/user_meeting_settings.diff
31+
@echo "${GR}All done, you can now compare the files${NC}"
32+
git diff --no-index ./.comparisons/migrate/interviews.sql ./.comparisons/init-db/interviews.sql > ./.comparisons/interviews.diff || true
33+
git diff --no-index ./.comparisons/migrate/job_candidates.sql ./.comparisons/init-db/job_candidates.sql > ./.comparisons/job_candidates.diff || true
34+
git diff --no-index ./.comparisons/migrate/user_meeting_settings.sql ./.comparisons/init-db/user_meeting_settings.sql > ./.comparisons/user_meeting_settings.diff || true
35+
36+
37+
38+
.PHONY: reboot
39+
reboot:
40+
npm run services:down
41+
npm run services:up
42+
npm run init-db
43+
npm run migrate
44+
npm run local:init || true
45+
npm run test

0 commit comments

Comments
 (0)