Compare commits

..

15 Commits

Author SHA1 Message Date
uazo
20f617fd4a Update whitelist 2022-03-30 16:44:33 +02:00
uazo
dce1324300 Update whitelist 2022-03-30 16:25:06 +02:00
uazo
dacc20b60d Update whitelist 2022-03-30 16:20:48 +02:00
uazo
fe2587d942 Update whitelist 2022-03-30 16:15:52 +02:00
uazo
bafaa5f167 Update whitelist 2022-03-30 16:09:15 +02:00
uazo
64df7a0a73 mark the release as a prerelease 2022-03-25 11:22:15 +01:00
uazo
aede203911 Update apply-bromite-patches.sh 2022-03-25 08:58:27 +01:00
uazo
7dc817d819 Update apply-bromite-patches.sh 2022-03-25 07:26:43 +01:00
uazo
81f793ed34 fix export error 2022-03-24 20:29:25 +01:00
uazo
a716f182be Update export-all-patch.sh 2022-03-24 16:58:45 +01:00
uazo
cfbb923b0d check for changed and contrib folders 2022-03-24 16:26:38 +01:00
uazo
f12c3e78b4 fix incorrect way to set env variable 2022-03-09 08:59:27 +01:00
uazo
854b6356d5 fix pup command 2022-03-09 08:57:06 +01:00
Carmelo Messina
89497b252b Revert "Update release.yaml"
This reverts commit 58fe440996.
2022-03-09 08:50:29 +01:00
uazo
58fe440996 Update release.yaml 2022-03-09 08:45:13 +01:00
4 changed files with 26 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ jobs:
run: |
wget https://github.com/ericchiang/pup/releases/download/v0.4.0/pup_v0.4.0_linux_amd64.zip
unzip pup_v0.4.0_linux_amd64.zip && rm pup_v0.4.0_linux_amd64.zip
BRANCH=$(curl https://github.com/uazo/bromite/branch_commits/$BROMITE_SHA | ./pup -p li.branch a text{})
BRANCH=$(curl https://github.com/uazo/bromite/branch_commits/$BROMITE_SHA | ./pup -p li.branch:last-child a text{} | xargs)
echo "BRANCH=$BRANCH" >> $GITHUB_ENV
wget https://github.com/cli/cli/releases/download/v2.4.0/gh_2.4.0_linux_amd64.tar.gz
@@ -74,7 +74,7 @@ jobs:
cd bromite
VERSION=v$(cat ${{ env.OUTPUTFILE }}/RELEASE)-${{ github.event.inputs.build }}
../gh_2.4.0_linux_amd64/bin/gh release create $VERSION-$BROMITE_SHA \
../$APK --notes ""
../$APK --notes "" -p
# - name: Enable proxy on container
# shell: bash

View File

@@ -32,3 +32,16 @@ for patch in $ALLPATCHS_E; do
bash ~/bromite-buildtools/export-single-patch.sh $patch $PATCH_FILE
done
PATCH_LIST=~/bromite/build/bromite_patches_list.txt
mkdir ~/bromite/build/patches-new/changed
mkdir ~/bromite/build/patches-new/contrib
for current_file in $(cat $PATCH_LIST); do
if [[ "$current_file" == *".patch" ]]; then
if [[ $current_file =~ ^changed/.* ]]; then
mv ~/bromite/build/patches-new/$(basename $current_file) ~/bromite/build/patches-new/changed
elif [[ $current_file =~ ^contrib/.* ]]; then
mv ~/bromite/build/patches-new/$(basename $current_file) ~/bromite/build/patches-new/contrib
fi
fi
done

View File

@@ -10,6 +10,7 @@ cd chromium/src
echo -e ${RED} ------- apply patchs ${NC}
for file in $(cat ../../bromite/build/bromite_patches_list.txt) ; do
if [[ "$file" == *".patch" ]]; then
#if [[ "$file" == *"Automated-domain-substitution"* ]]; then
# echo -e ${RED} " -> Excluding $file" ${NC}
# continue
@@ -17,7 +18,7 @@ for file in $(cat ../../bromite/build/bromite_patches_list.txt) ; do
echo -e ${RED} " -> Apply $file" ${NC}
REPL="0,/^---/s//FILE:"$file"\n---/"
REPL="0,/^---/s//FILE:"$(basename $file)"\n---/"
cat ../../bromite/build/patches/$file | sed $REPL | git am
if [ $? -ne 0 ]
@@ -27,4 +28,6 @@ for file in $(cat ../../bromite/build/bromite_patches_list.txt) ; do
fi
echo " "
fi
done

View File

@@ -4,6 +4,13 @@
.githubusercontent.com
.ubuntu.com
# for .net
.dot.net
dotnet.microsoft.com
dotnetcli.azureedge.net
aka.ms
packages.microsoft.com
# for buildeps
#chromium.googlesource.com