62 Commits

Author SHA1 Message Date
leigh-mil
c2814416fb Update atst to atat 2020-03-04 11:51:15 -05:00
tomdds
d02d47615e First step in breaking out cloud.py
Move cloud.py to a module init. Move policy with it. Update related unit tests. Also adds a patch to state machine test to prevent randomness in mock from failing test.
2020-01-26 14:03:09 -05:00
raydds
b059605b37 Dropdb has a handy argument for conditionally dropping a database 2020-01-16 11:52:18 -05:00
raydds
d595ef60d3 Also supress the --version error 2020-01-16 11:46:03 -05:00
raydds
e6078cbe4a pipenv --py reports a big scary error on the first run. Silence stderr 2020-01-16 11:41:56 -05:00
dandds
a660f41171 Do not catch errors in CI.
This removes all error-catching from the test scripts. If unit tests
fail, the script will exit immediately. The error catching functionality
was not working correctly using the sh shell in Alpine inside the
containers, and so CI was allowed to continue after test failures.
2019-12-20 14:25:41 -05:00
richard-dds
c66b1ef2f9 Add mypy and add typechecking step to script/test
Only check atst/domain/csp/cloud.py for now
2019-10-24 14:44:53 -04:00
leigh-mil
248e93103b Add js/test_templates to .gitignore file and remove ignored folder 2019-10-16 13:53:40 -04:00
dandds
6c22d5a524 Apply section heads to test output for clarity.
This also removes a test setup command that added an uploads directory.
It's no longer necessary.
2019-09-26 13:23:17 -04:00
dandds
8d7c7a0d6e Render Vue component templates as part of test script.
Add a command to the test script to output up-to-date Vue component
templates. Most of the Vue component tests rely on HTML templates built
from Jinja.
2019-09-25 11:32:10 -04:00
dandds
beabd2ce72 Remove the scriptz submodule and hard-commit the files.
The submodule is a leftover from when this project was intended to work
as a series of microservices. It was meant to provide common
functionality to the builds for every microservice. That's no longer the
case, and the submodule is a pain-point both in on-boarding new
developers and running the Docker build.
2019-07-14 16:01:13 -04:00
Patrick Smith
ff2c844f25 Update scriptz subproject commit
Points the scriptz subproject to the latest master after
https://github.com/dod-ccpo/scriptz/pull/16 was merged.
2019-02-26 11:33:39 -05:00
Patrick Smith
1ef16c74b9 Update scriptz commit 2019-02-25 14:54:14 -05:00
Patrick Smith
c3c675ceba Run js test coverage on CI 2018-11-20 11:26:50 -05:00
richard-dds
8c1e6b7ef5 Update scripts submodule 2018-09-21 14:41:28 -04:00
richard-dds
4fc1f9f2d4 Squashed migrations and created seed_roles.py 2018-09-21 14:00:01 -04:00
Devon Mackay
9d356c3344 Update scripz version 2018-08-30 18:51:33 -04:00
Devon Mackay
f5f104d553 Update scripz version 2018-08-30 18:39:43 -04:00
Devon Mackay
77c07a8d1e Update scriptz code 2018-08-30 18:02:04 -04:00
Devon Mackay
17787aaa7f Update scripts code 2018-08-30 16:45:00 -04:00
Devon Mackay
22a7c53db6 Fastforward script/include to most recent master 2018-08-08 10:52:40 -04:00
Devon Mackay
cffb99ca2a Update to latest scriptz master 2018-08-08 10:05:01 -04:00
Patrick Smith
4f167ef9e4 Update scriptz to use correct database name 2018-08-03 13:04:09 -04:00
dandds
8f7a7f847c have test script to reset test database 2018-08-03 09:50:24 -04:00
Devon Mackay
96ed26ed9f Update to most recent scriptz 2018-07-31 11:50:33 -04:00
Devon Mackay
e4fd71437e Ensure get_db is sourced so the vars carry over 2018-07-31 11:50:33 -04:00
Devon Mackay
aa1c73262b Switch to scriptz feature branch 2018-07-31 11:50:33 -04:00
dandds
84c228ec2e update submodule 2018-07-31 11:50:00 -04:00
Devon Mackay
821a0ee0e5 Update submodule to latest master 2018-07-13 09:16:00 -04:00
Devon Mackay
e41f828af3 Set submodule commit to import branch 2018-07-13 09:16:00 -04:00
Devon Mackay
3312841ba4 Add scriptz submodule as script/include 2018-07-13 09:16:00 -04:00
Devon Mackay
78c8239422 Remove existing include directory 2018-07-13 09:16:00 -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
Devon Mackay
0535a45bd9 Check for pipenv and error out if not present 2018-07-10 12:01:56 -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
2ec2eefb4b Fix variable name 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
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
617c154d01 Add script to execute bootstrap logic 2018-07-10 10:55:28 -04:00