4567 Commits

Author SHA1 Message Date
Patrick Smith
172e9aae4d Add pytest-watch dev dependency 2018-07-11 10:54:04 -04:00
richard-dds
358aa6366c Always show submit screen, but disable button if form is incomplete 2018-07-10 17:01:39 -04:00
Devon
74eae52869
Merge pull request #64 from dod-ccpo/script-rework
Script standardization and shared functions
2018-07-10 15:35:03 -04:00
Devon Mackay
fc62dcdb65 Update pipenv check to just test the binary 2018-07-10 15:20:21 -04:00
Devon Mackay
d620fb6cc0 Add pip update in venv 2018-07-10 14:55:26 -04:00
Devon Mackay
2864300a4e Add function for installing pip packages in the venv 2018-07-10 14:55:02 -04:00
richard-dds
269f23d56c Continue showing "review and submit" after request is approved 2018-07-10 14:05:27 -04:00
Luis Cielak
40328dea6a Add each link to their own li 2018-07-10 13:55:51 -04:00
Devon Mackay
0535a45bd9 Check for pipenv and error out if not present 2018-07-10 12:01:56 -04:00
richard-dds
ab6af09d05 Fix edit links in "review and submit" 2018-07-10 11:47:57 -04:00
Luis Cielak
1c360784b2 Add few cosmetic changes to the request form, made some updates to form verbiage 2018-07-10 11:19:59 -04:00
Luis Cielak
a0f5ac3588 Add sidenav to requests page 2018-07-10 11:07:38 -04:00
Devon Mackay
9dbc6cd180 Rename file: no longer a work in progress 2018-07-10 10:55:28 -04:00
Devon Mackay
f5f809c167 Account for new script names and forced pipenv 2018-07-10 10:55:28 -04:00
Devon Mackay
628b3dc562 Modify wrapper to use PGID when terminating app 2018-07-10 10:55:28 -04:00
Devon Mackay
bbe9880db3 Ensure node modules get a fresh install on reset 2018-07-10 10:55:28 -04:00
Devon Mackay
89e14268e9 Fix function return value and clean up code style
- Fix create_virtual_environment return code; use pipenv exit code not
pipenv output
- Clean up code style in install_pipenv
2018-07-10 10:55:28 -04:00
Devon Mackay
d2eff80de9 Add error message output before aborting 2018-07-10 10:55:28 -04:00
Devon Mackay
e23b767a72 Standardize code styling 2018-07-10 10:55:28 -04:00
Devon Mackay
40494e8f63 Standardize code styling 2018-07-10 10:55:28 -04:00
Devon Mackay
d2c610fbf7 Remove loop: only sourcing one file now 2018-07-10 10:55:28 -04:00
Devon Mackay
7adc36eed3 Remove interpretor; file should be sourced not executed 2018-07-10 10:55:28 -04:00
Devon Mackay
263fcd1c35 Update comments 2018-07-10 10:55:28 -04:00
Devon Mackay
2b426cb784 Add script to background a server launch 2018-07-10 10:55:28 -04:00
Devon Mackay
2b95291f93 Update script to use global header and no trap
The server script should just give a clean, foreground execution of the
app.
A second script has been added to a dev server launch to try to get a
backgrounding wrapper in place.
2018-07-10 10:55:28 -04:00
Devon Mackay
10fa0a7ffa Update script to use global header file 2018-07-10 10:55:28 -04:00
Devon Mackay
6a4069853a Update first copy to include ALL scripts 2018-07-10 10:55:28 -04:00
Devon Mackay
2ec2eefb4b Fix variable name 2018-07-10 10:55:28 -04:00
Devon Mackay
5159e3e163 Remove script params; no longer required to pass these values 2018-07-10 10:55:28 -04:00
Devon Mackay
c370063f8d Update to use shared script 2018-07-10 10:55:28 -04:00
Devon Mackay
ada0595f36 Add alpine setup functions and sharable script 2018-07-10 10:55:28 -04:00
Devon Mackay
1a5f9dfc49 Move docker files and update travis.yml accordingly 2018-07-10 10:55:28 -04:00
Devon Mackay
27cfb3442f Update to use shared header 2018-07-10 10:55:28 -04:00
Devon Mackay
09cf59ccd1 Add default config file for bandit 2018-07-10 10:55:28 -04:00
Devon Mackay
9e89f75b92 Update to use shared test script and functions 2018-07-10 10:55:28 -04:00
Devon Mackay
53f27b2ea2 Enable pythong and node dependency installation 2018-07-10 10:55:28 -04:00
Devon Mackay
b8d3a4536b Add test script to execute code checks and unit tests 2018-07-10 10:55:28 -04:00
Devon Mackay
2ba3c68921 Add file containing functions used by the test script 2018-07-10 10:55:28 -04:00
Devon Mackay
d70481e425 Fix variable name 2018-07-10 10:55:28 -04:00
Devon Mackay
a31e833fa4 Fix pienv run command by actually adding "run" 2018-07-10 10:55:28 -04:00
Devon Mackay
cb0564e3e7 Update script to use shared functions and logic 2018-07-10 10:55:28 -04:00
Devon Mackay
617c154d01 Add script to execute bootstrap logic 2018-07-10 10:55:28 -04:00
Devon Mackay
6fa5d7aad1 Add file containing bootstrap specific functions 2018-07-10 10:55:28 -04:00
Devon Mackay
b23c6b15bb Update script to include sourcing setup specific functions 2018-07-10 10:55:28 -04:00
Devon Mackay
adb41337e3 Fix function name which was just changed 2018-07-10 10:55:28 -04:00
Devon Mackay
05c42e5988 Update helper_functions
- Modify check pip to make it clear it checks the system python
- Add generic sounding "run_command", in case we switch away from pipenv
2018-07-10 10:55:28 -04:00
Devon Mackay
6b31da0a0b Update global: only source the helper_functions 2018-07-10 10:55:28 -04:00
Devon Mackay
6e4c5911c3 Add comments 2018-07-10 10:55:28 -04:00
Devon Mackay
958f453442 Fix function snippet sourcing 2018-07-10 10:55:28 -04:00
Devon Mackay
1ea184f049 Update script to use shared fragments from the include dir 2018-07-10 10:55:28 -04:00