improve doc about the two build versions required for the smoketest

This commit is contained in:
Andre Weinand 2019-04-11 13:15:25 +02:00 committed by GitHub
parent 0f8d80a7a9
commit 3d83fcf5be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ cd ../..
yarn smoketest
# Build
yarn smoketest --build PATH_TO_BUILD --stable-build PATH_TO_STABLE_BUILD
yarn smoketest --build PATH_TO_NEW_BUILD_PARENT_FOLDER --stable-build PATH_TO_LAST_STABLE_BUILD_PARENT_FOLDER
```
### Run for a release
@ -24,7 +24,14 @@ You must always run the smoketest version which matches the release you are test
```bash
git checkout release/1.22
yarn
yarn smoketest --build PATH_TO_RELEASE_BUILD --stable-build PATH_TO_STABLE_BUILD
```
In addition to the new build to be released you will need the previous stable build so that the smoketest can test the data migration.
The recommended way to make these builds available for the smoketest is by downloading their archive version (\*.zip) and extracting
them into two folders. Pass the folder paths to the smoketest as follows:
```bash
yarn smoketest --build PATH_TO_NEW_RELEASE_PARENT_FOLDER --stable-build PATH_TO_LAST_STABLE_RELEASE_PARENT_FOLDER
```
### Debug