Skip to content

Commit

Permalink
Refactoring to use a step function
Browse files Browse the repository at this point in the history
Linting, tests and reducing IAM role scope

Enabling tracing

Refactoring some more
  • Loading branch information
StewartW committed Oct 19, 2021
1 parent e152e43 commit c259bc8
Show file tree
Hide file tree
Showing 19 changed files with 1,234 additions and 132 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ master-deploy.yml
.pytest_cache
shared_layer.zip
.aws-sam
samconfig.toml
pipeline.json
template-sam.yml
deploy.sh
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ init:
test:
# Run unit tests
pytest src/lambda_codebase/account -vvv -s -c src/lambda_codebase/account/pytest.ini
pytest src/lambda_codebase/account_processing -vvv -s -c src/lambda_codebase/account_processing/pytest.ini
pytest src/lambda_codebase/initial_commit/bootstrap_repository -vvv -s -c src/lambda_codebase/initial_commit/bootstrap_repository/pytest.ini
pytest src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase -vvv -s -c src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pytest.ini
pytest src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python -vvv -s -c src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/pytest.ini
pytest src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk -vvv -s -c src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/pytest.ini
pytest src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared -vvv -s -c src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/pytest.ini
lint:
# Linter performs static analysis to catch latent bugs
find src/ -iname "*.py" | xargs pylint --rcfile .pylintrc
find src/ -iname "*.py" -not -path ".aws-sam/*" | xargs pylint --rcfile .pylintrc
Loading

0 comments on commit c259bc8

Please sign in to comment.