forked from NERC-CEH/irecord-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbitrise.yml
110 lines (110 loc) · 3.5 KB
/
bitrise.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
format_version: '8'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: ios
app:
envs:
- BITRISE_PROJECT_PATH: cordova/platforms/ios/iRecord App.xcodeproj
opts:
is_expand: false
- BITRISE_SCHEME: iRecord App
opts:
is_expand: false
- BITRISE_EXPORT_METHOD: app-store
opts:
is_expand: false
trigger_map:
- push_branch: '*'
workflow: ci
workflows:
android:
steps:
- sign-apk@1:
inputs:
- debuggable_permitted: 'false'
- verbose_log: 'true'
- android_app: $BITRISE_SOURCE_DIR/cordova/platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk
ci:
before_run:
- web
- android
- ios
after_run:
- deploy
deploy:
steps:
- npm@1:
run_if: enveq "BUILD_ONLY" ""
title: Deploy to demo site
inputs:
- command: run deploy
- deploy-to-bitrise-io@1:
title: Create www artifact
inputs:
- notify_user_groups: none
- deploy_path: $BITRISE_SOURCE_DIR/build
- is_compress: 'true'
- deploy-to-bitrise-io@1:
title: Create apk artifact
inputs:
- notify_user_groups: none
- deploy_path: $BITRISE_SIGNED_APK_PATH
- deploy-to-bitrise-io@1:
title: Create debug apk artifact
inputs:
- notify_user_groups: none
- deploy_path: $BITRISE_SOURCE_DIR/cordova/platforms/android/app/build/outputs/apk/debug/app-debug.apk
- deploy-to-bitrise-io@1:
title: Create app artifact
inputs:
- notify_user_groups: none
- deploy-to-itunesconnect-application-loader@0:
run_if: enveq "BUILD_ONLY" ""
inputs:
- password: $ITUNES_CONNECT_PASS
- app_password: $ITUNES_CONNECT_APP_PASS
- itunescon_user: $ITUNES_CONNECT_USER
- git-tag-project-version-and-build-number@1:
inputs:
- bitrise_tag_format: v_VERSION_-_BUILD_
- use_lightweight_tag: 'yes'
- bitrise_tag_info_plist_path: $BITRISE_SOURCE_DIR/cordova/platforms/ios/iRecord App/iRecord App-Info.plist
ios:
steps:
- certificate-and-profile-installer@1: {}
- recreate-user-schemes@1:
inputs:
- project_path: $BITRISE_PROJECT_PATH
- code-signing-setting-patch@1:
inputs:
- project_target: $BITRISE_SCHEME
- debug_code_sign_identity: iPhone Distribution
- debug_provisioning_profile_specifier: uk.ac.ceh.ir
- release_code_sign_identity: iPhone Distribution
- release_provisioning_profile_specifier: uk.ac.ceh.ir
- debug_development_team: X4GARM6E7K
- release_development_team: X4GARM6E7K
- code_sign_style: Manual
- xcode_xcodeproj_file: $BITRISE_PROJECT_PATH
- xcode-archive@3:
inputs:
- export_method: app-store
web:
steps:
- get-npm-package-version@1: {}
- npm@1:
title: Config Bit.dev
inputs:
- command: config set @bit:registry https://node.bit.dev
- npm@1:
title: Install
timeout: 360
inputs:
- command: install
- npm@1:
title: Test Eslint
inputs:
- command: run test:eslint
- npm@1:
title: Build
inputs:
- command: run build:production