File tree 1 file changed +33
-0
lines changed
1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -54,3 +54,36 @@ The `Makefile` also provides a `build-and-publish` command which will perform th
54
54
AWS_ACCESS_KEY_ID=A...X \
55
55
AWS_SECRET_ACCESS_KEY=h...E \
56
56
make build-and-publish
57
+
58
+ ## Running smoketests
59
+
60
+ If you haven't yet, go to https://elastic-observability.signin.aws.amazon.com/console ,
61
+ login and and create an API key (drop down your login on the right top corner, select "Security credentials").
62
+
63
+ On the command line, export the environment variables
64
+ ```
65
+ export EC_API_KEY="..."
66
+ export AWS_PROFILE=observability
67
+ ```
68
+ The ` AWS_PROFILE ` value is the profile that you created with ` aws configure --profile observability ` .
69
+ In ` ~/.aws/config ` there should be an entry like this
70
+ ```
71
+ [profile observability]
72
+ region = eu-central-1
73
+ ```
74
+
75
+ Now run the smoke tests with
76
+ ```
77
+ make smoketest/run
78
+ ```
79
+
80
+ If you want to keep the AWS Lambda test environment for manual testing
81
+ ```
82
+ make smoketest/run SKIP_DESTROY=1
83
+ ```
84
+ Now you can find your environment under Lambda/Functions in the AWS console.
85
+
86
+ Destroy the environment with
87
+ ```
88
+ make smoketest/destroy
89
+ ```
You can’t perform that action at this time.
0 commit comments