Commit Graph

8 Commits

Author SHA1 Message Date
Tortue Torche
4709863f1f Replace 'master' by 'main' git branch name in scripts
To keep compatibility a $CI_MAIN_BRANCH variable CI is set to 'master'
for the whole psuapp group

Reference:
https://about.gitlab.com/blog/2021/03/10/new-git-default-branch-name/
2021-11-30 17:58:56 +01:00
Tortue Torche
539f2b2a4a Docker images are now multi-architecture
With linux/amd64 and linux/arm64

Use Docker Compose 2.1.1 instead of Docker Compose 1.x
Reduce Docker images size, based on Alpine and Debian, again
2021-11-30 17:52:51 +01:00
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