diff options
author | Hugo Osvaldo Barrera | 2020-05-26 10:18:49 +0200 |
---|---|---|
committer | Hugo Osvaldo Barrera | 2020-05-26 10:18:49 +0200 |
commit | bf47e8b990e8e6014adca0f5e974e61c15c2254d (patch) | |
tree | 5febffd4eb9f1cca750095da0d8a64a80662e8b5 | |
parent | f021165ae6ddefbe47b4ae6cfaa7cc3f41d62b12 (diff) | |
download | aur-bf47e8b990e8e6014adca0f5e974e61c15c2254d.tar.gz |
Automate .SRCINFO re-generation
-rw-r--r-- | .gitlab-ci.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 000000000000..cd7f49613042 --- /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 |