-
Notifications
You must be signed in to change notification settings - Fork 22
/
bitrise.yml
57 lines (53 loc) · 1.99 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
format_version: "11"
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
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
generate-readme:
steps:
- git::https://github.com/bitrise-steplib/steps-readme-generator.git@main:
inputs:
- example_section: docs/examples.md
sample:
envs:
- TEST_ARTIFACT_REPO_URL: https://github.com/bitrise-io/sample-artifacts.git # Remote or local URL
- TEST_ARTIFACT_REPO_BRANCH: master
- TEST_ARTIFACT_REPO_REL_PATH: apks/app-debug.apk
# Define these envs in .bitrise.secrets.yml
- BITRISEIO_ANDROID_KEYSTORE_URL: $BITRISEIO_ANDROID_KEYSTORE_URL
- BITRISEIO_ANDROID_KEYSTORE_PASSWORD: $BITRISEIO_ANDROID_KEYSTORE_PASSWORD
- BITRISEIO_ANDROID_KEYSTORE_ALIAS: $BITRISEIO_ANDROID_KEYSTORE_ALIAS
- BITRISEIO_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD: $BITRISEIO_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD
steps:
- script:
inputs:
- content: |-
#!/usr/bin/env bash
set -ex
rm -rf ./_tmp
- git::https://github.com/bitrise-steplib/bitrise-step-simple-git-clone.git:
inputs:
- repository_url: $TEST_ARTIFACT_REPO_URL
- branch: $TEST_ARTIFACT_REPO_BRANCH
- clone_into_dir: ./_tmp
- script:
inputs:
- content: |-
#!/usr/bin/env bash
set -ex
envman add --key TEST_ARTIFACT --value ./_tmp/$TEST_ARTIFACT_REPO_REL_PATH
- path::./:
title: Debug sign-apk Step
inputs:
- android_app: $TEST_ARTIFACT
- keystore_url: $BITRISEIO_ANDROID_KEYSTORE_URL
- keystore_password: $BITRISEIO_ANDROID_KEYSTORE_PASSWORD
- keystore_alias: $BITRISEIO_ANDROID_KEYSTORE_ALIAS
- private_key_password: $BITRISEIO_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD
- use_apk_signer: true