|
137 | 137 |
|
138 | 138 | ``pip install -r requirements-dev.txt`` |
139 | 139 |
|
140 | | -* [OPTIONAL] Set AWS_DEFAULT_REGION to define the region the Data Lake Test envrioment will deploy into. You may want to choose a region which you don't currently use: |
| 140 | +* Go to the ``test_infra`` directory |
| 141 | + |
| 142 | +``cd test_infra`` |
| 143 | + |
| 144 | +* Install CDK dependencies: |
| 145 | + |
| 146 | +``pip install -r requirements.txt`` |
| 147 | + |
| 148 | +* [OPTIONAL] Set AWS_DEFAULT_REGION to define the region the Data Lake Test environment will deploy into. You may want to choose a region which you don't currently use: |
141 | 149 |
|
142 | 150 | ``export AWS_DEFAULT_REGION=ap-northeast-1`` |
143 | 151 |
|
144 | | -* Go to the ``cloudformation`` directory |
| 152 | +* Go to the ``scripts`` directory |
145 | 153 |
|
146 | | -``cd cloudformation`` |
| 154 | +``cd scripts`` |
147 | 155 |
|
148 | 156 | * Deploy the Cloudformation template `base.yaml` |
149 | 157 |
|
150 | 158 | ``./deploy-base.sh`` |
151 | 159 |
|
152 | 160 | * Return to the project root directory |
153 | 161 |
|
154 | | -``cd ..`` |
| 162 | +``cd ../../`` |
155 | 163 |
|
156 | 164 | * Run the validation script: |
157 | 165 |
|
|
167 | 175 |
|
168 | 176 | * [OPTIONAL] To remove the base test environment cloud formation stack post testing: |
169 | 177 |
|
170 | | -``./cloudformation/delete-base.sh`` |
| 178 | +``./test_infra/scripts/delete-base.sh`` |
171 | 179 |
|
172 | 180 | ### Full test environment |
173 | 181 |
|
|
186 | 194 |
|
187 | 195 | ``pip install -r requirements-dev.txt`` |
188 | 196 |
|
| 197 | +* Go to the ``test_infra`` directory |
| 198 | + |
| 199 | +``cd test_infra`` |
| 200 | + |
| 201 | +* Install CDK dependencies: |
| 202 | + |
| 203 | +``pip install -r requirements.txt`` |
| 204 | + |
189 | 205 | * [OPTIONAL] Set AWS_DEFAULT_REGION to define the region the Full Test envrioment will deploy into. You may want to choose a region which you don't currently use: |
190 | 206 |
|
191 | 207 | ``export AWS_DEFAULT_REGION=ap-northeast-1`` |
192 | 208 |
|
193 | | -* Go to the ``cloudformation`` directory |
| 209 | +* Go to the ``scripts`` directory |
194 | 210 |
|
195 | | -``cd cloudformation`` |
| 211 | +``cd scripts`` |
196 | 212 |
|
197 | 213 | * Deploy the Cloudformation templates `base.yaml` and `databases.yaml`. This step could take about 15 minutes to deploy. |
198 | 214 |
|
|
212 | 228 |
|
213 | 229 | * Return to the project root directory |
214 | 230 |
|
215 | | -``cd ..`` |
| 231 | +``cd ../../`` |
216 | 232 |
|
217 | 233 | * [OPTIONAL] If you intend to run all test, you also need to make sure that you have Amazon QuickSight activated and your AWS user must be register on that. |
218 | 234 |
|
|
234 | 250 |
|
235 | 251 | * [OPTIONAL] To remove the base test environment cloud formation stack post testing: |
236 | 252 |
|
237 | | -``./cloudformation/delete-base.sh`` |
| 253 | +``./test_infra/scripts/delete-base.sh`` |
238 | 254 |
|
239 | | -``./cloudformation/delete-databases.sh`` |
| 255 | +``./test_infra/scripts/delete-databases.sh`` |
240 | 256 |
|
241 | 257 | ## Recommended Visual Studio Code Recommended setting |
242 | 258 |
|
|
0 commit comments