Skip to content

Commit 8ab1130

Browse files
committed
bump version for release
1 parent 1fae1bd commit 8ab1130

File tree

3 files changed

+35
-12
lines changed

3 files changed

+35
-12
lines changed

Diff for: CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
lambda-uploader CHANGELOG
22
=========================
33

4+
1.1.0
5+
-----
6+
- Runtime is now a configurable option
7+
- Exclusion regexes now quoted properly
8+
- Added support for Lambda environment variables
9+
- Boto3 version dependency updated to support Step functions
10+
411
1.0.3
512
-----
613
- Fixed issue in copy trees attempting to make a parent directory even

Diff for: README.rst

+27-11
Original file line numberDiff line numberDiff line change
@@ -27,29 +27,36 @@ Configuration File
2727
~~~~~~~~~~~~~~~~~~
2828

2929
The lambda uploader expects a directory with, at a minimum, your lambda
30-
function and a lambda.json file. It is not necessary to set requirements
31-
in your config file since the lambda uploader will also check for and
32-
use a requirements.txt file.
30+
function and a ``lambda.json`` file. It is not necessary to set
31+
requirements in your config file since the lambda uploader will also
32+
check for and use a requirements.txt file.
3333

34-
Please note that you can leave the "vpc" object out of your config if you want your
35-
lambda function to use your default VPC and subnets. If you wish to use your lambda
36-
function inside a specific VPC, make sure you set up the role correctly to allow this.
34+
Please note that you can leave the ``vpc`` object out of your config if
35+
you want your lambda function to use your default VPC and subnets. If
36+
you wish to use your lambda function inside a specific VPC, make sure
37+
you set up the role correctly to allow this.
3738

38-
Example lambda.json file:
39+
Note also the ``ignore`` entry is an array of regular expression strings
40+
used to match against the relative paths - be careful to quote
41+
accordingly. For example, a traditional ``*.txt`` "glob" is matched by
42+
the JSON string: ``".*\\.txt$"`` (or just ``"\\.txt$"``).
43+
44+
Example ``lambda.json`` file:
3945

4046
.. code:: json
4147
4248
{
4349
"name": "myFunction",
4450
"description": "It does things",
4551
"region": "us-east-1",
52+
"runtime": "python2.7",
4653
"handler": "function.lambda_handler",
4754
"role": "arn:aws:iam::00000000000:role/lambda_basic_execution",
4855
"requirements": ["pygithub"],
4956
"ignore": [
50-
"circle.yml",
51-
".git",
52-
"/*.pyc"
57+
"circle\\.yml$",
58+
"\\.git$",
59+
"/.*\\.pyc$"
5360
],
5461
"timeout": 30,
5562
"memory": 512,
@@ -93,7 +100,8 @@ To omit using a virtualenv use the ``--no-virtualenv`` parameter.
93100
94101
lambda-uploader --no-virtualenv
95102
96-
To inject any other additional files, use the ``--extra-file EXTRA_FILE`` parameter.
103+
To inject any other additional files, use the
104+
``--extra-file EXTRA_FILE`` parameter.
97105

98106
.. code:: shell
99107
@@ -121,3 +129,11 @@ alias-description is not provided.
121129
.. code:: shell
122130
123131
lambda-uploader --alias myAlias --alias-description 'My alias description' ./myfunc
132+
133+
If you would prefer to build the package manually and just upload it
134+
using uploader you can ignore the build. This will upload
135+
``lambda_function.zip`` file.
136+
137+
.. code:: shell
138+
139+
lambda-uploader --no-build

Diff for: lambda_uploader/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
__title__ = 'lambda_uploader'
16-
__version__ = '1.0.3'
16+
__version__ = '1.1.0'
1717
__license__ = 'Apache 2.0'
1818
__copyright__ = 'Copyright Rackspace US, Inc. 2015-2016'
1919
__url__ = 'https://github.com/rackerlabs/lambda-uploader'

0 commit comments

Comments
 (0)