summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Osvaldo Barrera2020-05-26 10:18:49 +0200
committerHugo Osvaldo Barrera2020-05-26 10:18:49 +0200
commitbf47e8b990e8e6014adca0f5e974e61c15c2254d (patch)
tree5febffd4eb9f1cca750095da0d8a64a80662e8b5
parentf021165ae6ddefbe47b4ae6cfaa7cc3f41d62b12 (diff)
downloadaur-bf47e8b990e8e6014adca0f5e974e61c15c2254d.tar.gz
Automate .SRCINFO re-generation
-rw-r--r--.gitlab-ci.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000000..cd7f4961304
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,19 @@
+mksrcinfo:
+ image: archlinux:latest
+ stage: build
+ before_script:
+ - groupadd -r makepkg
+ - useradd -u 1000 -g makepkg -m makepkg
+ - su -u makepkg makepkg --printsrcinfo
+ - pacman -Sy --noconfirm base base-devel
+ script:
+ - makepkg -- makepkg --printsrcinfo
+
+publish:
+ image: archlinux:latest
+ stage: deploy
+ before_script:
+ - pacman -Sy git
+ script:
+ - git remote add aur ssh://aur@aur.archlinux.org/$CI_PROJECT_NAME
+ - git push aur master