Commit Graph

6 Commits

Author SHA1 Message Date
Tortue Torche
2f8d413223 Fix 'git_reset_from_last_stable_tag' helper function
Setting $CI_COMMIT_TAG before calling 'git_reset_from_tag' will skip the git reset stuff
2020-01-17 12:56:02 +00:00
Tortue Torche
694e5e0a0c Delete Docker repository tags in bulk
Remove tag names that are matching the regex (Git SHA1), keep always at least 3 and remove those who are older than 8 days

See: https://docs.gitlab.com/12.6/ee/api/container_registry.html#delete-repository-tags-in-bulk
2020-01-17 12:56:02 +00:00
Tortue Torche
01cb6cc1b7 Small fix, use local variable in helpers.sh 2020-01-17 12:56:02 +00:00
Tortue Torche
4b98fba103 Rewrite these 'wget' commands with 'curl' commands 2020-01-17 12:56:02 +00:00
Tortue Torche
f984cdbe9a Fix git log "warning: command substitution: ignored null byte in input" message
See:
https://stackoverflow.com/a/18187760
https://askubuntu.com/a/926695
2020-01-17 12:56:02 +00:00
Tortue Torche
aca3e69669 Merge GitLab integration
# Conflicts:
#	CHANGELOG.md
#	Dockerfile
#	README.md
#	psu
2020-01-17 12:56:02 +00:00