Skip to content

Conversation

@nhinsch
Copy link
Contributor

@nhinsch nhinsch commented Apr 1, 2021

What does this PR do?

Ports the recent changes to datadog-lambda-python enabling integration tests to run in GitHub.

Motivation

See DataDog/datadog-lambda-python#121 and related pull requests.

Testing Guidelines

The integration tests run and pass in GitHub.

Types of Changes

  • Bug fix
  • New feature
  • Breaking change
  • Misc (docs, refactoring, dependency upgrade, etc.)

Check all that apply

  • This PR's description is comprehensive
  • This PR contains breaking changes that are documented in the description
  • This PR introduces new APIs or parameters that are documented and unlikely to change in the foreseeable future
  • This PR impacts documentation, and it has been updated (or a ticket has been logged)
  • This PR's changes are covered by the automated tests
  • This PR collects user input/sensitive content into Datadog
  • This PR passes the integration tests (ask a Datadog member to run the tests)

@nhinsch nhinsch marked this pull request as ready for review April 1, 2021 23:11
@nhinsch nhinsch requested a review from a team as a code owner April 1, 2021 23:11
Copy link
Contributor

@DarcyRaynerDD DarcyRaynerDD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, left one comment

temp_dir=$(mktemp -d)
docker build -t datadog-lambda-layer-node:$1 . --no-cache \
--build-arg image=node:$1-alpine
--build-arg image=node:$1-alpine --network host
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this do?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question, I don't know and I'm not sure why this is here, I have no recollection of adding this. I'll remove it from the PR. fwiw it seems to be a feature that is only supported on Linux hosts, not on Docker for Mac anyway.

@codecov-io
Copy link

codecov-io commented Apr 2, 2021

Codecov Report

Merging #175 (d3d7bbc) into main (a80805c) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #175   +/-   ##
=======================================
  Coverage   86.53%   86.53%           
=======================================
  Files          31       31           
  Lines        1203     1203           
  Branches      236      236           
=======================================
  Hits         1041     1041           
  Misses        106      106           
  Partials       56       56           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a80805c...d3d7bbc. Read the comment docs.

@nhinsch nhinsch force-pushed the ngh/integration-ci branch from 08c373f to 318580e Compare April 2, 2021 15:57
@nhinsch nhinsch merged commit 123a5e1 into main Apr 8, 2021
@nhinsch nhinsch deleted the ngh/integration-ci branch April 8, 2021 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants