2687 Commits

Author SHA1 Message Date
dandds
4fefd017a2 use CLIN data from EDA client response 2018-10-17 16:12:19 -04:00
dandds
6a03664b51 get CLIN info from EDA XML 2018-10-17 15:59:20 -04:00
patricksmithdds
a05d226401
Merge pull request #391 from dod-ccpo/csrf-error
Redirect to login page when CSRF error occurs
2018-10-17 10:12:01 -04:00
montana-mil
10d90a0e6b
Merge pull request #390 from dod-ccpo/add-copy
Add description to Environment Roles Modal
2018-10-17 09:47:54 -04:00
Patrick Smith
0425df3d19 Use fixture for CSRF-enabled app
We don't want CSRF protection to stick around after the test runs.
2018-10-16 21:31:03 -04:00
Patrick Smith
783ce58991 Formatting fix 2018-10-16 21:30:35 -04:00
Patrick Smith
c7d5015942 Redirect to login page when CSRF error occurs 2018-10-16 17:23:09 -04:00
Montana
f9d910efd7 Fix new lines 2018-10-16 16:45:13 -04:00
Montana
a50c3d92f9 Style the modal description 2018-10-16 15:41:15 -04:00
patricksmithdds
e7b437dc56
Merge pull request #388 from dod-ccpo/raise-error-in-debug-mode
Raise unhandled exception in debug mode
2018-10-16 15:31:53 -04:00
Montana
77b88b0b3c Add a description to env roles modal 2018-10-16 14:44:38 -04:00
Patrick Smith
9be83a83d3 Raise unhandled exception in debug mode 2018-10-16 14:27:44 -04:00
patricksmithdds
38610d0e0a
Merge pull request #276 from dod-ccpo/circleci-cd
CircleCI CD
2018-10-16 11:37:09 -04:00
patricksmithdds
dee0479403
Merge pull request #383 from dod-ccpo/update-tld
Add UAT env and move to *.atat.code.mil (from *.atat.codes)
2018-10-16 10:42:52 -04:00
patricksmithdds
2014789934
Merge pull request #380 from dod-ccpo/remove-sample-data
Remove sample data from test accounts
2018-10-16 10:32:26 -04:00
Patrick Smith
714569eda4 Get rid of deployment steps on Travis 2018-10-16 10:30:14 -04:00
Patrick Smith
8bf71f10c7 Update path so the script can be run and import atst 2018-10-16 10:17:37 -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
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
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