From fda810cc00ed98978628491a3e1e01cae62b6c7e Mon Sep 17 00:00:00 2001 From: Tortue Torche <126358-tortuetorche@users.noreply.gitlab.com> Date: Wed, 29 Jul 2020 17:33:51 +0200 Subject: [PATCH] Bump psu version to 1.1.0-alpha Update CHANGELOG and doc --- CHANGELOG.md | 4 +++- README.md | 7 +++++-- docs/README.md | 2 +- psu | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b3c6a9..f40b7c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [1.1.0-alpha] - 2020-07-29 ### Changed - Upgrade operating system of Docker based images, with [Alpine 3.12](https://hub.docker.com/_/alpine) and [Debian 10](https://hub.docker.com/_/debian) @@ -84,7 +86,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Debug mode - Strict mode -[Unreleased]: https://gitlab.com/psuapp/psu/compare/v1.0.5...1-0-stable +[Unreleased]: https://gitlab.com/psuapp/psu/compare/v1.1.0-alpha...1-1-next [1.0.5]: https://gitlab.com/psuapp/psu/-/tags/v1.0.5 [1.0.4]: https://gitlab.com/psuapp/psu/-/tags/v1.0.4 [1.0.3]: https://gitlab.com/psuapp/psu/-/tags/v1.0.3 diff --git a/README.md b/README.md index 18a1bb6..aecbbfa 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,7 @@ For detailed instructions, see [How to use](#how-to-use) section. Published Docker images are [tagged](https://hub.docker.com/r/psuapp/psu/tags) matching [GitLab tags](https://gitlab.com/psuapp/psu/-/tags): +- `1.1.0-alpha` -> [`v1.1.0-alpha`](https://gitlab.com/psuapp/psu/-/tags/v1.1.0-alpha) - `1`, `1.0`, `1.0.5` -> [`v1.0.5`](https://gitlab.com/psuapp/psu/-/tags/v1.0.5) - `1.0.4` -> [`v1.0.4`](https://gitlab.com/psuapp/psu/-/tags/v1.0.4) - `1.0.3` -> [`v1.0.3`](https://gitlab.com/psuapp/psu/-/tags/v1.0.3) @@ -81,15 +82,17 @@ Published Docker images are [tagged](https://hub.docker.com/r/psuapp/psu/tags) m The `core` variant doesn't include `docker-compose`, so it's a bit smaller. But you can't lint Docker compose/stack file before deploying a stack. +- `1.1.0-alpha-core` -> [`v1.1.0-alpha`](https://gitlab.com/psuapp/psu/-/tags/v1.1.0-alpha) - `1-core`, `1.0-core`, `1.0.5-core`, `core` -> [`v1.0.5`](https://gitlab.com/psuapp/psu/-/tags/v1.0.5) The `debian` and `debian-core` variants use [Debian](https://www.debian.org) instead of [Alpine](https://alpinelinux.org/) as base image for `psu`. +- `1.1.0-alpha-debian` -> [`v1.1.0-alpha`](https://gitlab.com/psuapp/psu/-/tags/v1.1.0-alpha) +- `1.1.0-alpha-debian-core` -> [`v1.1.0-alpha`](https://gitlab.com/psuapp/psu/-/tags/v1.1.0-alpha) - `1-debian`, `1.0-debian`, `1.0.5-debian`, `debian` -> [`v1.0.5`](https://gitlab.com/psuapp/psu/-/tags/v1.0.5) - `1-debian-core`, `1.0-debian-core`, `1.0.5-debian-core`, `debian-core` -> [`v1.0.5`](https://gitlab.com/psuapp/psu/-/tags/v1.0.5) - #### Testing/debugging: For testing/debugging, you can use this Docker image in interactive mode, to run any commands inside the container: @@ -97,7 +100,7 @@ For testing/debugging, you can use this Docker image in interactive mode, to run docker run -v $(pwd)/docker-compose.yml:/docker-compose.yml -it --rm --entrypoint bash psuapp/psu:1.0 # Run any commands here! E.g. $ psu --version -Portainer Stack Utils, version 1.0.5 +Portainer Stack Utils, version 1.1.0-alpha License GPLv3: GNU GPL version 3 ``` diff --git a/docs/README.md b/docs/README.md index 131587a..82e5f46 100644 --- a/docs/README.md +++ b/docs/README.md @@ -729,5 +729,5 @@ The `psu` definition of a job is a Swarm [service](https://docs.docker.com/engin Using a job is useful when you want to have a service who run a script (e.g. database migration). And shutdown this service when its script is successfully executed. -See the service named `job` in the [`docker-stack-web-app.yml`](https://gitlab.com/psuapp/psu/tree/v1.0.5/tests/dockerfiles/docker-stack-web-app.yml) file, for a real use case. +See the service named `job` in the [`docker-stack-web-app.yml`](https://gitlab.com/psuapp/psu/tree/v1.1.0-alpha/tests/dockerfiles/docker-stack-web-app.yml) file, for a real use case. It has both a container's label `job-name` and a restart policy set to `none`. diff --git a/psu b/psu index 846aa41..b62baee 100644 --- a/psu +++ b/psu @@ -27,7 +27,7 @@ set -e # None # ############################ main() { - VERSION="1.0.5" + VERSION="1.1.0-alpha" OPTIONS_TABLE=( # option_key;flag_text;option_text;description