|
7 | 7 | if: type IN (api, cron) |
8 | 8 | - name: platform-cleanup |
9 | 9 | if: type IN (cron) |
| 10 | +- name: license-update |
| 11 | + if: branch = master AND type = push |
10 | 12 | - name: gem-release |
11 | 13 | if: branch = master AND type = push |
12 | 14 | - name: gem-smoke-test |
@@ -73,23 +75,52 @@ jobs: |
73 | 75 |
|
74 | 76 | - name: lcm integration (vcr) tests - e2e |
75 | 77 | stage: before-merge |
76 | | - script: bundle exec rspec spec/lcm/integration/lcm_end_to_end_spec.rb |
| 78 | + script: bundle exec rspec spec/lcm/integration/spec/e2e/lcm_end_to_end_spec.rb |
77 | 79 | env: |
78 | 80 | - VCR_RECORD_MODE=none |
79 | 81 | rvm: 2.3 |
80 | 82 |
|
81 | 83 | # AFTER MERGE |
82 | 84 | # staging 1 |
83 | | - - &lcm-integration-tests |
84 | | - name: staging1 - lcm integration tests |
| 85 | + - &lcm-integration-e2e-tests |
| 86 | + name: staging1 - lcm integration-e2e tests |
85 | 87 | stage: after-merge |
86 | 88 | script: | |
87 | 89 | bundle exec rake -f lcm.rake docker:build |
88 | 90 | bundle exec rake -f lcm.rake docker:bundle |
89 | | - bundle exec rake -f lcm.rake test:docker:integration |
| 91 | + bundle exec rake -f lcm.rake test:docker:integration-e2e |
90 | 92 | env: |
91 | 93 | - VCR_ON=false |
92 | 94 | - GD_ENV=staging |
| 95 | + - GD_MAX_RETRY=2 |
| 96 | + rvm: jruby-9.1.14 |
| 97 | + jdk: openjdk8 |
| 98 | + |
| 99 | + - &lcm-integration-release-tests |
| 100 | + name: staging1 - lcm integration-release tests |
| 101 | + stage: after-merge |
| 102 | + script: | |
| 103 | + bundle exec rake -f lcm.rake docker:build |
| 104 | + bundle exec rake -f lcm.rake docker:bundle |
| 105 | + bundle exec rake -f lcm.rake test:docker:integration-release |
| 106 | + env: |
| 107 | + - VCR_ON=false |
| 108 | + - GD_ENV=staging |
| 109 | + - GD_MAX_RETRY=2 |
| 110 | + rvm: jruby-9.1.14 |
| 111 | + jdk: openjdk8 |
| 112 | + |
| 113 | + - &lcm-integration-others-tests |
| 114 | + name: staging1 - lcm integration-others tests |
| 115 | + stage: after-merge |
| 116 | + script: | |
| 117 | + bundle exec rake -f lcm.rake docker:build |
| 118 | + bundle exec rake -f lcm.rake docker:bundle |
| 119 | + bundle exec rake -f lcm.rake test:docker:integration-others |
| 120 | + env: |
| 121 | + - VCR_ON=false |
| 122 | + - GD_ENV=staging |
| 123 | + - GD_MAX_RETRY=2 |
93 | 124 | rvm: jruby-9.1.14 |
94 | 125 | jdk: openjdk8 |
95 | 126 |
|
@@ -155,11 +186,26 @@ jobs: |
155 | 186 | jdk: openjdk8 |
156 | 187 |
|
157 | 188 | # staging 2 |
158 | | - - <<: *lcm-integration-tests |
159 | | - name: staging2 - lcm integration tests |
| 189 | + - <<: *lcm-integration-e2e-tests |
| 190 | + name: staging2 - lcm integration-e2e tests |
| 191 | + env: |
| 192 | + - GD_ENV=testing |
| 193 | + - VCR_ON=false |
| 194 | + - GD_MAX_RETRY=2 |
| 195 | + |
| 196 | + - <<: *lcm-integration-release-tests |
| 197 | + name: staging2 - lcm integration-release tests |
160 | 198 | env: |
161 | 199 | - GD_ENV=testing |
162 | 200 | - VCR_ON=false |
| 201 | + - GD_MAX_RETRY=2 |
| 202 | + |
| 203 | + - <<: *lcm-integration-others-tests |
| 204 | + name: staging2 - lcm integration-others tests |
| 205 | + env: |
| 206 | + - GD_ENV=testing |
| 207 | + - VCR_ON=false |
| 208 | + - GD_MAX_RETRY=2 |
163 | 209 |
|
164 | 210 | - <<: *lcm-slow-tests |
165 | 211 | name: staging2 - lcm slow tests |
@@ -192,11 +238,26 @@ jobs: |
192 | 238 | - VCR_ON=false |
193 | 239 |
|
194 | 240 | # staging 3 |
195 | | - - <<: *lcm-integration-tests |
196 | | - name: staging3 - lcm integration tests |
| 241 | + - <<: *lcm-integration-e2e-tests |
| 242 | + name: staging3 - lcm integration-e2e tests |
| 243 | + env: |
| 244 | + - GD_ENV=development |
| 245 | + - VCR_ON=false |
| 246 | + - GD_MAX_RETRY=2 |
| 247 | + |
| 248 | + - <<: *lcm-integration-release-tests |
| 249 | + name: staging3 - lcm integration-release tests |
| 250 | + env: |
| 251 | + - GD_ENV=development |
| 252 | + - VCR_ON=false |
| 253 | + - GD_MAX_RETRY=2 |
| 254 | + |
| 255 | + - <<: *lcm-integration-others-tests |
| 256 | + name: staging3 - lcm integration-others tests |
197 | 257 | env: |
198 | 258 | - GD_ENV=development |
199 | 259 | - VCR_ON=false |
| 260 | + - GD_MAX_RETRY=2 |
200 | 261 |
|
201 | 262 | - <<: *lcm-slow-tests |
202 | 263 | name: staging3 - lcm slow tests |
@@ -234,15 +295,21 @@ jobs: |
234 | 295 | stage: after-merge |
235 | 296 | name: staging1 - test environment clean-up |
236 | 297 | script: travis_wait 30 bundle exec ruby bin/test_projects_cleanup.rb -f |
237 | | - env: GD_ENV=staging |
| 298 | + env: |
| 299 | + - GD_ENV=staging |
| 300 | + - GD_MAX_RETRY=2 |
238 | 301 |
|
239 | 302 | - <<: *cleanup |
240 | | - name: travis_wait 30 staging2 - test environment clean-up |
241 | | - env: GD_ENV=testing |
| 303 | + name: staging2 - test environment clean-up |
| 304 | + env: |
| 305 | + - GD_ENV=testing |
| 306 | + - GD_MAX_RETRY=2 |
242 | 307 |
|
243 | 308 | - <<: *cleanup |
244 | | - name: travis_wait 30 staging3 - test environment clean-up |
245 | | - env: GD_ENV=development |
| 309 | + name: staging3 - test environment clean-up |
| 310 | + env: |
| 311 | + - GD_ENV=development |
| 312 | + - GD_MAX_RETRY=2 |
246 | 313 |
|
247 | 314 | # AFTER MERGE UNIT TESTS ON ALTERNATIVE PLATFORM |
248 | 315 |
|
@@ -279,8 +346,18 @@ jobs: |
279 | 346 | script: bundle exec rake test:unit |
280 | 347 | os: osx |
281 | 348 | rvm: jruby-9.1.14 |
282 | | - osx_image: xcode7.3 |
| 349 | + osx_image: xcode9.4 |
283 | 350 |
|
| 351 | + - stage: license-update |
| 352 | + name: Update license file |
| 353 | + rvm: 2.3 |
| 354 | + script: | |
| 355 | + bundle exec rake license:update |
| 356 | + - stage: license-update |
| 357 | + name: Update license file |
| 358 | + rvm: jruby-9.1.14 |
| 359 | + script: | |
| 360 | + bundle exec rake license:update |
284 | 361 | - stage: gem-release |
285 | 362 | name: deploy MRI gem |
286 | 363 | rvm: 2.3 |
|
0 commit comments