-
Notifications
You must be signed in to change notification settings - Fork 20
/
bitrise.yml
40 lines (36 loc) · 1.08 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
format_version: 5
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
app:
envs:
# define these in your .bitrise.secrets.yml
- AWS_ACCESS_KEY: $AWS_ACCESS_KEY
- AWS_SECRET_KEY: $AWS_SECRET_KEY
- BUCKET_NAME: $BUCKET_NAME
# - BUCKET_REGION: $BUCKET_REGION
workflows:
# ----------------------------------------------------------------
# --- workflow to Step Test
test:
before_run:
- audit-this-step
steps:
- path::./:
inputs:
- access_key_id: $AWS_ACCESS_KEY
- secret_access_key: $AWS_SECRET_KEY
- upload_bucket: $BUCKET_NAME
- upload_local_path: _tmp/
- acl_control: public-read
# - acl_control: private
- set_acl_only_on_changed_objets: "true"
- aws_region: $BUCKET_REGION
# ----------------------------------------------------------------
# --- workflows to Share this step into a Step Library
audit-this-step:
steps:
- script:
inputs:
- content: |-
#!/bin/bash
set -ex
stepman audit --step-yml ./step.yml