Skip to content

Commit

Permalink
v0.3.3
Browse files Browse the repository at this point in the history
This release is only intended as a stepping stone release to 1.0.0 for existing deployments.
  • Loading branch information
bundyfx authored Jun 6, 2019
1 parent 566a39b commit cdf08b1
Show file tree
Hide file tree
Showing 54 changed files with 3,600 additions and 588 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ outfile
*.so

# Distribution / packaging
package.yaml
aws_deployment_framework.egg-info
.Python
develop-eggs/
Expand Down
3 changes: 2 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,8 @@ notes=FIXME,XXX
[SIMILARITIES]

# Minimum lines number of a similarity.
min-similarity-lines=6
# Temp 500 until we merge initial_commit into shared codebase.
min-similarity-lines=500

# Ignore comments when computing similarities.
ignore-comments=yes
Expand Down
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ test:
# Run unit tests
pytest src/initial/ -vvv -s -c src/initial/pytest.ini
pytest src/bootstrap_repository/ -vvv -s -c src/bootstrap_repository/pytest.ini
pytest src/bootstrap_repository/deployment/lambda_codebase -vvv -s -c src/bootstrap_repository/pytest.ini
pytest src/pipelines_repository/ -vvv -s -c src/pipelines_repository/pytest.ini

pytest src/bootstrap_repository/deployment/lambda_codebase/initial_commit/pipelines_repository -vvv -s -c src/bootstrap_repository/deployment/lambda_codebase/initial_commit/pipelines_repository/pytest.ini
lint:
# Linter performs static analysis to catch latent bugs
find src/ -iname "*.py" | xargs pylint --rcfile .pylintrc
2 changes: 1 addition & 1 deletion src/bootstrap_repository/adf-build/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def _validate(self):
self.config.get('main-notification-endpoint')
):
raise InvalidConfigError(
'adf_config.yml is missing required properties. '
'adfconfig.yml is missing required properties. '
'Please see the documentation.'
)

Expand Down
3 changes: 3 additions & 0 deletions src/bootstrap_repository/adf-build/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ def prepare_deployment_account(sts, deployment_account_id, config):
deployment_account_parameter_store.put_parameter(
'deployment_account_bucket', DEPLOYMENT_ACCOUNT_S3_BUCKET_NAME
)
deployment_account_parameter_store.put_parameter(
'adf_version', os.environ["ADF_VERSION"]
)
if '@' not in config.notification_endpoint:
config.notification_channel = config.notification_endpoint
config.notification_endpoint = "arn:aws:lambda:{0}:{1}:function:SendSlackNotification".format(
Expand Down
3 changes: 2 additions & 1 deletion src/bootstrap_repository/adf-build/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ pytest==3.0.7
mock==2.0.0
pyyaml>=5.1
astroid==2.1.0
jinja2>=2.10.1
jinja2>=2.10.1
aws-sam-cli==0.16.1
Loading

0 comments on commit cdf08b1

Please sign in to comment.