Skip to content

Commit

Permalink
Update CI build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
maksimkurb committed Nov 11, 2024
1 parent 0f80e41 commit 34a1104
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 176 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
ref: 'main'
ref: 'entware'

- name: Prepare build
env:
Expand All @@ -120,11 +120,11 @@ jobs:
- name: Build packages
id: build
run: |
echo "src-link keeneticPbr /keeneticPbr" | docker run --rm -i --mount source=entware-home,target=/home/me -v $GITHUB_WORKSPACE:/keeneticPbr -w /home/me/Entware --name builder builder tee -a feeds.conf
docker run --rm -i --mount source=entware-home,target=/home/me -v $GITHUB_WORKSPACE:/keeneticPbr -w /home/me/Entware --name builder builder ./scripts/feeds update keeneticPbr
docker run --rm -i --mount source=entware-home,target=/home/me -v $GITHUB_WORKSPACE:/keeneticPbr -w /home/me/Entware --name builder builder ./scripts/feeds install -a -p keeneticPbr
echo "CONFIG_PACKAGE_keenetic-pbr=m" | docker run --rm -i --mount source=entware-home,target=/home/me -v $GITHUB_WORKSPACE:/keeneticPbr -w /home/me/Entware --name builder builder tee -a .config
docker run --rm -i --mount source=entware-home,target=/home/me -v $GITHUB_WORKSPACE:/keeneticPbr -w /home/me/Entware --name builder builder make package/keenetic-pbr/compile V=s
echo "src-link keeneticPbr /keenetic-pbr" | docker run --rm -i --mount source=entware-home,target=/home/me -v $GITHUB_WORKSPACE:/keenetic-pbr -w /home/me/Entware --name builder builder tee -a feeds.conf
docker run --rm -i --mount source=entware-home,target=/home/me -v $GITHUB_WORKSPACE:/keenetic-pbr -w /home/me/Entware --name builder builder ./scripts/feeds update keeneticPbr
docker run --rm -i --mount source=entware-home,target=/home/me -v $GITHUB_WORKSPACE:/keenetic-pbr -w /home/me/Entware --name builder builder ./scripts/feeds install -a -p keeneticPbr
echo "CONFIG_PACKAGE_keenetic-pbr=m" | docker run --rm -i --mount source=entware-home,target=/home/me -v $GITHUB_WORKSPACE:/keenetic-pbr -w /home/me/Entware --name builder builder tee -a .config
docker run --rm -i --mount source=entware-home,target=/home/me -v $GITHUB_WORKSPACE:/keenetic-pbr -w /home/me/Entware --name builder builder make package/keenetic-pbr/compile V=s
- name: Extract packages
if: steps.build.outcome == 'success'
Expand Down
51 changes: 0 additions & 51 deletions Makefile

This file was deleted.

File renamed without changes.
4 changes: 0 additions & 4 deletions opt/etc/cron.daily/50-keenetic-pbr-lists-update.sh

This file was deleted.

9 changes: 0 additions & 9 deletions opt/etc/ndm/fs.d/50-keenetic-pbr-disable-hwnat.sh

This file was deleted.

74 changes: 0 additions & 74 deletions opt/etc/ndm/ifstatechanged.d/50-keenetic-pbr-routing.sh

This file was deleted.

32 changes: 0 additions & 32 deletions opt/etc/ndm/netfilter.d/50-keenetic-pbr-fwmarks.sh

This file was deleted.

0 comments on commit 34a1104

Please sign in to comment.