54 Commits

Author SHA1 Message Date
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
Devon Mackay
cbe4038a79 Script that CI should use to run tests 2018-07-03 11:01:55 -04:00
Brian Duggan
382bc86722 Fix bash syntax 2018-07-03 09:54:52 -04:00
Devon Mackay
71965eaeaf Add abililty to use system python
Moving virtual environments between systems is problematic... and
unnecessary when creating container images. These modifications allow
the ability to install app dependencies into the system python, and use
that instead of a virtual environment.
2018-07-01 19:15:40 -04:00
Devon Mackay
d6f61bffbc Remove npm auto-upgrade
- There have been some bugs around updating npm to the latest version
recently, so let's leave managing npm itself up to the end user
2018-06-29 18:44:33 -04:00
Jason Garber
88ee60a8b1 Revert forcing deletion of the fonts directory 2018-06-29 16:17:14 -04:00
Jason Garber
f423ee31b3 Use webassets' built-in command line builder 2018-06-29 16:17:14 -04:00
Jason Garber
57334b4137 Make precompilation part of bootstrapping 2018-06-29 16:17:00 -04:00
richard-dds
0e852ae8ff Fix two linter warnings as well 2018-06-26 10:39:30 -04:00
Brian Duggan
875c64971d uprade pip in pipenv 2018-06-21 11:33:54 -04:00
Brian Duggan
d6bb02da66 Also store child pid 2018-06-18 11:35:22 -04:00
Brian Duggan
ca1c53edfd reap child processes 2018-06-18 11:25:48 -04:00
richard-dds
6eb71cfe63 Add pylint and run before tests 2018-06-18 10:42:07 -04:00
Jason Garber
fb4a60332c Handle arguments to script/test 2018-06-14 14:26:21 -04:00
Brian Duggan
9152ffe91e Implement form objects for request forms 2018-06-14 13:59:03 -04:00
Brian Duggan
a340eede07 Config, secrets, basic POST handling
* add script/config
  * add atst.ini
  * add cookie_secret
  * update docs
2018-06-14 13:52:11 -04:00
dandds
e8b2787e04 install sass if it is not already present 2018-06-13 09:53:48 -04:00
Luis Cielak
b2bc13003d Use python 3.6 for pipenv 2018-06-11 12:17:22 -04:00
richard-dds
94e9774603 Update script/update to use pipenv 2018-06-04 22:36:20 -04:00
richard-dds
2c849fd01a Update script/server to use pipenv 2018-06-04 22:36:20 -04:00
richard-dds
42624b9eb8 Removed requirements.txt in favor of Pipenv 2018-06-04 22:35:42 -04:00
Devon Mackay
a2f69005ed Just being picky; I like to consisently use braces for bash vars 2018-05-30 15:18:02 -04:00