Commit Graph

188 Commits

Author SHA1 Message Date
Tortue Torche
781152570c Fix README.md 2020-01-17 15:35:32 +01:00
Tortue Torche
0d494afea7 Use the $CLEANUP_REGISTRIES_ENABLED CI variable for deleting Docker repository tags in bulk
See commit: 694e5e0a0c
2020-01-17 15:35:19 +01:00
Tortue Torche
7872bb7e7d Bump psu version to 1.0.3
Update CHANGELOG
2020-01-17 12:56:02 +00:00
Tortue Torche
1334a77bb2 Use Traefik 2.1 instead of Traefik 1.7 for testing 2020-01-17 12:56:02 +00: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
358fa7575a Fix the deleting Docker repository tags in bulk job
The 'scripts/helpers.sh' is in the git repository so the $GIT_STRATEGY variable must not be set to 'none'.
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
3033702a69 Bump psu version to 1.0.2 2020-01-17 12:56:02 +00:00
Tortue Torche
266c991a01 Update CHANGELOG and README with 0.1.2 version 2020-01-17 12:56:02 +00:00
Tortue Torche
30a893813d Run PSU tests with Portainer 1.21.0, 1.22.2 and 1.23.0
Remove Portainer 1.20.2 support
2020-01-17 12:56:02 +00:00
Tortue Torche
878fe12ee3 Bump psu version to 1.0.1 2020-01-17 12:56:02 +00:00
Tortue Torche
8838d49d6e Keep HTTPIE_VERIFY_SSL value if already set and '--insecure' option is set to 'false'. 2020-01-17 12:56:02 +00:00
Tortue Torche
fc338007f1 Better docker-compose and httpie installation. 2020-01-17 12:56:02 +00:00
Tortue Torche
f87cfa64b8 Remove Portainer 1.19.2 support.
Because it's unavailable on Docker Hub.
And bump the last Portainer to 1.22.1
2020-01-17 12:56:02 +00:00
Tortue Torche
b9709f8ce9 Fix docker-compose and httpie installation. 2020-01-17 12:56:02 +00:00
Tortue Torche
14eeee863d Add some examples for main commands in docs. 2020-01-17 12:56:02 +00:00
Tortue Torche
793382dcd0 Update docs for Job stuff, again... 2020-01-17 12:56:02 +00:00
Tortue Torche
58f14750ab Fix License link and add a License page in docs. 2020-01-17 12:56:02 +00:00
Tortue Torche
9c0800f8ae Fix typo in docs. 2020-01-17 12:56:02 +00:00
Tortue Torche
0c8a1c270f Update docs for Job stuff. 2020-01-17 12:56:02 +00:00
Tortue Torche
4624c4e680 Update GitLab CI config according to Docker 19.03 release
See: https://about.gitlab.com/2019/07/31/docker-in-docker-with-docker-19-dot-03/
2020-01-17 12:56:02 +00:00
Tortue Torche
7bb3522cef Run PSU tests with Portainer 1.21.0
Because the latest Portainer release is now 1.22.0
2020-01-17 12:56:02 +00:00
Tortue Torche
cf83068821 Add some documentation on Job definition and the '--detect-job' option. 2020-01-17 12:56:02 +00:00
Tortue Torche
2258551c6d Fix CHANGELOG links for 1.0.0 release 2020-01-17 12:56:02 +00:00
Tortue Torche
ebbc89d8bd Bump psu version to 1.0.0
Hurray!
2020-01-17 12:56:02 +00:00
Tortue Torche
e1a699a73b Fix GitLab Docker Registry link in README.md 2020-01-17 12:56:02 +00:00
Tortue Torche
2b2d26fead Add GitLab Docker Registry link in README.md 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
Tortue Torche
edde3e86c7 Change version to 1.0.0-alpha.12 2020-01-17 12:56:02 +00:00
Tortue Torche
9995e1c6da Cleanup "License" section in the readme 2020-01-17 12:56:02 +00:00
Tortue Torche
91e79b9e41 Add link to "How to use" section at the end of "Docker image" section 2020-01-17 12:56:02 +00:00
Tortue Torche
c015e5b7cf Add link to "How to use" section at the end of "How to install" section 2020-01-17 12:56:02 +00:00
Tortue Torche
42eebbd3cd Fix typo in Readme 2020-01-17 12:56:02 +00:00
Tortue Torche
4574ebc15e Limit chmod to psu binary in Dockerfile 2020-01-17 12:56:02 +00:00
Tortue Torche
10aa47d546 Move packages installation before environment variables in Dockerfile 2020-01-17 12:56:02 +00:00
Tortue Torche
998dda0e38 Add docker-compose to Docker image 2020-01-17 12:56:02 +00:00
Tortue Torche
a75ad5e5df Update environment variables in Dockerfile 2020-01-17 12:56:02 +00:00
Tortue Torche
66aa11b677 Fix base Docker image to alpine:3.10 2020-01-17 12:56:02 +00:00
Tortue Torche
3d5ca94b9e Change version to 1.0.0-alpha.11 2020-01-17 12:56:02 +00:00
Tortue Torche
b8e210dace Add comment markers to delimit inputs, prints, actions and helpers sections of the script 2020-01-17 12:56:02 +00:00
Tortue Torche
32e1069d43 Move env_file_to_json next to other helper functions 2020-01-17 12:56:01 +00:00
Tortue Torche
804010c88d Enable -x flag in shell if PSU_TRACE is set 2020-01-17 12:56:01 +00:00
Tortue Torche
adeb5519e7 Add "Help" section to help 2020-01-17 12:56:01 +00:00
Tortue Torche
3957b6d8dd Update script header comment about it's benefits 2020-01-17 12:56:01 +00:00
Tortue Torche
506965c788 Several changes
- Merge --compose-file and --stack-file flags
- Add --env-file-base64 and --compose-file-base64 flags
- Update action aliases
2020-01-17 12:56:01 +00:00
Tortue Torche
ab1c30e3f1 Update action aliases usage notice 2020-01-17 12:56:01 +00:00
Tortue Torche
2bc1f20cba Extract actions table transform to transform_actions_table function 2020-01-17 12:56:01 +00:00