[4.2] gitlab-ci: use git-annex instead of git-lfs #79
3 changed files with 6 additions and 4 deletions
|
@ -69,7 +69,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:
|
||||
|
|
|
@ -40,9 +40,11 @@ for release in $(find packages -type d -maxdepth 1 -mindepth 1 -printf '%f\n');
|
|||
git -C $HOME/repo-apk checkout $release
|
||||
git -C $HOME/repo-apk pull --rebase
|
||||
else
|
||||
git clone git@lab.ilot.io:ayakael/repo-apk -b $release $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/$release -type f -name "*.apk"); do
|
||||
install -vDm644 $i ${i/packages\/$release\/qubes-aports/$HOME\/repo-apk\/qubes\/$QUBES_REL}
|
||||
done
|
||||
|
@ -61,5 +63,5 @@ for release in $(find packages -type d -maxdepth 1 -mindepth 1 -printf '%f\n');
|
|||
|
||||
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
|
||||
done
|
||||
|
|
|
@ -7,7 +7,7 @@ subpackages="
|
|||
$pkgname-pyc
|
||||
"
|
||||
pkgver=4.2.17
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
_gittag="v$pkgver"
|
||||
pkgdesc="Common Linux files for Qubes VM."
|
||||
arch="x86_64"
|
||||
|
|
Loading…
Reference in a new issue