-
Notifications
You must be signed in to change notification settings - Fork 4
/
.cirrus.yml
44 lines (40 loc) · 2.31 KB
/
.cirrus.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
env:
CIRRUS_CI: true
CIRRUS_SHELL: bash
# GH_BOT_TOKEN: ENCRYPTED[!3dc1bb6c7bf084e24e8d7b0cfed9cef8ea030754b0b5950357cb20b229629d07044faf74f67b5462155dec73ccd03964!]
# BOT_API: ENCRYPTED[!8cec845978b5bb8d6ad1c5cdde5d5a36d848775f3f0e8bd1f03056dd2f2dd4a48aa5aacdda709bb26648be0c1e5def64!]
# GCF_AUTH_KEY: ENCRYPTED[!c69636978c34d2bc2e138778747412f23fd85e8cb9817cb98ee709857f45060d8b775d5bb940c32178a959375b335c08!]
# GITHUBMAIL: ENCRYPTED[!b5d578a5c912c81c4b6d28ee45fa7b71c6301ed01c0aba87ef5f5db0f4388f81a2b8a5b3f22c78a4ffc552a3e19dfa7d!]
# GITHUBNAME: ENCRYPTED[!36f103b9c2e99d01d399ba033230d7c0910e028934d0a844bd97824cd76ef6b2e93aa1df5bf50bc91de7a9e4ec6c851f!]
# SFUserName: ENCRYPTED[!36f103b9c2e99d01d399ba033230d7c0910e028934d0a844bd97824cd76ef6b2e93aa1df5bf50bc91de7a9e4ec6c851f!]
# SFPassword: ENCRYPTED[!06a7bb955807fa663f5f719fea20fc3ae314613c7e174f4c10e31fab6ed15442fb9898d474d049fb13d6f51d47f28dbf!]
MANIFEST: https://github.com/PitchBlackRecoveryProject/manifest_pb -b android-12.1
VENDOR: oneplus
CODENAME: avicii
BUILD_TYPE: OFFICIAL
PB_OFFICIAL: true
CHANGELOG: "- Sync with latest source - Based on OOS12 firmware - Unified Build for FBEv1 & FBEv2 ROMs NOTE: This build is only for OOS12 and OOS12 based Custom ROMs"
VERSION: 4.0
DT_LINK: https://github.com/PitchBlackRecoveryProject/android_device_oneplus_avicii-pbrp
DT_BR: android_12.1
task:
name: "Recovery Build"
timeout_in: 240m
trigger_type: manual
container:
image: ghcr.io/sanju0910/ubuntu:latest
cpu: 8
memory: 32G
clone_script: |
if [ -z "$CIRRUS_PR" ]; then
git clone --recursive --branch=$CIRRUS_BRANCH https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git $CIRRUS_WORKING_DIR
git reset --hard $CIRRUS_CHANGE_IN_REPO
else
git clone --recursive https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git $CIRRUS_WORKING_DIR
git fetch origin pull/$CIRRUS_PR/head:pull/$CIRRUS_PR
git reset --hard $CIRRUS_CHANGE_IN_REPO
fi
build_script:
curl -sL https://raw.githubusercontent.com/Sanju0910/PitchBlack_CI/main/build.sh | bash
upload_script:
curl -sL https://raw.githubusercontent.com/Sanju0910/Cirrus_CI/main/scripts/upload_recovery.sh | bash