3234 Commits

Author SHA1 Message Date
dandds
30318b68bb add additional user fields 2018-10-16 09:18:13 -04:00
dandds
e7a117be33 move user edit routes into their own module and blueprint 2018-10-16 09:18:13 -04:00
dandds
6a2a7545ae remove dev server 2018-10-15 16:52:47 -04:00
patricksmithdds
8ea99a7aa5
Merge pull request #385 from dod-ccpo/fix-404
Catch flask's NotFound error and return 404
2018-10-15 16:36:49 -04:00
dandds
8a207b3bc6 restore environment-based queue names 2018-10-15 16:11:14 -04:00
Patrick Smith
1f07b0fa33 Revert "Deploy this branch"
This reverts commit 2e4a8520a9a1f8a21ac5d2148f9902755663a850. `master`
will now be deployed.
2018-10-15 16:04:19 -04:00
Patrick Smith
0f658d5036 Add build step to generate build info 2018-10-15 16:02:35 -04:00
Patrick Smith
e5f588e032 WIP of a queue 2018-10-15 15:59:42 -04:00
Patrick Smith
d4cd4003c3 Catch flask's NotFound error and return 404 2018-10-15 15:48:46 -04:00
Patrick Smith
2e4a8520a9 Deploy this branch 2018-10-15 15:04:58 -04:00
Devon Mackay
b077ad9bac Make circleci image name unique 2018-10-15 14:48:03 -04:00
Devon Mackay
c9bd3a4328 Only generat IMAGE_NAME if it is undefined 2018-10-15 14:48:03 -04:00
Devon Mackay
d52e92fddf Convert to only deploying master branch 2018-10-15 14:48:02 -04:00
Devon Mackay
7dc87e5fe8 Adjust timeout flags for Alpine specific version 2018-10-15 14:48:02 -04:00
Devon Mackay
2ba9745c2e Add time limit for successfully deploying
- Add config var for max wait time for a deployment
- Move exit function and trap to the beginning of the script
- Execute the rollout status command using timeout
-- Use signal 2 (SIGINT; same pressing CTRL+C)
-- Abort the command if it is still running when max time is reached
-- If the command was aborted, rollback this deployment
2018-10-15 14:48:02 -04:00
Devon Mackay
f684990666 Set working directory to match final app location (fix venv issue) 2018-10-15 14:48:02 -04:00
Devon Mackay
43057e2fc0 Flush CRL cache 2018-10-15 14:48:02 -04:00
Devon Mackay
f6fdb44a87 Ensure permissions are preserved 2018-10-15 14:48:02 -04:00
Devon Mackay
7f81db5990 Style fixes 2018-10-15 14:48:02 -04:00
Devon Mackay
5a6f1de4dd Ensure app dir and files in its root are also chowned 2018-10-15 14:48:02 -04:00
Devon Mackay
1a68458a12 And also include /usr/bin, since the bin stubs for pip installed packages live there 2018-10-15 14:48:02 -04:00
Devon Mackay
1c5c75a0ac Fix resource names 2018-10-15 14:48:02 -04:00
Devon Mackay
82517e67d7 Fix site-packages reference 2018-10-15 14:48:02 -04:00
Devon Mackay
3ebf047e70 Sync debugger config with app config 2018-10-15 14:48:02 -04:00
Devon Mackay
38c86362b0 Ensure system packages get copied to prod container 2018-10-15 14:48:02 -04:00
Devon Mackay
28d5544cef Add GIT_SHA env var for use by atst-update-deploy.sh 2018-10-15 14:48:02 -04:00
Devon Mackay
3c5ee0b65d Toggle CD on for the circleci-cd branch for testing 2018-10-15 14:48:02 -04:00
Devon Mackay
fd4346a4dd Disable image push by Travis 2018-10-15 14:48:02 -04:00
Devon Mackay
771db0dfdd Update image name 2018-10-15 14:48:02 -04:00
Devon Mackay
bd3406f762 Disable Travis deployment 2018-10-15 14:48:02 -04:00
Devon Mackay
a9bdf45ac6 Finalize deploy and switch to master branch only 2018-10-15 14:48:02 -04:00
Devon Mackay
bbea6d66b5 Variablize image name 2018-10-15 14:48:02 -04:00
Devon Mackay
a07cc6d524 Fix syntax 2018-10-15 14:48:02 -04:00
Devon Mackay
b72269bf21 Change var name to match deploy script 2018-10-15 14:48:02 -04:00
Devon Mackay
d0cc4da9f0 Add deploy stage to the build 2018-10-15 14:48:02 -04:00
Devon Mackay
4a99889a67 Add script that checks the k8s deployment without changing anything 2018-10-15 14:48:02 -04:00
Devon Mackay
7e0b3ce520 Adjust base64 params to be more portable (alpine compatible) 2018-10-15 14:48:02 -04:00
Devon Mackay
2ec2a22db0 Remove IMAGE_NAME output since it does not work properly 2018-10-15 14:48:02 -04:00
Devon Mackay
db522a2913 Add image building and pushing stage 2018-10-15 14:48:02 -04:00
Devon Mackay
d77383ad9a Convert to using workslow with separate jobs
- Split build into app_setup and test jobs
- Add workflow sequence info
- Add DB reset to cibuild since it uses a fresh DB in a new build stage
2018-10-15 14:48:02 -04:00
Devon Mackay
26a83df444 Add default re-usable config bits 2018-10-15 14:48:02 -04:00
Devon Mackay
d61510994b Add script to fix-up app dir owner 2018-10-15 14:48:02 -04:00
dandds
40317a06a4 use default queue for now 2018-10-15 11:38:34 -04:00
dandds
95ad71605d set default task queue name based on ATAT environment 2018-10-15 11:38:34 -04:00
dandds
4b8c017d49 do not use SSL for email if using TLS 2018-10-15 11:38:34 -04:00
dandds
df35725430 reformat files, add more tests 2018-10-15 11:38:34 -04:00
dandds
ae7c644d91 update README, adjust email config function name 2018-10-15 11:38:34 -04:00
dandds
ae909117f4 use honcho to manage multiple dev processes 2018-10-15 11:38:34 -04:00
dandds
f7d8783349 implement mailer with task queue 2018-10-15 11:37:06 -04:00
dandds
0d9f1cd7e0 update mailer, add tests 2018-10-15 11:35:20 -04:00