@@ -989,33 +989,6 @@ jobs:
989
989
command : tools/sentry-release web-obdach "${NEW_VERSION_NAME}" ~/attached_workspace/dist/obdach
990
990
name : ' Sentry Upload: obdach'
991
991
- notify
992
- upload_browserstack :
993
- docker :
994
- - image : cimg/ruby:3.2.5
995
- environment :
996
- FASTLANE_SKIP_UPDATE_CHECK : true
997
- parameters :
998
- file_name :
999
- description : the name of the file to upload
1000
- type : string
1001
- resource_class : small
1002
- shell : /bin/bash -eo pipefail
1003
- steps :
1004
- - checkout
1005
- - skip_job
1006
- - prepare_workspace
1007
- - restore_environment_variables
1008
- - restore_ruby_cache :
1009
- directory : native
1010
- - run :
1011
- command : |
1012
- file="attached_workspace/<< parameters.file_name >>"
1013
- file_with_commit_sha="${file%.*}_<< pipeline.git.revision >>.${file##*.}"
1014
- cp ~/$file ~/$file_with_commit_sha
1015
- bundle exec fastlane browserstack_upload path:$file_with_commit_sha
1016
- name : ' [FL] Browserstack Upload Live'
1017
- working_directory : native
1018
- - notify
1019
992
parameters :
1020
993
api_triggered :
1021
994
default : false
@@ -1024,25 +997,20 @@ parameters:
1024
997
workflow_type :
1025
998
default : none
1026
999
enum :
1000
+ - delivery
1001
+ - promotion
1027
1002
- native_beta_delivery
1028
1003
- native_production_delivery
1029
1004
- native_promotion
1030
1005
- web_beta_delivery
1031
1006
- web_production_delivery
1032
1007
- web_promotion
1033
- - delivery
1034
- - e2e_tests
1035
- - native_browserstack
1036
1008
- none
1037
1009
type : enum
1038
1010
version : 2.1
1039
1011
workflows :
1040
1012
commit :
1041
1013
jobs :
1042
- - bump_version :
1043
- context :
1044
- - mattermost
1045
- prepare_delivery : false
1046
1014
- check :
1047
1015
context :
1048
1016
- mattermost
@@ -1242,58 +1210,6 @@ workflows:
1242
1210
- equal :
1243
1211
- << pipeline.parameters.workflow_type >>
1244
1212
- delivery
1245
- e2e_tests :
1246
- jobs :
1247
- - bump_version :
1248
- context :
1249
- - mattermost
1250
- prepare_delivery : false
1251
- - build_web :
1252
- build_config_name : integreat-test-cms
1253
- context :
1254
- - mattermost
1255
- name : build_ig_test_cms_web
1256
- requires :
1257
- - bump_version
1258
- - e2e_web :
1259
- context :
1260
- - mattermost
1261
- - build_android :
1262
- build_config_name : integreat-e2e
1263
- context :
1264
- - credentials-repo
1265
- - credentials-integreat
1266
- - mattermost
1267
- name : build_e2e_android
1268
- requires :
1269
- - bump_version
1270
- - e2e_android :
1271
- context :
1272
- - browserstack
1273
- - mattermost
1274
- requires :
1275
- - build_e2e_android
1276
- - build_ios :
1277
- build_config_name : integreat-e2e
1278
- context :
1279
- - tuerantuer-apple
1280
- - fastlane-match
1281
- - mattermost
1282
- name : build_e2e_ios
1283
- requires :
1284
- - bump_version
1285
- - e2e_ios :
1286
- context :
1287
- - browserstack
1288
- - mattermost
1289
- requires :
1290
- - build_e2e_ios
1291
- when :
1292
- and :
1293
- - << pipeline.parameters.api_triggered >>
1294
- - equal :
1295
- - << pipeline.parameters.workflow_type >>
1296
- - e2e_tests
1297
1213
native_beta_delivery :
1298
1214
jobs :
1299
1215
- bump_version :
@@ -1408,52 +1324,6 @@ workflows:
1408
1324
- equal :
1409
1325
- << pipeline.parameters.workflow_type >>
1410
1326
- native_beta_delivery
1411
- native_browserstack :
1412
- jobs :
1413
- - bump_version :
1414
- context :
1415
- - mattermost
1416
- prepare_delivery : false
1417
- - build_android :
1418
- build_config_name : integreat-test-cms
1419
- context :
1420
- - mattermost
1421
- - credentials-repo
1422
- - credentials-integreat
1423
- name : build_ig_test_cms_android
1424
- requires :
1425
- - bump_version
1426
- - upload_browserstack :
1427
- context :
1428
- - mattermost
1429
- - browserstack
1430
- file_name : integreat-test-cms.apk
1431
- name : upload_ig_test_cms_android_browserstack
1432
- requires :
1433
- - build_ig_test_cms_android
1434
- - build_ios :
1435
- build_config_name : integreat-test-cms
1436
- context :
1437
- - mattermost
1438
- - tuerantuer-apple
1439
- - fastlane-match
1440
- name : build_ig_test_cms_ios
1441
- requires :
1442
- - bump_version
1443
- - upload_browserstack :
1444
- context :
1445
- - mattermost
1446
- - browserstack
1447
- file_name : integreat-test-cms.ipa
1448
- name : upload_ig_test_cms_ios_browserstack
1449
- requires :
1450
- - build_ig_test_cms_ios
1451
- when :
1452
- and :
1453
- - << pipeline.parameters.api_triggered >>
1454
- - equal :
1455
- - << pipeline.parameters.workflow_type >>
1456
- - native_browserstack
1457
1327
native_production_delivery :
1458
1328
jobs :
1459
1329
- bump_version :
@@ -1598,6 +1468,40 @@ workflows:
1598
1468
- equal :
1599
1469
- << pipeline.parameters.workflow_type >>
1600
1470
- native_promotion
1471
+ promotion :
1472
+ jobs :
1473
+ - promote_web :
1474
+ context :
1475
+ - mattermost
1476
+ - deliverino
1477
+ - promote_android :
1478
+ context :
1479
+ - mattermost
1480
+ - tuerantuer-google-play
1481
+ - deliverino
1482
+ matrix :
1483
+ parameters :
1484
+ build_config_name :
1485
+ - integreat
1486
+ - malte
1487
+ - aschaffenburg
1488
+ - promote_ios :
1489
+ context :
1490
+ - mattermost
1491
+ - tuerantuer-apple
1492
+ - deliverino
1493
+ matrix :
1494
+ parameters :
1495
+ build_config_name :
1496
+ - integreat
1497
+ - malte
1498
+ - aschaffenburg
1499
+ when :
1500
+ and :
1501
+ - << pipeline.parameters.api_triggered >>
1502
+ - equal :
1503
+ - << pipeline.parameters.workflow_type >>
1504
+ - promotion
1601
1505
web_beta_delivery :
1602
1506
jobs :
1603
1507
- bump_version :
0 commit comments