-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbitrise.yml
More file actions
119 lines (119 loc) · 3.03 KB
/
bitrise.yml
File metadata and controls
119 lines (119 loc) · 3.03 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
---
format_version: '24'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: flutter
meta:
bitrise.io:
machine_type_id: g2.mac.medium
stack: osx-xcode-16.3.x
pipelines:
build-and-test:
triggers:
pull_request:
- source_branch: "*"
workflows:
init: {}
test:
depends_on:
- init
build_sample:
depends_on:
- init
deploy:
triggers:
tag:
- name:
regex: "^\\d+\\.\\d+\\.\\d+$"
workflows:
init: {}
publish_to_pub_dev:
depends_on:
- init
publish-changelog:
depends_on:
- publish_to_pub_dev
create-rss-changelog:
depends_on:
- publish_to_pub_dev
workflows:
init:
steps:
- activate-ssh-key@4:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
inputs:
- verbose: 'true'
- git-clone@8: {}
- flutter-installer@1:
inputs:
- version: https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_3.27.3-stable.zip
- save-dart-cache: {}
- deploy-to-bitrise-io@2:
inputs:
- pipeline_intermediate_files: "$BITRISE_SOURCE_DIR:BITRISE_SOURCE_DIR"
test:
steps:
- pull-intermediate-files@1:
inputs:
- artifact_sources: init
- restore-dart-cache@2: {}
- flutter-analyze@0:
inputs:
- project_location: "$BITRISE_SOURCE_DIR"
- flutter-test@1:
inputs:
- project_location: "$BITRISE_SOURCE_DIR"
build_sample:
steps:
- pull-intermediate-files@1:
inputs:
- artifact_sources: init
- restore-dart-cache: {}
- flutter-build@0:
inputs:
- project_location: "$BITRISE_SOURCE_DIR/example"
publish_to_pub_dev:
steps:
- pull-intermediate-files@1:
inputs:
- artifact_sources: init
- script@1:
title: Validating package safety
inputs:
- content: dart pub publish --dry-run
- script@1:
title: Publish to pub.dev
inputs:
- content: dart pub publish --force
create-rss-changelog:
steps:
- pull-intermediate-files@1:
inputs:
- artifact_sources: init
- set-env-var@0:
inputs:
- value: CHANGELOG.md
- destination_keys: DOCUMENTATION_FILE_PATH
- script-runner@0:
title: Create changelog entry
inputs:
- file_path: $BITRISE_SOURCE_DIR/scripts/post_changelog_to_public_documentation_rss_feed.sh
- runner: bash
publish-changelog:
steps:
- pull-intermediate-files@1:
inputs:
- artifact_sources: init
- set-env-var@0:
inputs:
- value: CHANGELOG.md
- destination_keys: DOCUMENTATION_FILE_PATH
- script-runner@0:
title: Update the documentation
inputs:
- file_path: $BITRISE_SOURCE_DIR/scripts/update_public_documentation_page.sh
- runner: bash
app:
envs:
- PUBLIC_CHANGELOG_PAGE_SLUG: flutter-plugin-changelog
opts:
is_expand: false