Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(s3-deployment): restore lambda tests #12220

Merged
merged 3 commits into from
Dec 24, 2020
Merged

Conversation

eladb
Copy link
Contributor

@eladb eladb commented Dec 24, 2020

The change in #12129 accidentally deleted the unit tests for the s3-deployment lambda function. This change restores them.

Since tests are written in python, run them inside a docker image derived from public.ecr.aws/lambda/python.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

The change in #12129 accidentally deleted the unit tests for the s3-deployment lambda function. This change restores them.

In order to allow tests to stub the `aws` CLI, I've added an environment variable TEST_AWSCLI_PATH. If it is defined, it will be determine the path to the CLI. Otherwise, `/opt/awscli/aws` will be used.
@gitpod-io
Copy link

gitpod-io bot commented Dec 24, 2020

@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Dec 24, 2020
@eladb eladb requested a review from iliapolo December 24, 2020 11:29
@eladb eladb requested a review from iliapolo December 24, 2020 11:50
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: faeaa2f
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Dec 24, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit a4934be into master Dec 24, 2020
@mergify mergify bot deleted the benisrae/s3-deployment-tests branch December 24, 2020 12:40
flochaz pushed a commit to flochaz/aws-cdk that referenced this pull request Jan 5, 2021
The change in aws#12129 accidentally deleted the unit tests for the s3-deployment lambda function. This change restores them.

Since tests are written in python, run them inside a docker image derived from public.ecr.aws/lambda/python.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-s3-deployment contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants