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

feat: stage assets under .cdk.assets #2182

Merged
merged 9 commits into from
Apr 8, 2019
Merged

feat: stage assets under .cdk.assets #2182

merged 9 commits into from
Apr 8, 2019

Commits on Apr 4, 2019

  1. feat: stage assets under .cdk.assets

    To ensure that assets are available for the toolchain to deploy after the CDK app
    exists, the CLI will, by default, request that the app will stage the assets under
    the `.cdk.assets` directory (relative to working directory).
    
    The CDK will then *copy* all assets from their source locations to this staging
    directory and will refer to the staging location as the asset path. Assets will
    be stored using their content fingerprint (md5 hash) so they will never be copied
    twice unless they change.
    
    Docker build context directories will also be staged.
    
    Staging is disabled by default and in cdk-integ.
    
    Added .cdk.staging to all .gitignore files in cdk init templates.
    
    Fixes #1716
    Elad Ben-Israel committed Apr 4, 2019
    Configuration menu
    Copy the full SHA
    e7ba9e0 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2019

  1. Configuration menu
    Copy the full SHA
    5d8645d View commit details
    Browse the repository at this point in the history
  2. fix how temp dirs are created

    Elad Ben-Israel committed Apr 7, 2019
    Configuration menu
    Copy the full SHA
    6fdd761 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2019

  1. Merge branch 'master' into benisrae/stage-assets

    Elad Ben-Israel authored Apr 8, 2019
    Configuration menu
    Copy the full SHA
    843f267 View commit details
    Browse the repository at this point in the history
  2. fix accessibility of the prepare method

    Elad Ben-Israel committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    c070e13 View commit details
    Browse the repository at this point in the history
  3. trigger PR build

    Elad Ben-Israel authored Apr 8, 2019
    Configuration menu
    Copy the full SHA
    752e041 View commit details
    Browse the repository at this point in the history
  4. feat(lambda): introduce a new kind of Code, CfnParametersCode. (#…

    …2027)
    
    This Code type is helpful when there is no local file/directory to use Assets with,
    and the Lambda is supposed to be deployed in a CodePipeline.
    skinny85 authored and Elad Ben-Israel committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    447c6ae View commit details
    Browse the repository at this point in the history
  5. build: workaround for jsii exit code issue (#2200)

    Until aws/jsii#442 is released
    we must fail builds on compilation errors. This is a temporary
    workaround for this issue (if there is something in stdout
    we consider that a compilation error).
    Elad Ben-Israel committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    785d199 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e844f59 View commit details
    Browse the repository at this point in the history