gitlab-deps-cron 294 Bytes
Newer Older
mh's avatar
mh committed
1
#!/bin/bash -e
2

mh's avatar
mh committed
3
echo "Refetch deps.."
4
5
/usr/local/sbin/update-gitlab-deps --no-reload

mh's avatar
mh committed
6
echo "Add hooks to all projects..."
7
cat /var/lib/gitlab-deps/deps.list | cut -d: -f 1 | gitlab-deps set-hooks  --token-file /secrets/gitlab-token --webhook-auth-token $WEBHOOK_AUTH_TOKEN --hook-url $HOOK_URL