Skip to content

Commit

Permalink
Merge pull request #61 from mwestphall/SOFTWARE-4643-repo-update-cadi…
Browse files Browse the repository at this point in the history
…st-in-update-all-repos

SOFTWARE-4643: move repo-update-cadist call from cron job to update_all_repos.sh
  • Loading branch information
mwestphall authored Nov 6, 2023
2 parents 03d20d9 + b708a29 commit 0da102d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 9 additions & 1 deletion bin/update_all_repos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ done
datemsg "Finished updating all mash repos."
echo

# Update cadist under /usr/local/repo/cadist
# Updates and errors go to /var/log/repo-update-cadist.{stdout,stderr}
datemsg "Running repo-update-cadist."
if ! flock -n /var/lock/repo-update-cadist /usr/bin/repo-update-cadist ; then
datemsg "repo-update-cadist failed."
failed=1
fi

# SOFTWARE-4420, SOFTWARE-4689: temporary upcoming symlink to 3.5-upcoming
uplink=/usr/local/repo/osg/upcoming
[[ -L $uplink ]] || ln -s 3.5-upcoming $uplink
Expand All @@ -66,5 +74,5 @@ if [[ $failed = 0 ]]; then
echo $(date) > /usr/local/repo/osg/timestamp.txt
fi

exit $failed

exit $failed
4 changes: 0 additions & 4 deletions docker/repo-update-cadist.cron

This file was deleted.

0 comments on commit 0da102d

Please sign in to comment.