aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* deploy: try to restart the app when the CLI asks to do itPaul Bonaud2020-08-063-2/+50
| | | | | | | | | | | | | | | In some cases (rollback or deployment errored on clever side), clever-tools will fail when calling `clever deploy` because it thinks the currently being deployed commit is already deployed. However in some cases the git pushed commit is not the currently running commit. Leading to a failure in our deployment process. The proposed solution from the clever tools error is to launch `clever restart`. Until we wait for https://github.com/CleverCloud/clever-tools/issues/422 to be fixed, let's do what the error message say: try to restart in case of a deployment failure.
* Add support for linking service dependenciesClement Delafargue2020-07-022-0/+37
|
* fix(tests): use `! grep` instead of `grep -v`Clement Delafargue2020-06-303-7/+7
| | | | | | `grep -v` makes sure a file contains other lines than the one that matched. This is different from `! grep` which makes sure the file does not contain a line that matched.
* fix(test): log all commads to `$binary-commands`Clement Delafargue2020-06-301-1/+2
| | | | | Previously, only the commands not directly handled by the stub were logged. We want to log all commands instead
* add a test for `noop-if-up-to-date`Clement Delafargue2020-06-302-0/+36
| | | | | It makes sure `clever deploy` is _not_ called if the application is up-to-date on clever cloud
* Make commit ids overridable in the script mockClement Delafargue2020-06-301-3/+6
|
* tests: expectations on binary stubPaul Bonaud2020-06-234-0/+85
|
* tests: Add tests for the new 'restart' featurePaul Bonaud2020-06-232-0/+17
|
* add tests for scalability settingsClement Delafargue2020-06-221-0/+37
| | | | They make sure that ansible does not crash while calling `clever scale`
* tests: Add more test casesPaul Bonaud2020-06-194-9/+49
|
* deploy: remove custom polling script now that the CLI does it for usPaul Bonaud2020-06-171-1/+1
| | | | | See recent changes (https://github.com/CleverCloud/clever-tools/pull/415) introduced in 2.5.0+ version of the clever cli tools
* vars: fix `clever_base_env` by removing a variable if not necessaryPaul Bonaud2020-03-243-2/+20
| | | | | | The `CC_RUN_COMMAND` variable was defined in case we use haskell binary as entrypoints. However if the `clever_haskell_entry_point` variable is not defined we shouldn't define the `CC_RUN_COMMAND` env variable.
* Migrating single tasks file to a galaxy roleGaƫtan Duchaussois2018-02-222-0/+7