Commit cd5b00f0 authored by James T. Lee's avatar James T. Lee
Browse files

CI: Generate metadata

parent 67edef3d
Pipeline #267 passed with stages
in 1 minute and 58 seconds
...@@ -17,9 +17,15 @@ stages: ...@@ -17,9 +17,15 @@ stages:
# Sync # Sync
- 'git pull --no-edit https://github.com/gentoo-haskell/gentoo-haskell.git' - 'git pull --no-edit https://github.com/gentoo-haskell/gentoo-haskell.git'
# Generate metadata
- 'echo -e "[haskell]\nlocation = ${PWD}" > /etc/portage/repos.conf/haskell.conf'
- 'eix-sync -q'
- 'echo "FEATURES=\"-ipc-sandbox -network-sandbox\"" >> /etc/portage/make.conf'
- 'egencache ${CI_HOST_EMERGE_DEFAULT_OPTS/-l/--load-average=} --repo=haskell --update --update-use-local-desc'
# Push # Push
# - 'git add .' - 'git add -f metadata/md5-cache profiles/use.local.desc'
# - 'git commit -m "$(date -I) snapshot"' - 'git commit -m "$(date -I) snapshot"'
- 'git remote set-url origin git@gitlab.james.tl:nest/gentoo/haskell.git' - 'git remote set-url origin git@gitlab.james.tl:nest/gentoo/haskell.git'
- 'git push -o ci.skip origin "HEAD:${CI_COMMIT_BRANCH}"' - 'git push -o ci.skip origin "HEAD:${CI_COMMIT_BRANCH}"'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment