Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Commit 6c2c2eb

Browse files
authored
v0.6.0.3
1 parent 49d948e commit 6c2c2eb

File tree

90 files changed

+1215
-293
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+1215
-293
lines changed

Demos/TwitterNotifier/Module.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Items:
7070

7171
# Resources
7272
- Nested: TwitterNotify
73-
Module: LambdaSharp.Twitter.Query:0.6.0.2
73+
Module: LambdaSharp.Twitter.Query:0.6.0.3
7474
Parameters:
7575
TwitterApiKey: !Ref TwitterApiKey
7676
TwitterApiSecretKey: !Ref TwitterApiSecretKey

Scripts/runtests.sh

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ if [ -z "$LAMBDASHARP" ]; then
44
exit 1
55
fi
66

7+
# never use suffix for tests
8+
unset LAMBDASHARP_VERSION_SUFFIX
9+
710
if [ -z "$1" ]; then
811

912
# run everything
@@ -13,8 +16,8 @@ if [ -z "$1" ]; then
1316
--aws-region us-east-1 \
1417
--aws-account-id 123456789012 \
1518
--aws-user-arn arn:aws:iam::123456789012:user/test-user \
16-
--tier-version 0.5 \
17-
--cli-version 0.5 \
19+
--tier-version $LAMBDASHARP_VERSION_PREFIX \
20+
--cli-version $LAMBDASHARP_VERSION_PREFIX \
1821
--deployment-bucket-name lambdasharp-bucket-name \
1922
--deployment-notifications-topic arn:aws:sns:us-east-1:123456789012:LambdaSharp-DeploymentNotificationTopic \
2023
--module-bucket-names registered-bucket-name,lambdasharp-bucket-name
@@ -34,8 +37,8 @@ if [ -z "$1" ]; then
3437
--aws-user-arn arn:aws:iam::123456789012:user/test-user \
3538
--git-sha 0123456789ABCDEF0123456789ABCDEF01234567 \
3639
--git-branch test-branch \
37-
--tier-version 0.5 \
38-
--cli-version 0.5 \
40+
--tier-version $LAMBDASHARP_VERSION_PREFIX \
41+
--cli-version $LAMBDASHARP_VERSION_PREFIX \
3942
--deployment-bucket-name lambdasharp-bucket-name \
4043
--deployment-notifications-topic arn:aws:sns:us-east-1:123456789012:LambdaSharp-DeploymentNotificationTopic \
4144
--module-bucket-names registered-bucket-name,lambdasharp-bucket-name \
@@ -132,8 +135,8 @@ else
132135
--aws-region us-east-1 \
133136
--git-sha 0123456789ABCDEF0123456789ABCDEF01234567 \
134137
--git-branch test-branch \
135-
--tier-version 0.5 \
136-
--cli-version 0.5 \
138+
--tier-version $LAMBDASHARP_VERSION_PREFIX \
139+
--cli-version $LAMBDASHARP_VERSION_PREFIX \
137140
--deployment-bucket-name lambdasharp-bucket-name \
138141
--deployment-notifications-topic arn:aws:sns:us-east-1:123456789012:LambdaSharp-DeploymentNotificationTopic \
139142
--no-dependency-validation \

Scripts/set-lash-version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
export LAMBDASHARP_VERSION_PREFIX=0.6.0.2
3+
export LAMBDASHARP_VERSION_PREFIX=0.6.0.3
44
export LAMBDASHARP_VERSION_SUFFIX=
55

66
# create full version text

Scripts/validate-local.sh

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -74,26 +74,6 @@ if [ $? -ne 0 ]; then
7474
exit $?
7575
fi
7676

77-
echo "*********************"
78-
echo "*** Build Samples ***"
79-
echo "*********************"
80-
81-
cd $LAMBDASHARP/Samples
82-
lash build `find . -name "Module.yml"`
83-
if [ $? -ne 0 ]; then
84-
exit $?
85-
fi
86-
87-
echo "********************"
88-
echo "*** Build Demos ***"
89-
echo "********************"
90-
91-
cd $LAMBDASHARP/Demos
92-
lash build `find . -name "Module.yml"`
93-
if [ $? -ne 0 ]; then
94-
exit $?
95-
fi
96-
9777
echo "************************"
9878
echo "*** Init LambdaSharp ***"
9979
echo "*************************"
@@ -114,12 +94,32 @@ if [ $? -ne 0 ]; then
11494
exit $?
11595
fi
11696

97+
echo "*********************"
98+
echo "*** Build Samples ***"
99+
echo "*********************"
100+
101+
cd $LAMBDASHARP/Samples
102+
lash build `find . -name "Module.yml"`
103+
if [ $? -ne 0 ]; then
104+
exit $?
105+
fi
106+
107+
echo "********************"
108+
echo "*** Build Demos ***"
109+
echo "********************"
110+
111+
cd $LAMBDASHARP/Demos
112+
lash build `find . -name "Module.yml"`
113+
if [ $? -ne 0 ]; then
114+
exit $?
115+
fi
117116

118117
# Deploy all λ# Sample Modules
119118
echo "**********************"
120119
echo "*** Deploy Samples ***"
121120
echo "**********************"
122121

122+
cd $LAMBDASHARP
123123
lash deploy \
124124
Samples/AlexaSample/bin/cloudformation.json \
125125
Samples/ApiSample/bin/cloudformation.json \

Tests/Modules/Results/AlexaSample.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"DeploymentChecksum": {
8080
"Type": "String",
8181
"Description": "Deployment Checksum",
82-
"Default": "9935A5D6C63458C70DFAD4C26C83B3C4"
82+
"Default": "245917C1AE262C29D01BC7DD9EE62D14"
8383
}
8484
},
8585
"Resources": {
@@ -659,7 +659,7 @@
659659
"Value": "LambdaSharp.Sample.Alexa:1.0-DEV"
660660
},
661661
"LambdaSharpTool": {
662-
"Value": "0.6.0.2"
662+
"Value": "0.6.0.3"
663663
}
664664
},
665665
"Conditions": {
@@ -999,7 +999,7 @@
999999
}
10001000
],
10011001
"RuntimeCheck": true,
1002-
"Hash": "9935A5D6C63458C70DFAD4C26C83B3C4",
1002+
"Hash": "245917C1AE262C29D01BC7DD9EE62D14",
10031003
"Git": {
10041004
"Branch": "test-branch",
10051005
"SHA": "0123456789ABCDEF0123456789ABCDEF01234567"

Tests/Modules/Results/ApiInvokeSample.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"DeploymentChecksum": {
7575
"Type": "String",
7676
"Description": "Deployment Checksum",
77-
"Default": "C4EAF147FA3477BABA0AA4FE32823434"
77+
"Default": "7E326007C347BE342B39F79FACECF04E"
7878
}
7979
},
8080
"Resources": {
@@ -871,7 +871,7 @@
871871
"Value": "LambdaSharp.Sample.ApiGatewayInvoke:1.0-DEV"
872872
},
873873
"LambdaSharpTool": {
874-
"Value": "0.6.0.2"
874+
"Value": "0.6.0.3"
875875
},
876876
"ApiUrl": {
877877
"Value": {
@@ -1193,7 +1193,7 @@
11931193
}
11941194
],
11951195
"RuntimeCheck": true,
1196-
"Hash": "C4EAF147FA3477BABA0AA4FE32823434",
1196+
"Hash": "7E326007C347BE342B39F79FACECF04E",
11971197
"Git": {
11981198
"Branch": "test-branch",
11991199
"SHA": "0123456789ABCDEF0123456789ABCDEF01234567"

Tests/Modules/Results/ApiSample.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"DeploymentChecksum": {
7575
"Type": "String",
7676
"Description": "Deployment Checksum",
77-
"Default": "3457CC474CE8ED4AF9D795812FAE6F99"
77+
"Default": "1654C666420225290F899D68A8D95F65"
7878
}
7979
},
8080
"Resources": {
@@ -871,7 +871,7 @@
871871
"Value": "LambdaSharp.Sample.ApiGateway:1.0-DEV"
872872
},
873873
"LambdaSharpTool": {
874-
"Value": "0.6.0.2"
874+
"Value": "0.6.0.3"
875875
}
876876
},
877877
"Conditions": {
@@ -1182,7 +1182,7 @@
11821182
}
11831183
],
11841184
"RuntimeCheck": true,
1185-
"Hash": "3457CC474CE8ED4AF9D795812FAE6F99",
1185+
"Hash": "1654C666420225290F899D68A8D95F65",
11861186
"Git": {
11871187
"Branch": "test-branch",
11881188
"SHA": "0123456789ABCDEF0123456789ABCDEF01234567"

Tests/Modules/Results/BadModule.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"DeploymentChecksum": {
7575
"Type": "String",
7676
"Description": "Deployment Checksum",
77-
"Default": "C262980B03EA8BCD051C7DDF34C03F1A"
77+
"Default": "9A9319345DEC1C3B62E6D44C6CD11B89"
7878
}
7979
},
8080
"Resources": {
@@ -3465,7 +3465,7 @@
34653465
"Value": "LambdaSharp.BadModule:1.0-DEV"
34663466
},
34673467
"LambdaSharpTool": {
3468-
"Value": "0.6.0.2"
3468+
"Value": "0.6.0.3"
34693469
}
34703470
},
34713471
"Conditions": {
@@ -3776,7 +3776,7 @@
37763776
}
37773777
],
37783778
"RuntimeCheck": true,
3779-
"Hash": "C262980B03EA8BCD051C7DDF34C03F1A",
3779+
"Hash": "9A9319345DEC1C3B62E6D44C6CD11B89",
37803780
"Git": {
37813781
"Branch": "test-branch",
37823782
"SHA": "0123456789ABCDEF0123456789ABCDEF01234567"

Tests/Modules/Results/Condition-Condition.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"DeploymentChecksum": {
4040
"Type": "String",
4141
"Description": "Deployment Checksum",
42-
"Default": "05ECA01E8B1D34CA06B3E2480C247C44"
42+
"Default": "91C53AD68B4FCC27D46714DD9B5E31B0"
4343
}
4444
},
4545
"Resources": {
@@ -70,7 +70,7 @@
7070
"Value": "Test.TestModule:1.0-DEV"
7171
},
7272
"LambdaSharpTool": {
73-
"Value": "0.6.0.2"
73+
"Value": "0.6.0.3"
7474
}
7575
},
7676
"Conditions": {
@@ -198,7 +198,7 @@
198198
}
199199
],
200200
"RuntimeCheck": true,
201-
"Hash": "05ECA01E8B1D34CA06B3E2480C247C44",
201+
"Hash": "91C53AD68B4FCC27D46714DD9B5E31B0",
202202
"Git": {
203203
"Branch": "test-branch",
204204
"SHA": "0123456789ABCDEF0123456789ABCDEF01234567"

Tests/Modules/Results/Condition-Function.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"DeploymentChecksum": {
7878
"Type": "String",
7979
"Description": "Deployment Checksum",
80-
"Default": "E0F0C4060A704038E5E97EB204438EF6"
80+
"Default": "AD31644B53513530247A3CBA39649675"
8181
}
8282
},
8383
"Resources": {
@@ -634,7 +634,7 @@
634634
"Value": "Test.TestModule:1.0-DEV"
635635
},
636636
"LambdaSharpTool": {
637-
"Value": "0.6.0.2"
637+
"Value": "0.6.0.3"
638638
}
639639
},
640640
"Conditions": {
@@ -990,7 +990,7 @@
990990
}
991991
],
992992
"RuntimeCheck": true,
993-
"Hash": "E0F0C4060A704038E5E97EB204438EF6",
993+
"Hash": "AD31644B53513530247A3CBA39649675",
994994
"Git": {
995995
"Branch": "test-branch",
996996
"SHA": "0123456789ABCDEF0123456789ABCDEF01234567"

0 commit comments

Comments
 (0)