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
Devon Mackay
0535a45bd9
Check for pipenv and error out if not present
2018-07-10 12:01:56 -04:00
Devon Mackay
9dbc6cd180
Rename file: no longer a work in progress
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
2ec2eefb4b
Fix variable name
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
27cfb3442f
Update to use shared header
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
Devon Mackay
516feb2cd4
Add script that runs all the setup commands
2018-07-10 10:55:28 -04:00
Devon Mackay
c4283fe1a4
Remove interpreter specification
...
These script fragments should only ever be sourced rather then directly
executed
2018-07-10 10:55:28 -04:00
Devon Mackay
16de4f829e
Add file to contain functions used by setup
2018-07-10 10:55:28 -04:00
Devon Mackay
04d073329a
Add file with general helper functions for use by other scripts
2018-07-10 10:55:28 -04:00
Devon Mackay
649987a33b
Add file with basic command all scripts should run
2018-07-10 10:55:28 -04:00
Patrick Smith
efd53ae43f
Move pipenv creation from bootstrap to setup script
2018-07-05 13:01:14 -04:00
Devon Mackay
fec2f148ab
Also exclude node_modules from code analysis
2018-07-03 11:01:55 -04:00
Devon Mackay
ed4652e3db
Add security analysis check to cibuild
2018-07-03 11:01:55 -04:00
Devon Mackay
08d1bfd7c5
Link to uswds fonts should come after node module is installed
2018-07-03 11:01:55 -04:00
Devon Mackay
5cff9fbfcc
Add dumb-init for signal handling
2018-07-03 11:01:55 -04:00
Devon Mackay
a874f9e4a6
Do not need gemrc anymore (comes in build base)
2018-07-03 11:01:55 -04:00
Devon Mackay
2ab762d92f
Add quotes to vars
2018-07-03 11:01:55 -04:00
Devon Mackay
4b9b6ef201
Add script that preps an alpine container to run the app
2018-07-03 11:01:55 -04:00