Skip to content

Commit

Permalink
chore(build): move private repo to manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
ponces committed Nov 2, 2024
1 parent 0225c8b commit b21076d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,14 @@ jobs:
- name: Build Image
run: docker build -f build/Dockerfile -t ponces/treble .

- name: Get Keys
uses: actions/checkout@v4
with:
repository: ponces/vendor_ponces-priv
token: ${{ secrets.GH_TOKEN }}
path: vendor_ponces-priv

- name: Build ROM
run: |
mkdir builds
docker run --rm \
--privileged \
--name test \
--volume /root/.ssh:/root/.ssh \
--volume ${{ github.workspace }}/builds:/root/builds \
--volume ${{ github.workspace }}/vendor_ponces-priv:/aosp/vendor/ponces-priv \
ponces/treble treblebuild ${{ env.BUILD_VARIANT }}
- name: Upload ROM
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,14 @@ jobs:
- name: Build Image
run: docker build -f build/Dockerfile -t ponces/treble .

- name: Get Keys
uses: actions/checkout@v4
with:
repository: ponces/vendor_ponces-priv
token: ${{ secrets.GH_TOKEN }}
path: vendor_ponces-priv

- name: Build ROM
run: |
mkdir builds
docker run --rm \
--privileged \
--name treble \
--volume /root/.ssh:/root/.ssh \
--volume ${{ github.workspace }}/builds:/root/builds \
--volume ${{ github.workspace }}/vendor_ponces-priv:/aosp/vendor/ponces-priv \
--volume ${{ github.workspace }}/config/ota.json:/aosp/treble_aosp/config/ota.json \
ponces/treble treblebuild
Expand Down
2 changes: 2 additions & 0 deletions build/default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<manifest>
<remote name="github" fetch="https://github.com" />
<remote name="gitlab" fetch="https://gitlab.com" />
<remote name="private" fetch="ssh://git@github.com" />

<!-- TrebleDroid -->
<project name="TrebleDroid/device_phh_treble" path="device/phh/treble" remote="github" revision="android-15.0" />
Expand All @@ -18,6 +19,7 @@
<project name="ponces/treble_adapter" path="treble_adapter" remote="github" revision="master" />
<project name="ponces/vendor_gapps" path="vendor/gapps" remote="gitlab" revision="android-15.0" clone-depth="1" />
<project name="ponces/vendor_ponces" path="vendor/ponces" remote="github" revision="android-15.0" />
<project name="ponces/vendor_ponces-priv" path="vendor/ponces-priv" remote="private" revision="android-15.0" />

<!-- LineageOS -->
<remove-project name="platform/packages/apps/Launcher3" />
Expand Down

0 comments on commit b21076d

Please sign in to comment.