A collection or set of small scripts for automation
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Felix Stupp 6eb274e5e4
update.sh: Fixed pull on tag
6 years ago
.gitignore Added gitignore 6 years ago
LICENSE Added README with license 6 years ago
README.md Added updateList.sh 6 years ago
update.sh update.sh: Fixed pull on tag 6 years ago
updateList.sh Added updateList.sh 6 years ago

README.md

Scripts Collection

A small collection of scripts I use to control and automatically update my servers.

Released under GNU General Public License v3.0

update.sh

Usage: update.sh [dir]

Updates the current (or given) git repository to the newest tag with given prefix (defined inline, by default "^release"). Therefore, checks if the given tag is signed correctly by a gpg key with ultimate trust, otherwise the script will abort the update and exit with error code 1.

updateList.sh

Usage: updateList.sh [repository-path|repository-list]…

Updates all given git repositories (by using update.sh). If given a file instead of a directory, the script will try to update each directory defined in the file.

Format of repository-list files:

/dir/**/repo
**/repo
[...]