Commit Graph

43 Commits

Author SHA1 Message Date
Aaron Louie 0837b4d2b5 Re-enables e2e tests. Sets up db, backend, and pb for e2e testing. 2020-06-13 22:02:56 -04:00
Aaron Louie 20540d4824 Updates sartography-workflow-lib 2020-05-26 15:16:00 -04:00
Aaron Louie 47d1c7fe88 Fixes nginx stupid. Adds back deploy url. Totally refactors docker-compose. 2020-05-26 14:48:31 -04:00
Aaron Louie 650bb8f6f1 Removes DEPLOY_URL entirely. 2020-05-26 10:34:50 -04:00
Aaron Louie e70a8a30af Substitutes deploy url with separate environment variable 2020-05-26 09:33:49 -04:00
Aaron Louie 47ddd834c7 Starts nginx inside the bash script 2020-05-26 09:02:37 -04:00
Aaron Louie 7dec58f54c Forgot to re-comment bpmn 2020-05-26 08:31:08 -04:00
Aaron Louie 0728801a13 Reloads nginx after substituting environment variables 2020-05-26 08:28:42 -04:00
Aaron Louie 57390c6d1e Fixes PB and LDAP urls 2020-05-25 16:01:47 -04:00
Aaron Louie 392315281e Adds CORS setting to backend and pb. 2020-05-25 15:26:46 -04:00
Aaron Louie 051db5ab99 Fixes PB API url 2020-05-25 10:02:15 -04:00
Aaron Louie 2976a687c6 Actually adds trailing slash like it's supposed to. 2020-05-25 09:29:21 -04:00
Aaron Louie 8d7673f7d4 On second thought, FLASK_APP is set by the containers in the docker_run.sh 2020-05-25 00:49:06 -04:00
Aaron Louie 6d511971cd Fixes pb FLASK_APP environment variable 2020-05-25 00:43:35 -04:00
Aaron Louie df6a7c352a Sets port and application root for flask apps 2020-05-24 20:59:12 -04:00
Aaron Louie 1b1100a01f Not sure if this does anything different, but whatever 2020-05-24 14:27:06 -04:00
Aaron Louie 51df2063c9 Ignore additional parameters 2020-05-24 13:49:49 -04:00
Aaron Louie 746cda4689 Finds and replaces base href template string with environment variable 2020-05-24 11:26:20 -04:00
Aaron Louie d954f2620d Ugh. envsubst doesn't do exact string match. Throw in extra slash, then remove it afterward. UGH. 2020-05-23 23:55:43 -04:00
Aaron Louie 40455fd3f2 Adds trailing slash to base href if needed. Adds root location to nginx conf 2020-05-23 22:54:10 -04:00
Aaron Louie a79515caa6 Waits in case envsubst takes a second to finish 2020-05-23 15:46:06 -04:00
Aaron Louie 198cfd90bb Passes path to index.html in as optional parameter to substitute-env-variables.sh 2020-05-23 11:50:31 -04:00
Aaron Louie 2f8bba4f37 Rewrite base href in index.html 2020-05-23 11:31:06 -04:00
Aaron Louie d33373b13e Fixes environment variables, npm scripts, and a trailing slash 2020-05-22 23:43:32 -04:00
Aaron Louie 029e9d4cde Waits for pb to start before starting backend 2020-05-22 21:14:27 -04:00
Aaron Louie 82bf880ec8 Upgrades DBs before running e2e tests 2020-05-22 20:52:03 -04:00
Aaron Louie 0433e5f069 Sets environment variables 2020-05-22 15:12:59 -04:00
Aaron Louie bb2238f259 Updates e2e docker setup. Removes unnecessary flask and db config files. 2020-05-22 10:15:15 -04:00
Aaron Louie 637418e840 Refactors environment variable substitution script 2020-05-19 22:20:03 -04:00
Aaron Louie 55f37eb805 Prints out environment variables 2020-05-17 14:25:42 -04:00
Aaron Louie 999eb18fcc Removes debug thing, which was causing it to crash 2020-05-17 09:50:00 -04:00
Aaron Louie d6850f056c Substitutes environment variables in multiple files 2020-05-16 22:59:05 -04:00
Aaron Louie 9d28a472a5 Runs nginx on port from environment variable 2020-05-16 22:18:16 -04:00
Aaron Louie 961caecb11 Removes unused CORS setting 2020-05-12 22:18:28 -04:00
Aaron Louie 99ac282dc2 Uses git branch for backend and pb containers for e2e testing 2020-05-11 13:46:26 -04:00
Aaron Louie 201e65fdbf Passes environment variables through the Dockerfile 2020-04-14 16:22:34 -04:00
Aaron Louie dbf199ec21 Sends message to DCOS when Docker Hub image is updated 2020-04-03 10:15:08 -04:00
Aaron Louie fbd2cfaed0 Doesn't fail build if Docker push fails 2020-02-07 18:27:35 -05:00
Aaron Louie a67c2af6d5 No need to expose 5432 to external network? 2020-02-07 12:52:40 -05:00
Aaron Louie 2f446692ad Removes incompatible command 2020-02-07 10:22:34 -05:00
Aaron Louie eb245c5608 Changes version to one supported by Travis CI 2020-02-06 22:23:34 -05:00
Aaron Louie c8a6ea4978 Pushes docker image 2020-02-06 22:12:33 -05:00
Aaron Louie 26eda7cc8a Adds docker-compose to start backend and database for e2e testing 2020-02-06 22:04:01 -05:00