fastlane-plugin-aws_device_farm 0.1.2.pre.alpha.pre.4 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/README.md +17 -32
- data/lib/fastlane/plugin/aws_device_farm/actions/aws_device_farm_action.rb +2 -0
- metadata +19 -19
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
ZGNmNTBhYjgxMTE0YjJlNzU3ZjY5YmUwYWU4NzczNmZhNGI0NjAyYw==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6b5c6ef71fff635990359dab99440428d3fca7fb
|
4
|
+
data.tar.gz: 360892c6ec193211e24dd56465c3cdd5e46c7fc8
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
YmFkM2YxOWM4NTZlYzZlNDJjMTQwYmY1NDE2Mzc5NGI5MDg5MzQzYzgzYzIx
|
11
|
-
MDQ4MDRkNzUxZTVlYWQyYTg0NmQxOWQyZmJmNTU1MDY3YTY1MTQ=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
OTM2NjQ2ZTI0YTQyN2E1NWI5MGRlNmRhOWZkZjE5NWQ1Yzc5MTBmN2VmZjgw
|
14
|
-
NjExZjRjYTM0MDIwZDlmMWM0NGI3ZTM3MTg1ZDgxYjhjMmM1MWQ1ODI5YjNi
|
15
|
-
NzE0MDU5N2E0YmNhMzdlN2M0NDUyYTVjOWRmOWIzM2FkZjI0YjM=
|
6
|
+
metadata.gz: 2e2d8e9a26e2d8089d8100aceaa1e8e55dba695de3795955a6bfa64fbd3e3cffa531dd984bf4d02bf9c639b5fb77facf3894ab3227b4b5077009f7b2ee4e5da2
|
7
|
+
data.tar.gz: c6a4629431bf753f7fb5b8ac8db50a995add2cc9c16d1cd157b197acb2ade7d1d545f5da882248d1cdb566169117dcbda6bf4fdaefd75225ad7a0264f4792e62
|
data/README.md
CHANGED
@@ -6,10 +6,7 @@
|
|
6
6
|
## About
|
7
7
|
> This Plugin Allows XCUITests and android Instrumentation tests run on AWS device Farm
|
8
8
|
|
9
|
-
|
10
|
-
| iOS | Android | Fail |
|
11
|
-
|----------|-------------|-------------|
|
12
|
-
| ![Screenshot](assets/screen_done.png) | ![Screenshot](assets/screen_don_android.png)| ![Screenshot](assets/fail.png) |
|
9
|
+
![Screenshot](assets/screen_done.png)
|
13
10
|
|
14
11
|
|
15
12
|
|
@@ -25,13 +22,13 @@ Open your AWS dashboard and under `AWS-Device Farm` - configure your Device Pool
|
|
25
22
|
Select the devices you want to run the tests on.
|
26
23
|
|
27
24
|
|
28
|
-
### Create a project
|
25
|
+
### Create a project
|
29
26
|
in this example we called this `fastlane`
|
30
27
|
|
31
|
-
## Example
|
28
|
+
## Example IOS
|
32
29
|
|
33
30
|
```ruby
|
34
|
-
lane :
|
31
|
+
lane :aws_device_run do
|
35
32
|
ENV['AWS_ACCESS_KEY_ID'] = 'xxxxx'
|
36
33
|
ENV['AWS_SECRET_ACCESS_KEY'] = 'xxxxx'
|
37
34
|
ENV['AWS_REGION'] = 'us-west-2'
|
@@ -40,33 +37,32 @@ lane :aws_device_run_ios do
|
|
40
37
|
name: 'fastlane',
|
41
38
|
binary_path: 'aws/packages/app.ipa',
|
42
39
|
test_binary_path: 'aws/packages/runner.ipa',
|
43
|
-
device_pool: '
|
40
|
+
device_pool: 'IOS',
|
44
41
|
wait_for_completion: true
|
45
42
|
)
|
46
43
|
end
|
47
44
|
```
|
48
|
-
|
49
|
-
|
50
45
|
## Example Android
|
51
46
|
|
52
47
|
```ruby
|
53
|
-
lane :
|
48
|
+
lane :aws_device_run do
|
54
49
|
ENV['AWS_ACCESS_KEY_ID'] = 'xxxxx'
|
55
50
|
ENV['AWS_SECRET_ACCESS_KEY'] = 'xxxxx'
|
56
51
|
ENV['AWS_REGION'] = 'us-west-2'
|
57
52
|
|
58
53
|
aws_device_farm(
|
59
54
|
name: 'fastlane',
|
60
|
-
binary_path: 'app
|
61
|
-
test_binary_path: '
|
62
|
-
device_pool: '
|
55
|
+
binary_path: 'app.apk',
|
56
|
+
test_binary_path: 'tests.apk',
|
57
|
+
device_pool: 'ANDROID',
|
63
58
|
wait_for_completion: true
|
64
59
|
)
|
65
60
|
end
|
66
61
|
```
|
67
62
|
|
68
63
|
|
69
|
-
|
64
|
+
|
65
|
+
## To get the IPA's (app and uitest runner)
|
70
66
|
You could use something like this.
|
71
67
|
after this you have `aws/packages/app.ipa` and `aws/packages/runner.ipa`
|
72
68
|
|
@@ -78,7 +74,7 @@ xcodebuild(
|
|
78
74
|
destination: 'generic/platform=iOS',
|
79
75
|
configuration: 'Development',
|
80
76
|
derivedDataPath: 'aws',
|
81
|
-
xcargs: "GCC_PREPROCESSOR_DEFINITIONS='AWS_UI_TEST' ENABLE_BITCODE=NO
|
77
|
+
xcargs: "GCC_PREPROCESSOR_DEFINITIONS='AWS_UI_TEST' ENABLE_BITCODE=NO build-for-testing"
|
82
78
|
)
|
83
79
|
FileUtils.rm_rf '../aws/packages'
|
84
80
|
Dir['../aws/Build/Intermediates/CodeCoverage/Products/Development-iphoneos/*.app'].each do |app|
|
@@ -95,28 +91,17 @@ end
|
|
95
91
|
```
|
96
92
|
|
97
93
|
|
98
|
-
##
|
99
|
-
you could use something like this.
|
100
|
-
after this you have the app-apk in `app/build/outputs/apk/app-debug.apk` and the testrunner in `app/build/outputs/apk/app-debug-androidTest-unaligned.apk`
|
94
|
+
## Issues and Feedback
|
101
95
|
|
102
|
-
|
103
|
-
gradle(task: 'assembleDebug')
|
104
|
-
gradle(task: 'assembleAndroidTest')
|
105
|
-
```
|
106
|
-
|
107
|
-
## Credit
|
108
|
-
it is based on a custom action by @icapps (https://github.com/icapps/fastlane-configuration)
|
109
|
-
added the following:
|
110
|
-
* iOS Support for XCUITests
|
111
|
-
* support current `fastlane` version
|
112
|
-
* improve output
|
113
|
-
* make it available as a `fastlane` plugin
|
114
|
-
|
96
|
+
For any other issues and feedback about this plugin, please submit it to this repository.
|
115
97
|
|
116
98
|
## Troubleshooting
|
117
99
|
|
118
100
|
If you have trouble using plugins, check out the [Plugins Troubleshooting](https://github.com/fastlane/fastlane/blob/master/fastlane/docs/PluginsTroubleshooting.md) doc in the main `fastlane` repo.
|
119
101
|
|
102
|
+
## Using `fastlane` Plugins
|
103
|
+
|
104
|
+
For more information about how the `fastlane` plugin system works, check out the [Plugins documentation](https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Plugins.md).
|
120
105
|
|
121
106
|
## About `fastlane`
|
122
107
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-aws_device_farm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.2
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Helmut Januschka
|
@@ -14,98 +14,98 @@ dependencies:
|
|
14
14
|
name: aws-sdk
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pry
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rubocop
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: fastlane
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: 1.105.0
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 1.105.0
|
111
111
|
description:
|
@@ -130,17 +130,17 @@ require_paths:
|
|
130
130
|
- lib
|
131
131
|
required_ruby_version: !ruby/object:Gem::Requirement
|
132
132
|
requirements:
|
133
|
-
- -
|
133
|
+
- - ">="
|
134
134
|
- !ruby/object:Gem::Version
|
135
135
|
version: '0'
|
136
136
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
137
|
requirements:
|
138
|
-
- -
|
138
|
+
- - ">="
|
139
139
|
- !ruby/object:Gem::Version
|
140
|
-
version:
|
140
|
+
version: '0'
|
141
141
|
requirements: []
|
142
142
|
rubyforge_project:
|
143
|
-
rubygems_version: 2.4.
|
143
|
+
rubygems_version: 2.4.8
|
144
144
|
signing_key:
|
145
145
|
specification_version: 4
|
146
146
|
summary: Run UI Tests on AWS Devicefarm
|