gitlab-ci: use git-annex instead of git-lfs #575
3 changed files with 6 additions and 4 deletions
|
@ -99,7 +99,7 @@ push:
|
|||
stage: deploy
|
||||
script:
|
||||
- |
|
||||
sudo apk add abuild git-lfs findutils
|
||||
sudo apk add abuild git-annex findutils
|
||||
export PATH="$PATH:$CI_PROJECT_DIR/.gitlab/bin"
|
||||
push.sh
|
||||
rules:
|
||||
|
|
|
@ -28,9 +28,11 @@ if [ -d $HOME/repo-apk ]; then
|
|||
git -C $HOME/repo-apk checkout $BASEBRANCH
|
||||
git -C $HOME/repo-apk pull --rebase
|
||||
else
|
||||
git clone git@lab.ilot.io:ayakael/repo-apk -b $BASEBRANCH $HOME/repo-apk
|
||||
git clone forgejo@ayakael.net:forge/repo-apk.git -b $BASEBRANCH $HOME/repo-apk
|
||||
fi
|
||||
|
||||
git -C $HOME/repo-apk annex sync --content
|
||||
|
||||
for i in $(find packages -type f -name "*.apk"); do
|
||||
install -vDm644 $i ${i/packages/$HOME\/repo-apk}
|
||||
done
|
||||
|
@ -53,4 +55,4 @@ done
|
|||
|
||||
git -C $HOME/repo-apk add .
|
||||
git -C $HOME/repo-apk commit -m "Update from $CI_MERGE_REQUEST_IID - $CI_MERGE_REQUEST_TITLE"
|
||||
git -C $HOME/repo-apk push
|
||||
git -C $HOME/repo-apk annex sync --content
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Maintainer:
|
||||
pkgname=py3-validators
|
||||
pkgver=0.20.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Python3 Data Validation for Humans"
|
||||
url="https://github.com/python-validators/validators"
|
||||
arch="noarch"
|
||||
|
|
Loading…
Reference in a new issue