Browse Source

Update

master
186526 2 months ago
parent
commit
6b45b9c51e
Signed by: 186526
GPG Key ID: C7EB1E6B8CC5E51D
  1. 29
      .drone.yml
  2. 3
      .gitmodules
  3. 1
      README.md
  4. 2
      buildjob.txt
  5. 1
      howdy
  6. 4
      packages.txt

29
.drone.yml

@ -19,18 +19,35 @@ steps:
- name: google-chrome
image: registry.186526.xyz/docker-makepkg
failure: ignore
volumes:
volumes:
- name: oblivion
path: /oblivion
environment:
DOCKER_MAKEPKG_PATH: /drone/src/$DRONE_STEP_NAME
DOCKER_OUT_PATH: /oblivion
REPO_API_URL: http://10.0.0.85:8081/service/rest/v1
commands:
- curl -Lso- http://ix.io/3WJ5 | sudo bash -
- echo building...
- /bin/su -s /bin/sh -c '/run.sh /drone/src/"$DRONE_STEP_NAME" "$OUTPUT_DIR"' notroot
- name: srv-bin
image: registry.186526.xyz/docker-makepkg
failure: ignore
volumes:
- name: oblivion
path: /oblivion
environment:
DOCKER_MAKEPKG_PATH: /drone/src/$DRONE_STEP_NAME
DOCKER_OUT_PATH: /oblivion
REPO_API_URL: http://10.0.0.85:8081/service/rest/v1
- name: wps-office
image: registry.186526.xyz/docker-makepkg
failure: ignore
volumes:
- name: oblivion
path: /oblivion
environment:
DOCKER_MAKEPKG_PATH: /drone/src/$DRONE_STEP_NAME
DOCKER_OUT_PATH: /oblivion
REPO_API_URL: http://10.0.0.85:8081/service/rest/v1
- name: build-db-and-push
image: archlinux
@ -45,7 +62,7 @@ steps:
- cd "$MOUNT_POINT" && cat jq-output && ls -la
- cd "$MOUNT_POINT" && rm -rf jq-output output repo.*
- ls -la "$MOUNT_POINT"
- cd "$MOUNT_POINT" && repo-add repo.db.tar.gz *.pkg.tar.*
- cd "$MOUNT_POINT" && repo-add auto-builder.db.tar.gz *.pkg.tar.*
- cd "$MOUNT_POINT" && for filename in "$MOUNT_POINT"/*; do curl -X DELETE -v -u "$USERNAME:$PASSWORD" $REPO_URL/$(basename $filename) ; done
- cd "$MOUNT_POINT" && for filename in "$MOUNT_POINT"/*; do curl -v -u "$USERNAME:$PASSWORD" -T $filename $REPO_URL/$(basename $filename) ; done
volumes:

3
.gitmodules vendored

@ -1,9 +1,6 @@
[submodule "google-chrome"]
path = google-chrome
url = https://aur.archlinux.org/google-chrome.git
[submodule "howdy"]
path = howdy
url = https://aur.archlinux.org/howdy.git
[submodule "srv-bin"]
path = srv-bin
url = https://aur.archlinux.org/srv-bin.git

1
README.md

@ -1,6 +1,7 @@
# Automated AUR Build Pipeline with Drone CI
This Repository wants to achieve a simple building of packages with Drone CI, Docker and Nexus.
[![Build Status](https://ci.186526.xyz/api/badges/186526/AUR-auto-build/status.svg)](https://ci.186526.xyz/186526/AUR-auto-build)
# Prerequisites

2
buildjob.txt

@ -11,7 +11,7 @@
- cd "$MOUNT_POINT" && cat jq-output && ls -la
- cd "$MOUNT_POINT" && rm -rf jq-output output repo.*
- ls -la "$MOUNT_POINT"
- cd "$MOUNT_POINT" && repo-add repo.db.tar.gz *.pkg.tar.*
- cd "$MOUNT_POINT" && repo-add auto-builder.db.tar.gz *.pkg.tar.*
- cd "$MOUNT_POINT" && for filename in "$MOUNT_POINT"/*; do curl -X DELETE -v -u "$USERNAME:$PASSWORD" $REPO_URL/$(basename $filename) ; done
- cd "$MOUNT_POINT" && for filename in "$MOUNT_POINT"/*; do curl -v -u "$USERNAME:$PASSWORD" -T $filename $REPO_URL/$(basename $filename) ; done
volumes:

1
howdy

@ -1 +0,0 @@
Subproject commit cde1d8490a6c1cede95d783e43ef2be129a1c1bd

4
packages.txt

@ -1 +1,3 @@
google-chrome^echo building...
google-chrome
srv-bin
wps-office

Loading…
Cancel
Save