Skip to content

Releases: fretlink/ansible-clever

Dhall 1.26.1 bindings

07 Oct 08:32
78c6d04
Compare
Choose a tag to compare

This release updates dhall binding to 1.26.1

The main change is that now types and terms can be bundled together.

Breaking changes

  • you need dhall 1.26.1
  • the import is now package.dhall instead of types.dhall and functions.dhall
  • The new structure is:
    • Addon.Type: the addon type
    • Addon.postgresql: the postgresql addon value
    • Config.Type: the config type
    • Config.mkConfig: the config builder function
    • Vault: the vault type

Compatibility release

06 Sep 09:18
3290aaf
Compare
Choose a tag to compare

This release makes the scripts used in the role compatible with simplified version of grep (I.e. busybox's one which does not have long options in CLI commands)

Revert back to manual polling instead of 'clever deploy' command

05 Aug 15:22
51ceebb
Compare
Choose a tag to compare

in v1.10 we started using the clever deploy command to launch deployments.

It seems the command is not always reliable (sometimes stuck for ever, sometimes returning even when deployment is not finished...) this is why we are back to a manual script to poll clever activity to get the deployment status.

The ansible tasks now waits for up to 40 minutes (as opposed to 10 minutes back in the days of polling system).

It should help to have a better CI status more in sync with Clever deployment status.

(+ upgrade to latest 1.4.2 clever cli tools)

Fix metrics setup and remove sshKey

04 Jul 08:20
8305eb9
Compare
Choose a tag to compare

v1.23 introduced a regression in metrics support. It has been fixed.

The sshKeys value in the dhall interface has been removed as it's not used directly by the role. It has been moved to ci-commons.

Dhall interface rework & metrics setup update

02 Jul 09:11
5e0fa99
Compare
Choose a tag to compare

The main part is an update of the dhall interface. The builder function now creates a minimal record that the caller can use as base, instead of taking all arguments. Optional fields are now optional and not nonified. org_id is not part of the vault anymore, as it's not confidential info.
The vault now stores a SSH private key. It may move to ci-commons at some point, or at least turn optional.

Metrics management is now done with CC_DISABLE_METRICS, instead of the deprecated ENABLE_METRICS).

Fix shell command for addons broken on some systems since 1.20

11 Jun 15:54
c6f248b
Compare
Choose a tag to compare
Merge pull request #44 from gaetanfl/fix_shell_pipefail

use bash with -o pipefail

Bugfix release on deployment errors

13 May 13:36
1d3b813
Compare
Choose a tag to compare

Bugfix release

  • deployment failures where not properly detected. This is fixed with a more robust condition of failure done in PR #42

Dhall interface upgrade

26 Apr 18:47
6bfc325
Compare
Choose a tag to compare

⚠️ this release has non compatible changes in the dhall interface code ⚠️

The dhall code functions to generate a correct ansible configuration for this role has been update to be compatible with the latest Dhall-lang version (v6.0.0 of the language)

You will thus need to check your dhall code using this interface for compatibility

Always change the clever.json file and link the correct application

26 Feb 18:25
015bb27
Compare
Choose a tag to compare

Before this release the .clever.json (the link to the correct Clever application) was only created if the file was not present. In some cases it is interesting to version this .clever.json (to target the test application for instance) directly in a project's repository. Doing so led to deployment problems in other environment.

This release thus forces the creation of the .clever.json file no matter what.

Happy deploy 🚀

Use full path for clever helper

22 Feb 15:57
51b0de0
Compare
Choose a tag to compare

When we use nix for deploying path is somehow complicated. This PR use absolute path to call helpers.