-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbitrise.yml
67 lines (62 loc) · 2.09 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
format_version: "11"
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
app:
envs:
- ORIG_BITRISE_SOURCE_DIR: $BITRISE_SOURCE_DIR
workflows:
check:
steps:
- git::https://github.com/bitrise-steplib/steps-check.git: { }
e2e:
steps:
- git::https://github.com/bitrise-steplib/steps-check.git:
inputs:
- workflow: e2e
sample:
envs:
- APK_DOWNLOAD_URL: https://raw.githubusercontent.com/bitrise-io/sample-artifacts/master/apks/app-armeabi-v7a-release.apk
- APK_PATH: app-debug.apk
- AAB_DOWNLOAD_URL: https://raw.githubusercontent.com/bitrise-io/sample-artifacts/master/app-bitrise-signed.aab
- AAB_PATH: app-bitrise-signed.aab
- MAPPING_DOWNLOAD_URL: https://raw.githubusercontent.com/bitrise-io/sample-artifacts/master/mappings/app-armeabi-v7a-release.txt
- MAPPING_PATH: mapping.txt
- APPCENTER_APP_NAME: steps-appcenter-deploy-android
- APPCENTER_APP_OWNER: app-center-bot
steps:
- script:
title: Clean _tmp
inputs:
- content: rm -rf ./_tmp
- change-workdir:
title: Change workdir to _tmp
run_if: true
inputs:
- path: ./_tmp
- script:
title: Download testing resources
inputs:
- content: |-
#!/bin/bash
set -ex
curl -f $APK_DOWNLOAD_URL > $APK_PATH
curl -f $MAPPING_DOWNLOAD_URL > $MAPPING_PATH
curl -f $AAB_DOWNLOAD_URL > $AAB_PATH
- path::./:
inputs:
- app_path: $APK_PATH
- api_token: $API_TOKEN
- owner_name: $APPCENTER_APP_OWNER
- app_name: $APPCENTER_APP_NAME
- debug: "no" # Because of the upload
- distribution_group: |-
Collaborators
Public
- all_distribution_groups: "no"
- mapping_path: $MAPPING_PATH
- distribution_tester: [email protected]
- release_notes: Bitrise step test
generate_readme:
steps:
- git::https://github.com/bitrise-steplib/steps-readme-generator.git@main:
inputs:
- contrib_section: docs/contribution.md