This repository has been archived by the owner on May 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathbitrise.yml
76 lines (72 loc) · 2.11 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
format_version: "11"
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
workflows:
check:
steps:
- script:
title: bundle install
inputs:
- content: |-
#!/bin/bash
set -e
gem install bundler -v 2.2.24 --force
bundle install
- script:
title: rubocop
inputs:
- content: |-
#!/bin/bash
set -e
bundle exec rubocop
- script:
title: rspec
inputs:
- content: |-
#!/bin/bash
set -e
bundle exec rspec
e2e:
steps:
- git::https://github.com/bitrise-steplib/steps-check.git:
inputs:
- workflow: e2e
sample:
envs:
- TEST_APP_URL: https://github.com/bitrise-io/sample-apps-ios-simple-objc.git
- TEST_APP_BRANCH: master
- BITRISE_PROJECT_PATH: ios-simple-objc/ios-simple-objc.xcodeproj
- BITRISE_SCHEME: ios-simple-objc
- DISTRIBUTION_TYPE: development
- GENERATE_PROFILES: "no"
- TEAM_ID: $TEAM_ID
- BITRISE_CERTIFICATE_URL: $BITRISE_CERTIFICATE_URL_LIST
- BITRISE_CERTIFICATE_PASSPHRASE: $BITRISE_CERTIFICATE_PASSPHRASE_LIST
steps:
- script:
inputs:
- content: |-
#!/bin/env bash
set -ex
rm -rf ./_tmp
- git::https://github.com/bitrise-steplib/bitrise-step-simple-git-clone.git:
inputs:
- repository_url: $TEST_APP_URL
- branch: $TEST_APP_BRANCH
- clone_into_dir: ./_tmp
- path::./:
title: Step Test
run_if: true
inputs:
- certificate_urls: $BITRISE_CERTIFICATE_URL
- passphrases: $BITRISE_CERTIFICATE_PASSPHRASE
- team_id: $TEAM_ID
- distribution_type: $DISTRIBUTION_TYPE
- project_path: ./_tmp/$BITRISE_PROJECT_PATH
- scheme: $BITRISE_SCHEME
- verbose_log: "yes"
- generate_profiles: $GENERATE_PROFILES
generate_readme:
steps:
- git::https://github.com/bitrise-steplib/steps-readme-generator.git@main:
inputs:
- contrib_section: docs/contribution.md