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

fix(lambda-python): asset hash is non-deterministic #12984

Merged
merged 14 commits into from
Feb 24, 2021

Commits on Feb 11, 2021

  1. fix(lambda-python): asset hash is non-deterministic

    When a Python handler uses external dependencies, the hash calculated on the output is non-determinstic due to the fact that it includes timestamps. To resolve that, change the asset hash strategy to `SOURCE` which means that the bundle will only be re-created if one of the source files changes.
    
    Fixes #12770
    Fixes #12684
    Elad Ben-Israel committed Feb 11, 2021
    Configuration menu
    Copy the full SHA
    976a55d View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/master' into benisrae/python-fun…

    …ction-use-source-hash
    Elad Ben-Israel committed Feb 11, 2021
    Configuration menu
    Copy the full SHA
    a807db6 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2021

  1. Configuration menu
    Copy the full SHA
    fcb850d View commit details
    Browse the repository at this point in the history
  2. update expectations

    Elad Ben-Israel committed Feb 22, 2021
    Configuration menu
    Copy the full SHA
    cf5d8a6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    07c3b60 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e3a796f View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2021

  1. add test

    Elad Ben-Israel committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    0938a88 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/master' into benisrae/python-fun…

    …ction-use-source-hash
    Elad Ben-Israel committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    ccff82e View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/master' into benisrae/python-fun…

    …ction-use-source-hash
    Elad Ben-Israel committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    25a6cba View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2021

  1. fix image hash

    Image hash was not deterministic because it had the full path of the Dockerfile in it. Create a staging directory which contains the docker build context files instead.
    Elad Ben-Israel committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    c0257be View commit details
    Browse the repository at this point in the history
  2. cleanups

    Elad Ben-Israel committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    b3f38f4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a3b1dd6 View commit details
    Browse the repository at this point in the history
  4. fix bundling and add check that "file" is relative

    Elad Ben-Israel committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    bfb9c77 View commit details
    Browse the repository at this point in the history
  5. fix core test

    Elad Ben-Israel committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    c81557b View commit details
    Browse the repository at this point in the history