8000 Add '-x' / '--excludeGlobs' args for general file exclusion on deploy. (2) by DeviaVir · Pull Request #80 · motdotla/node-lambda · GitHub
[go: up one dir, main page]

Skip to content

Add '-x' / '--excludeGlobs' args for general file exclusion on deploy. (2)#80

Merged
DeviaVir merged 11 commits intomotdotla:masterfrom
DeviaVir:rafalyesware-rkb-add-exclude-support
Apr 18, 2016
Merged

Add '-x' / '--excludeGlobs' args for general file exclusion on deploy. (2)#80
DeviaVir merged 11 commits intomotdotla:masterfrom
DeviaVir:rafalyesware-rkb-add-exclude-support

Conversation

@DeviaVir
Copy link
Collaborator

The changes of #48 are included in this PR, but this PR is mergeable with current master.

Huge props to @rafalyesware for creating this.

rafalyesware and others added 11 commits January 12, 2016 19:31
This lets me e.g. exclude not only `.env` but by `.env.prod` / `.env.dev`
and any other junky / sample files that happen to live in the method's
directory.  Or for that matter to move all those files into a sub-
directory and exclude that.  Less policy, more flexibility.
This excludes some of the files created by `node-lambda setup`,
which while handy for development, aren't at all needed as part
of the data uploaded to AWS Lambda.
@DeviaVir DeviaVir merged commit 210687b into motdotla:master Apr 18, 2016
DeviaVir added a commit that referenced this pull request Apr 18, 2016
* Added package command to create a local zip.

Exclude *.env files from being uploaded to amazon.
Exclude .git* to exclude .gitignore.
Exclude test from zip.
Exclude packageDirectory from zip if specified.

* added test for refactored _archive method.

* Add -e to not escape \n when echo'ing

* VpcConfig support:
- http://docs.aws.amazon.com/lambda/latest/dg/API_VpcConfig.html
- http://docs.aws.amazon.com/lambda/latest/dg/vpc.html
This allows users to place their Lambda functions in specific subnets with specific security groups.

* Use AWS API 2015-03-31:
- Check if the function exists, if it does update else create new
- This API provides compatibility with VpcConfig

* Only ignore deploy.env by default

* Updated readme: MODE is no longer a thing

* Throw on failures

* - Fix rsync namespaced error
- Add editorconfig
- Ignore editorconfig

* Update to pass callback for nodejs4.3 runtime (#74)

* Update to pass callback for nodejs4.3 runtime
* Default to recommended runtime
* Add note about runtimes
* Added note on how to target v0.10.36

* Runhandler: Hotfixes

* Runhandler: Hotfixes (#75)

* Post install script second atttempt

* Post install script

* Add '-x' / '--excludeGlobs' args for general file exclusion on deploy. (2) (#80)

This lets me e.g. exclude not only `.env` but by `.env.prod` / `.env.dev`
and any other junky / sample files that happen to live in the method's
directory.  Or for that matter to move all those files into a sub-
directory and exclude that.  Less policy, more flexibility.

* Excludes: Ignore *.swp (#81)

* Ignore .swp files by default. Remove redundant deploy.env ignore from the examples.

* Add option to create a sample file with a custom filename and fix the run command when running with a custom event file (#51)

* Feature/context file (#82)

* Add context.json example
* Add contextFile -x --contextFile parameter
* fix contextFile example filename
* update setup log message
* Runhandler: Hotfixes
* Reformat to match existing whitespace
*  more reformating to match existing whitespace
* revert version back to 0.7.1
* Fix indenting

* Update changelog
@DeviaVir DeviaVir deleted the rafalyesware-rkb-add-exclude-support branch April 20, 2016 09:01
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.

2 participants

0