-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbitrise-A.yml
56 lines (54 loc) · 1.38 KB
/
bitrise-A.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
---
format_version: '8'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: other
trigger_map:
- push_branch: "*"
workflow: root
- pull_request_source_branch: "*"
workflow: primary
workflows:
primary:
steps:
- activate-ssh-key@4.0.3:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- git-clone@4.0.17: {}
- script@1.1.5:
title: parallel
inputs:
- content: |-
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
export TYPE=step
export PARALLEL_NO=1
export JOB_NAME_PREFIX="${BITRISE_APP_TITLE}"
./.ci/report.sh
secondary:
steps:
- activate-ssh-key@4.0.3:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- git-clone@4.0.17: {}
- script@1.1.5:
title: parallel
inputs:
- content: |-
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
export TYPE=step
export PARALLEL_NO=2
export JOB_NAME_PREFIX="${BITRISE_APP_TITLE}"
./.ci/report.sh
root:
steps:
- build-router-start@0:
inputs:
- workflows: |-
primary
secondary
- access_token: "$ACCESS_TOKEN"