1128 Commits

Author SHA1 Message Date
dandds
7b8934e0cb add Flask error handlers 2018-08-08 13:54:15 -04:00
dandds
2cfc142417 simple implementation of request view authorization 2018-08-08 13:54:15 -04:00
dandds
1a5800cbc5 Requests domain module can determine if user can view request 2018-08-08 13:53:35 -04:00
richard-dds
2030b4d318
Merge pull request #139 from dod-ccpo/request-status-names
Update request status names to reflect document
2018-08-08 13:43:29 -04:00
Devon
22b81c2c0c
Merge pull request #142 from dod-ccpo/remove-extra-sass
Remove SASS gem install (now using parcel)
2018-08-08 13:30:17 -04:00
Devon
6b3d8b0775
Merge pull request #143 from dod-ccpo/run-migrate-on-uwsgi-startup
Add migrate db before server startup
2018-08-08 13:30:03 -04:00
richard-dds
1f41b717bf Add expired and deleted statuses 2018-08-08 13:05:03 -04:00
richard-dds
4d3889c144 Hardcode enum values instead of using auto() 2018-08-08 13:04:40 -04:00
Devon Mackay
b9e73b2f08 Add migrate db before server startup
Ensures a fresh deploy properly updates the DB before starting the
server and accepting traffic
2018-08-08 12:03:38 -04:00
Devon Mackay
d545fb9d95 Remove SASS gem install (now using parcel) 2018-08-08 11:43:38 -04:00
richard-dds
fc7ef59e9b Remove unused Request.set_status 2018-08-08 11:18:18 -04:00
Devon
df773855d5
Merge pull request #141 from dod-ccpo/kube-deploy
Kube deploy
2018-08-08 11:01:33 -04:00
Devon Mackay
22a7c53db6 Fastforward script/include to most recent master 2018-08-08 10:52:40 -04:00
Devon Mackay
df6c563262 Enable redirects for login route and non-ssl traffic 2018-08-08 10:49:26 -04:00
Devon Mackay
5c647a5c41 Switch htpasswd to use a secret 2018-08-08 10:12:46 -04:00
Devon Mackay
3277386ae1 Add reference script for setting the htpasswd file contents 2018-08-08 10:10:37 -04:00
Devon Mackay
aecb310a9b Set gid for mounted files to 101 (nginx) 2018-08-08 10:05:01 -04:00
Devon Mackay
ae2c6b01ff Enable basic auth for /login-dev 2018-08-08 10:05:01 -04:00
Devon Mackay
2822ff16c5 Set FLASK_DEV to dev for staging 2018-08-08 10:05:01 -04:00
Devon Mackay
bde339871a Add delete secret before recreating 2018-08-08 10:05:01 -04:00
Devon Mackay
90970367c8 Add yarn build after setup is completed 2018-08-08 10:05:01 -04:00
Devon Mackay
3a377dcb11 Convert atst ini config into a secret 2018-08-08 10:05:01 -04:00
Devon Mackay
e5567bf3c3 Switch to passing in the file name 2018-08-08 10:05:01 -04:00
Devon Mackay
880b145747 Make helper scripts executable 2018-08-08 10:05:01 -04:00
Devon Mackay
e1a49b2e72 Switch auth.atat to direct nodeport service 2018-08-08 10:05:01 -04:00
Devon Mackay
84b0bda701 Move atst ini config into secret 2018-08-08 10:05:01 -04:00
Devon Mackay
f628460001 Rename reference script 2018-08-08 10:05:01 -04:00
Devon Mackay
e9c43f61e3 Temp: remove basic auth for testing 2018-08-08 10:05:01 -04:00
Devon Mackay
b83b62aea0 Downgrade from http2 for testing 2018-08-08 10:05:01 -04:00
Devon Mackay
d746097981 Allow nginx and atst socket access 2018-08-08 10:05:01 -04:00
Devon Mackay
9cb5f88239 Move http traffic to port 8442 2018-08-08 10:05:01 -04:00
Devon Mackay
55c08d1188 Fix typo 2018-08-08 10:05:01 -04:00
Devon Mackay
10efcb98b8 Fix mountPath to be file not directory 2018-08-08 10:05:01 -04:00
Devon Mackay
35be729378 Update config file paths 2018-08-08 10:05:01 -04:00
Devon Mackay
bddb59630e Add missing semi-colons 2018-08-08 10:05:01 -04:00
Devon Mackay
23d6f6bf52 Update uwsgi socket location 2018-08-08 10:05:01 -04:00
Devon Mackay
97569985a8 Fix mount paths and typos 2018-08-08 10:05:01 -04:00
Devon Mackay
a53c480b58 Add missing semicolons 2018-08-08 10:05:01 -04:00
Devon Mackay
fb155fbc61 Switch nginx listeners to proper ports 2018-08-08 10:05:01 -04:00
Devon Mackay
c7c812be05 Fix collisions and typos 2018-08-08 10:05:01 -04:00
Devon Mackay
d1f99765e0 Add python3 package 2018-08-08 10:05:01 -04:00
Devon Mackay
6e6dddb507 Fix module name and set venv location 2018-08-08 10:05:01 -04:00
Devon Mackay
91857d7779 Switch to generic alpine for base image and fix python dirs 2018-08-08 10:05:01 -04:00
Devon Mackay
c995a232c6 Add local/bin files to the container so pipenv works 2018-08-08 10:05:01 -04:00
Devon Mackay
f2a4d59e0a Add uwsgi packages to container 2018-08-08 10:05:01 -04:00
Devon Mackay
609719025f Add FLASK_ENV var 2018-08-08 10:05:01 -04:00
Devon Mackay
e17c4ca0a2 Add uwsgi server launching script 2018-08-08 10:05:01 -04:00
Devon Mackay
f0a84ceb8a Add postgres client libs to containers 2018-08-08 10:05:01 -04:00
Devon Mackay
a86eb405ea Add configmap for atst env vars 2018-08-08 10:05:01 -04:00
Devon Mackay
2eeb492c5c Fix types; add uwsgi config; add env vars 2018-08-08 10:05:01 -04:00