Commit Graph

249 Commits

Author SHA1 Message Date
Tortue Torche
8865ca6a88 Fix deleting 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

Reference: 694e5e0a0c
2021-12-10 14:44:30 +01:00
Tortue Torche
d7a4363fe5 Bump psu version to 1.3.0
Update psu, CHANGELOG and README
2021-12-07 18:28:47 +01:00
Tortue Torche
52188377ef Fix Portainer CE 2.9.3 API link 2021-12-07 18:16:38 +01:00
Tortue Torche
d5b5a14be2 Use Docker Compose 2.2.2 instead of Docker Compose 2.1.1 2021-12-07 18:13:52 +01:00
Tortue Torche
85c0b369df Update doc to explain how to set a custom CA bundle path 2021-12-03 18:52:42 +01:00
Tortue Torche
e871522410 Fix PSU when using a custom Certificate Authority (CA)
With the HTTPIE_VERIFY_SSL environment variable set with a path, e.g.
HTTPIE_VERIFY_SSL=/etc/ssl/certs/ca-certificates.crt

For more information, see:
https://curl.se/docs/manpage.html#--cacert
2021-12-03 18:34:53 +01:00
Tortue Torche
a4cdca2801 Add linux/arm/v7 architecture to support Raspberry Pi
Update README.md to mention Docker images multi-architecture
2021-12-01 17:47:21 +01:00
Tortue Torche
78a16ab932 Bump psu version to 1.3.0-beta.1
Update psu, CHANGELOG and README
2021-11-30 18:09:04 +01:00
Tortue Torche
83862e9429 Minor fix in helpers script 2021-11-30 18:03:15 +01:00
Tortue Torche
bdf3aecd5e Use 'docker:20-dind' image for GitLab CI, for better reliability
Instead of the 'docker:dind', which use the 'stable' version of Docker
2021-11-30 18:01:51 +01:00
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
159d9ca754 Upgrade Operating System of Docker based images with Alpine 3.15 2021-11-25 18:23:09 +01:00
Tortue Torche
121974e0af Test PSU with Portainer CE 2.9.3
And remove tests for Portainer CE 2.1.1
2021-11-25 18:16:11 +01:00
Tortue Torche
1360dd1935 Update README.md 2021-11-25 17:55:53 +01:00
Tortue Torche
861a7c4b38 Fix documentation scrolling between pages 2021-11-25 17:54:43 +01:00
Tortue Torche
34d1d9bfec Add Windows support, but it could be unstable ⚠️
"tr -d '\r'" is used to avoid Windows errors, reference:
https://github.com/stedolan/jq/issues/92
2021-09-23 18:27:18 +02:00
Tortue Torche
8261c27949 Add macOS support 2021-09-15 17:08:41 +02:00
Tortue Torche
b287b7f16f Remove parallel requests improvement, because it's buggy in some situations...
Revert #979b6ca0c83ce743c3867d1f0315624359f704de
2021-09-15 17:06:16 +02:00
Tortue Torche
c96de32f7e Bump psu version to 1.3.0-alpha
Update psu, CHANGELOG and README
2021-09-14 14:10:41 +02:00
Tortue Torche
c3a8d79fb3 Update README with current branch 2021-09-14 14:04:15 +02:00
Tortue Torche
5d2db6d563 Format code in tests 2021-09-14 13:56:45 +02:00
Tortue Torche
979b6ca0c8 Boost performance for some actions
Like 'status', 'tasks' and 'tasks:healthy', with parallel requests
2021-09-14 13:50:35 +02:00
Tortue Torche
c00c8fe67b Format Bash code 2021-09-14 13:46:09 +02:00
Tortue Torche
457aba0687 Fix psu tasks:healthy action output
when an error occurs
2021-09-14 13:44:20 +02:00
Tortue Torche
54b0f3854a Breaking Change: HTTPie is replaced by cURL
For smaller Docker images, faster execution and to be more portable
Running concurrently 'psu' commands should work now, by creating unique
temporary file names
2021-09-14 13:41:15 +02:00
Tortue Torche
f9530c46fa Bump psu version to 1.2.0
Update psu, CHANGELOG and README
2021-09-14 11:24:46 +02:00
Tortue Torche
e0511463ca Update tested Portainer versions list
Add Portainer 1.24.2
Remove Portainer 1.24.1 and 2.0.1
2021-09-14 11:10:14 +02:00
Tortue Torche
1b873ba148 Better documentation 2021-09-14 10:54:22 +02:00
Tortue Torche
ead44c5ed5 Add tests for actions, containers and services actions
Tests should run fine now with macOS
2021-09-14 10:53:59 +02:00
Tortue Torche
c54255381b Reduce Docker images size based on Alpine, again
Downgrade Docker Compose from 1.29.2 to 1.28.0 for Alpine image, to get
faster builds 🚀
2021-09-14 10:51:08 +02:00
Tortue Torche
a75b2536ad Bump psu version to 1.2.0-beta.1
Update CHANGELOG
2021-09-03 16:00:53 +02:00
Tortue Torche
bfa143e164 Fix Traefik doc links in CHANGELOG.md 2021-09-03 15:55:03 +02:00
Tortue Torche
730f4b0004 Use Traefik 2.5 instead of Traefik 2.4 for testing 2021-09-03 15:52:59 +02:00
Tortue Torche
fb73d0154c Update instructions to run tests locally 2021-09-03 15:15:00 +02:00
Tortue Torche
1f118e72d1 Fix some minor typos in CHANGELOG.md 2021-09-03 15:13:17 +02:00
Tortue Torche
a1986ef9b7 Add some instructions to run tests locally 2021-09-03 15:07:12 +02:00
Tortue Torche
cfbe17a43c Fix rm (remove) action with Portainer CE 2.6
The endpoint ID seems now to be required ¯\_(ツ)_/¯
2021-09-03 15:05:25 +02:00
Tortue Torche
4205e7b351 Run PSU tests with Portainer CE 2.5.1 and 2.6.3 2021-09-03 12:27:12 +02:00
Tortue Torche
2d7c42c80e Bump Docker Compose to 1.29.3 and upgrade OS
Use Docker Compose 1.29.3 instead of 1.28.3

Upgrade Operating System of Docker based images:
- With Alpine 3.14 (https://hub.docker.com/_/alpine)
- And Debian 11 (https://hub.docker.com/_/debian)

Reduce Docker image size
2021-09-03 11:36:23 +02:00
Tortue Torche
47d0ee3071 Bump psu version to 1.2.0-alpha
Update CHANGELOG
2021-02-19 12:36:01 +01:00
Tortue Torche
90dde1d9c9 Rename CLUSTER_ variables by SWARM_NODE_ when running tests
CLUSTER_NAME -> SWARM_NODE_NAME
CLUSTER_IP -> SWARM_NODE_IP
2021-02-19 12:27:23 +01:00
Tortue Torche
5275fc78f2 Experimental support for Portainer CE 2.0 & 2.1
Added:
- Test PSU with Portainer CE 2.0.1 API
- Test PSU with Portainer CE 2.1.1 API

Changed:
- Use Docker Compose 1.28.3 instead of Docker Compose 1.26.2
- Use Traefik 2.4 instead of Traefik 2.2 for testing
- Upgrade operating system of Docker based images, with Alpine 3.13

Removed:
- Test PSU with Portainer 1.22.2 API
- Test PSU with Portainer 1.23.2 API
2021-02-19 11:55:56 +01:00
Tortue Torche
498418f816 Fix Docker variants links 2021-02-18 14:36:59 +01:00
Tortue Torche
ecf7bb2af4 Bump psu version to 1.1.0
Update CHANGELOG and documentation
2021-02-18 14:04:38 +01:00
Tortue Torche
c9d3b1db09 Remove useless packages after building docker-compose 2021-02-16 15:32:39 +00:00
Tortue Torche
376ac032eb Fix 'cryptography' building error
See: https://cryptography.io/en/latest/installation.html#alpine
2021-02-08 09:33:20 +00:00
Tortue Torche
6efc1a0145 Use Traefik 2.2 instead of Traefik 2.1 for testing 2020-07-29 17:54:52 +02:00
Tortue Torche
c7a2b96e91 Fix changelog link for psu version 1.1.0-alpha 2020-07-29 17:53:59 +02:00
Tortue Torche
fda810cc00 Bump psu version to 1.1.0-alpha
Update CHANGELOG and doc
2020-07-29 17:33:51 +02:00