Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • abuild abuild
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 64
    • Issues 64
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 39
    • Merge requests 39
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpinealpine
  • abuildabuild
  • Merge requests
  • !75

Interposition enhancements for use with APK Foundry

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Max Rees requested to merge sroracle/abuild:apkfoundry-alpine into master Dec 01, 2020
  • Overview 0
  • Commits 5
  • Pipelines 0
  • Changes 7

This standardizes the use of $APK as well as adding some other interposition variables:

  • $APK_FETCH (apk)
  • $ABUILD_GIT (git or true)
  • $ABUILD_FETCH (abuild-fetch)
  • $ABUILD_SRCDIR can override $srcdir
  • $ABUILD_PKGBASEDIR can override $pkgbasedir
  • $ABUILD_TMP can set $srcdir and $pkgbasedir for easy out-of-aports.git builds

This allows APK Foundry to build packages outside of a git tree easily (by setting $ABUILD_GIT to git -C ...) as well as make it easier to enforce network isolation while poking holes for source file and dependency downloading.

An older form of this patch set has been in use for some time on my personal machines while developing the project, and it was recently merged into Adélie's abuild.git as we prepare to setup CI using it.

https://dev.sick.bike/apkfoundry/

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: apkfoundry-alpine