Skip to content

Commit

Permalink
Improve parallelism on github workflows and builder images
Browse files Browse the repository at this point in the history
  • Loading branch information
sepen committed Jan 1, 2025
1 parent 2df6e29 commit 889d82e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ jobs:
needs: core-images

strategy:
max-parallel: 3
max-parallel: 4
matrix:
arch: [ amd64, arm64, armhf ]
version: [ 3.7 ]
Expand Down
3 changes: 2 additions & 1 deletion 3.7-amd64-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

FROM sepen/crux:3.7-amd64-core

RUN ports -u opt && \
RUN sed -e '/[JOBS,MAKEFLAGS]=/ s/# export/export/' -i /etc/pkgmk.conf && \
ports -u opt && \
cd /usr/ports/opt/fakeroot && \
pkgmk -d && pkgadd *.pkg.tar.* && \
cd /usr/ports/opt/git && \
Expand Down
3 changes: 2 additions & 1 deletion 3.7-arm64-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

FROM sepen/crux:3.7-arm64-core

RUN ports -u opt && \
RUN sed -e '/[JOBS,MAKEFLAGS]=/ s/# export/export/' -i /etc/pkgmk.conf && \
ports -u opt && \
cd /usr/ports/opt/fakeroot && \
pkgmk -d && pkgadd *.pkg.tar.* && \
cd /usr/ports/opt/git && \
Expand Down
3 changes: 2 additions & 1 deletion 3.7-armhf-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

FROM sepen/crux:3.7-armhf-core

RUN ports -u opt && \
RUN sed -e '/[JOBS,MAKEFLAGS]=/ s/# export/export/' -i /etc/pkgmk.conf && \
ports -u opt && \
cd /usr/ports/opt/fakeroot && \
pkgmk -d && pkgadd *.pkg.tar.* && \
cd /usr/ports/opt/git && \
Expand Down
3 changes: 2 additions & 1 deletion 3.7-updated-amd64-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

FROM sepen/crux:3.7-updated-amd64-core

RUN ports -u opt && \
RUN sed -e '/[JOBS,MAKEFLAGS]=/ s/# export/export/' -i /etc/pkgmk.conf && \
ports -u opt && \
cd /usr/ports/opt/fakeroot && \
pkgmk -d && pkgadd *.pkg.tar.* && \
cd /usr/ports/opt/git && \
Expand Down

0 comments on commit 889d82e

Please sign in to comment.