-
Notifications
You must be signed in to change notification settings - Fork 18
/
bitrise.yml
48 lines (44 loc) · 1.4 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
format_version: "11"
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
workflows:
generate_readme:
steps:
- git::https://github.com/bitrise-steplib/steps-readme-generator.git@main:
inputs:
- contrib_section: docs/contribution.md
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:
# define these envs in your .bitrise.secrets.yml
- SSH_RSA_PRIVATE_KEY: $TEST_SSH_KEY
steps:
- change-workdir:
title: Switch working dir to test/_tmp dir
description: |-
To prevent step testing issues, like referencing relative
files with just './some-file', which would work for local tests
but not if the step is included in another bitrise.yml!
inputs:
- path: ./_tmp
- is_create_path: true
- script:
title: Remove SSH keys from agent
inputs:
- content: |-
#!/bin/bash
set -x
ssh-add -D
envman add --key KEY_PATH --value "./testsave/bitrise_step_activate_ssh_key"
- path::./:
inputs:
- ssh_rsa_private_key: $SSH_RSA_PRIVATE_KEY
- ssh_key_save_path: $KEY_PATH
- is_remove_other_identities: "true"
- verbose: true