-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #211 from openstf/v.1.1.0-release
v1.1.0 release
- Loading branch information
Showing
4 changed files
with
53 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## CHANGES IN VERSION 1.1 (from 1.0.10) | ||
|
||
Minor release addressing the following: | ||
|
||
### Enhancements | ||
- Android 6.0 support | ||
- Added translation support for Chinese, Korean, Russian and Spanish | ||
- Added File Explorer feature in device controller where you can access device file system | ||
- Added optional storage-s3 unit which can store storage data in Amazon S3 bucket instead of local | ||
- Now, "Notes" column of device list is editable. | ||
- Experimental armv7l support | ||
- Added [stf-setup-examples](https://github.com/openstf/setup-examples) using [Vagrant](https://www.vagrantup.com/) and [Virtual Box](https://www.virtualbox.org/) | ||
|
||
### Fixes | ||
- [DEPLOYMENT doc ](https://github.com/openstf/stf/blob/master/doc/DEPLOYMENT.md) fixes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -629,6 +629,38 @@ ExecStart=/usr/bin/docker run --rm \ | |
ExecStop=-/usr/bin/docker stop -t 10 %p | ||
``` | ||
|
||
### `[email protected]` | ||
|
||
If you want to store data such as screenshots and apk files into [Amazon S3](https://aws.amazon.com/s3/) instead of locally, then you can use this optional unit. Before using this you will need to setup your amazon account and get proper credentials for S3 bucket. You can read more about this at [AWS documentation](https://aws.amazon.com/s3/). | ||
|
||
** NOTE** If you are using this storage, you will not need [[email protected]](#stf-storage-tempservice) unit, since both do the same thing. Only the storage location is different. | ||
|
||
This is a template unit, meaning that you'll need to start it with an instance identifier. In this example configuration the identifier is used to specify the exposed port number (i.e. `[email protected]` runs on port 3500). Currently, **you cannot have more than one instance of this unit**, as both temporary files and an in-memory mapping is used. Using a template unit makes it easy to set the port. | ||
|
||
```ini | ||
[Unit] | ||
Description=STF s3 storage | ||
After=docker.service | ||
Requires=docker.service | ||
|
||
[Service] | ||
EnvironmentFile=/etc/environment | ||
TimeoutStartSec=0 | ||
Restart=always | ||
ExecStartPre=/usr/bin/docker pull openstf/stf:latest | ||
ExecStartPre=-/usr/bin/docker kill %p-%i | ||
ExecStartPre=-/usr/bin/docker rm %p-%i | ||
ExecStart=/usr/bin/docker run --rm \ | ||
--name %p-%i \ | ||
-p %i:3000 \ | ||
openstf/stf:latest \ | ||
stf storage-s3 --port 3000 \ | ||
--bucket YOUR_S3_BUCKET_NAME_HERE \ | ||
--profile YOUR_AWS_CREDENTIALS_PROFILE \ | ||
--endpoint YOUR_BUCKET_ENDPOING_HERE | ||
ExecStop=-/usr/bin/docker stop -t 10 %p-%i | ||
``` | ||
|
||
## Nginx configuration | ||
|
||
Now that you've got all the units ready, it's time to set up [nginx](http://nginx.org/) to tie all the processes together with a clean URL. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters