||3 weeks ago|
|balena-etcher@246ab3d254||3 weeks ago|
|google-chrome@95891c4a41||3 weeks ago|
|guestfs-tools@198fed0e72||3 weeks ago|
|srv-bin@e738464992||3 weeks ago|
|ttyd@b44bd42099||3 weeks ago|
|wps-office@4cb1d4bfcf||3 weeks ago|
|.drone.yml||3 weeks ago|
|.drone.yml.backup||1 year ago|
|.gitattributes||1 year ago|
|.gitmodules||3 weeks ago|
|README.md||3 weeks ago|
|buildDrone.sh||3 weeks ago|
|buildjob.txt||3 weeks ago|
|packages.txt||3 weeks ago|
Automated AUR Build Pipeline with Drone CI
This Repository wants to achieve a simple building of packages with Drone CI, Docker and Nexus.
- Fork the Repository
- Connect Drone CI with your Git Repository and activate it
- Clone your Repository
- Remove ananicy package from the repository (it is just a example package)
- Add the packages you want
git submodule add https://aur.archlinux.org/timeshift.git timeshift
- Register the Packages you want in the packages.txt. You can add commands that should be executed first, before building the package with an ^. So for example if you want to install nano before installing timeshift register the package like this in the packages.txt (every package in a single line).
timeshift^pacman -Sy --noconfirm nano
Change the variables in the buildDrone.sh. For example the volumepath describes where the shared volume for all pipeline steps is mounted. This is important because this i later the name you add into your pamac.conf. Also change the apiurl to the API URL of your Nexus Instance.
Change buildjob.txt to your needs. So for example change the environemt variables to your Nexus instance and change the mountpoint in the commands to your repo name.
run buildDrone.sh and push the changes to your repository.
Change timeout of the Drone Repository, because it may take longer than 60 minutes to build your packages.
Add anonymous role in your Nexus Repository so your raw Nexus Repository can be read by anybody.
The pipeline should build your packages and pushs the packages to your Nexus Raw Repository.