-
Notifications
You must be signed in to change notification settings - Fork 23
/
__sample.circleci.yml
48 lines (48 loc) · 2.46 KB
/
__sample.circleci.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
version: 2.1
jobs:
build:
docker:
# Use tags "latest or bionic" for Ubuntu 18.04.4 LTS
# Use tags "edge or focal" for Ubuntu 20.04 LTS"
- image: fr3akyphantom/droid-builder:latest
environment:
MANIFEST_BRANCH: '' # REQUIRED:: Put as 'android-X.Y' format as-in "manifest_pb" repository
# PBRP_BRANCH: '' # OPTIONAL:: If not default 'android-9.0', define other bootable_recovery branch
VERSION: '2.9.1' # as of now, the current PBRP version
MAINTAINER: '@########' # REQUIRED:: Replace your Telegram ID, if unavailable then use GitHub Username
VENDOR: '' # REQUIRED:: Input Product Vendor or Manufacturer
CODENAME: '' # REQUIRED:: Input Device Codename
FLAVOR: '' # REQUIRED:: Input 'eng' or 'userdebug'
# BUILD_LUNCH: '' # DEPRICATED:: set like 'omni_$CODENAME-userdebug' or 'omni_$CODENAME-eng'
TEST_BUILD: 'true' # OPTIONAL:: Use for Testing Purpose, Comment-out/delete for Official build
# BETA_BUILD: 'true' # REQUIRED-FOR-TEAM:: Uncomment only for Beta Official builds
# PB_OFFICIAL: 'true' # REQUIRED-FOR-TEAM:: Uncomment only for Stable Official builds
# EXTRA_CMD: "" # OPTIONAL:: USE DOUBLE-QUOTE: If you need to modify or patch a few things with commands after `repo sync`, write in single line separated by semicolon ';' if needed
# PB_ENGLISH: 'true' # OPTIONAL:: If you want only English Language
CHANGELOG: | # Write anything under the pipe '|' character keeping the 2-character-space, no quote required
What's been done?
- Update done for xx
What's fixed?
- Fixed yy things
- Which is actually Changed by ZZ
And something else
working_directory: /home/builder/pitchblack
steps:
- setup_remote_docker:
version: 19.03.8
- run:
name: "ALL IN REMOTE"
command: |
curl -sL https://raw.githubusercontent.com/PitchBlackRecoveryProject/vendor_utils/pb/remote_build.sh -o build.sh
source build.sh
workflows:
version: 2
build_and_test:
jobs:
- build:
filters:
branches:
only: 'REPLACE CURRENT BRANCH NAME WITHIN QUOTE'
context: org-global ## ONLY FOR TEAM DEVELPERS
## If you are not in Team, then you have to add $GitHubMail, $GitHubName and $GITHUB_TOKEN in the environment variables
## Please Don't Build In PitchBlackRecoveryProject Org It Takes Sooo Muchh Credits. Use It Personal Repo for testing