language: nix
nix: 2.3.4
env:
- - CUSTOM_NIX_PATH=nixpkgs=channel:nixos-20.03
+ - CUSTOM_NIX_PATH=nixpkgs=channel:nixos-20.09
# Travis nix integration will install nix AFTER the environment variables are set
# and the nix installer will overide NIX_PATH variable thus we need to re-export it
This role requires [`clever-tools`](https://github.com/CleverCloud/clever-tools) CLI version `2.6.1` or higher.
-If you want to configure this role with [Dhall](https://dhall-lang.org/) instead of YAML, the role publishes dhall bindings defined in the `dhall/package.dhall` file. These bindings will need Dhall version `1.26.0` or higher.
+If you want to configure this role with [Dhall](https://dhall-lang.org/) instead of YAML, the role publishes dhall bindings defined in the `dhall/package.dhall` file. These bindings will need Dhall version `1.29.0` or higher.
Role Variables
--------------
with pkgs;
{
inherit shellcheck
- ansible_2_8;
- inherit (python37Packages)
+ ansible_2_8
+ dhall;
+ inherit (python3Packages)
ansible-lint;
- inherit (haskellPackages)
- dhall_1_27_0;
}
< Postgresql : { name : Text, env_prefix : Text }
| Mysql : { name : Text, env_prefix : Text }
| Redis : { name : Text, env_prefix : Text }
+ | MongoDB : { name : Text, env_prefix : Text }
>
let postgresql =
let redis = Addon.Redis { name = "redis", env_prefix = "REDIS" }
-in { Type = Addon, postgresql = postgresql, mysql = mysql, redis = redis }
+let mongodb = Addon.MongoDB { name = "mongodb", env_prefix = "MONGODB_ADDON" }
+
+in { Type = Addon, postgresql, mysql, redis, mongodb }