Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #80 from gaetanfl/bump_nix_versionHEADmaster | Gaëtan | 2021-10-25 | 1 | -1/+1 |
|\ | | | | | ci(bump): bump nix version to avoid certificate error | ||||
| * | ci(bump): bump nix version to avoid certificate error | Gaëtan Duchaussois | 2021-10-25 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #79 from antoine-fl/bump_clever_waiting_timev2.10 | antoine-fl | 2021-06-03 | 2 | -6/+6 |
|\ | | | | | Bump clever waiting time to 1 hour | ||||
| * | Bump clever waiting time to 1 hour | Antoine Vandecreme | 2021-06-03 | 2 | -6/+6 |
|/ | |||||
* | Merge pull request #78 from paulrbr-fl/add-mongo-addonv2.9 | paulrbr-fl | 2020-12-08 | 4 | -7/+9 |
|\ | | | | | dhall: Add the MongoDB addon type to the Addon sum type | ||||
| * | dhall: upgrade minimum compatible Dhall version to at least 1.29.0 | Paul Bonaud | 2020-12-08 | 3 | -6/+5 |
| | | | | | | | | | | This commit also upgrades the nix channel used in the CI to be able to test with Dhall v1.34.0 | ||||
| * | dhall: Add the MongoDB addon type to the Addon sum type | Paul Bonaud | 2020-12-08 | 1 | -1/+4 |
|/ | |||||
* | Merge pull request #77 from paulrbr-fl/new-slack-token | paulrbr-fl | 2020-10-12 | 1 | -2/+6 |
|\ | | | | | travis: Use encrypted token for slack notification | ||||
| * | travis: Use encrypted token for slack notification | Paul Bonaud | 2020-10-05 | 1 | -2/+6 |
|/ | | | | | | | | | | | | | | | | This encrypts the token used to talk with Slack (with a new generated token and the old one has been revoked) Encrypted using the repository key with the `travis` CLI: ``` travis encrypt "<user>:<token>" --add notifications.slack.rooms ``` cf documentation https://docs.travis-ci.com/user/notifications/#configuring-slack-notifications About #66 | ||||
* | Merge pull request #76 from paulrbr-fl/add-license | paulrbr-fl | 2020-10-05 | 2 | -6/+23 |
|\ | | | | | Prepare for open-source: adding license and clarification in README | ||||
| * | Update README.md | paulrbr-fl | 2020-10-05 | 1 | -1/+1 |
| | | | | | | Co-authored-by: Clément Delafargue <39330590+clementd-fretlink@users.noreply.github.com> | ||||
| * | Prepare for open-source: adding license and clarification in README | Paul Bonaud | 2020-10-05 | 2 | -6/+23 |
|/ | | | | About #66 | ||||
* | Merge pull request #75 from paulrbr-fl/clever-restart-when-askedv2.8 | paulrbr-fl | 2020-08-06 | 5 | -3/+65 |
|\ | | | | | deploy: try to restart the app when the CLI asks to do it | ||||
| * | deploy: try to restart the app when the CLI asks to do it | Paul Bonaud | 2020-08-06 | 5 | -3/+65 |
|/ | | | | | | | | | | | | | | | 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. | ||||
* | Merge pull request #74 from clementd-fretlink/service-dependenciesv2.7 | Clément Delafargue | 2020-07-03 | 10 | -18/+88 |
|\ | | | | | Service dependencies | ||||
| * | Remove compatibility code for now-unsupported clever-tools versions | Clement Delafargue | 2020-07-02 | 1 | -16/+1 |
| | | |||||
| * | Fix `clever_addons` example | Clement Delafargue | 2020-07-02 | 1 | -1/+1 |
| | | |||||
| * | Add support for linking service dependencies | Clement Delafargue | 2020-07-02 | 6 | -0/+68 |
| | | |||||
| * | Add dhall definitions for linked service dependencies | Clement Delafargue | 2020-07-02 | 3 | -1/+18 |
|/ | |||||
* | Merge pull request #72 from clementd-fretlink/noop-if-up-to-date | Clément Delafargue | 2020-06-30 | 9 | -12/+68 |
|\ | | | | | don't run `clever deploy` if the app is up-to-date | ||||
| * | fix(tests): use `! grep` instead of `grep -v` | Clement Delafargue | 2020-06-30 | 3 | -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 Delafargue | 2020-06-30 | 1 | -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 Delafargue | 2020-06-30 | 2 | -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 mock | Clement Delafargue | 2020-06-30 | 1 | -3/+6 |
| | | |||||
| * | Don't run `clever deploy` if the app is up-to-date | Clement Delafargue | 2020-06-30 | 3 | -1/+17 |
|/ | | | | | | | | | | | Running `git push` when the remote is up-to-date no-ops (it does not trigger a deployment, but it does not fail either). Running `clever deploy` when the remote is up-to-date triggers a failure. Here, we care about the _end result_ (ie the app is deployed on the correct commit), so no-oping is more appropriate. This behaviour is not baked in `clever-tools`, but I think it should. I opened an issue. This script is a temporary workaround. (at least I hope it's temporary) https://github.com/CleverCloud/clever-tools/issues/422 | ||||
* | Merge pull request #73 from paulrbr-fl/fix-timeout-on-deploy | paulrbr-fl | 2020-06-30 | 2 | -2/+7 |
|\ | | | | | fix: prevent crash when the deployment times out | ||||
| * | ci: trying to fix nix-channel by removing unstable channel | Paul Bonaud | 2020-06-30 | 1 | -1/+6 |
| | | | | | | | | | | | | NIX_PATH used to be enough to select the channel to use, but as Travis add the nixpkgs-unstable channel we can get unexpected results when nix decides to push a new unstable version out there in the public. | ||||
| * | fix: prevent crash when the deployment times out | Paul Bonaud | 2020-06-29 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #71 from paulrbr-fl/clever-restartv2.6 | paulrbr-fl | 2020-06-23 | 1 | -0/+2 |
|\ | | | | | dhall: add missing configuration for clever_restart_only variable | ||||
| * | dhall: add missing configuration for clever_restart_only variable | Paul Bonaud | 2020-06-23 | 1 | -0/+2 |
|/ | | | | This change was forgotten in #70 | ||||
* | Merge pull request #70 from paulrbr-fl/clever-restart | paulrbr-fl | 2020-06-23 | 9 | -5/+136 |
|\ | | | | | feature: add a new 'clever_restart_only' flag to restart an app | ||||
| * | tests: expectations on binary stub | Paul Bonaud | 2020-06-23 | 4 | -0/+85 |
| | | |||||
| * | tests: Add tests for the new 'restart' feature | Paul Bonaud | 2020-06-23 | 3 | -4/+18 |
| | | |||||
| * | feature: add a new 'clever_restart_only' flag to restart an app | Paul Bonaud | 2020-06-23 | 3 | -1/+33 |
|/ | | | | | This new flag will perform a restart on the target clever cloud application instead of deploying it. | ||||
* | Merge pull request #69 from paulrbr-fl/documentation | paulrbr-fl | 2020-06-22 | 4 | -50/+43 |
|\ | | | | | core: README cleanup and test env cleanup | ||||
| * | core: define nix env for travis with a unique default.nix file | Paul Bonaud | 2020-06-22 | 3 | -26/+14 |
| | | |||||
| * | core: cleanup the README to better document the role | Paul Bonaud | 2020-06-22 | 1 | -24/+29 |
|/ | | | | Part of #66 | ||||
* | Merge pull request #67 from clementd-fretlink/scaling | Clément Delafargue | 2020-06-22 | 7 | -1/+111 |
|\ | | | | | scalability configuration | ||||
| * | add tests for scalability settings | Clement Delafargue | 2020-06-22 | 2 | -0/+38 |
| | | | | | | | | They make sure that ansible does not crash while calling `clever scale` | ||||
| * | Add support for scalability configuration | Clement Delafargue | 2020-06-22 | 5 | -1/+73 |
|/ | | | | Closes #52 | ||||
* | Merge pull request #68 from paulrbr-fl/bug-fix | paulrbr-fl | 2020-06-19 | 8 | -14/+53 |
|\ | | | | | fix: make sure not to include unecessary ENV variable | ||||
| * | fix: make sure not to include unecessary ENV variable | Paul Bonaud | 2020-06-19 | 2 | -2/+0 |
| | | | | | | | | | | | | | | This is a fix to an unfortunate bug introduced by #64 because we had a default value set to `None` on the `clever_haskell_entry_point`. Ansible considers `None` as a defined value so the `is defined` condition doesn't match our need | ||||
| * | core: fix execution mode on shell script | Paul Bonaud | 2020-06-19 | 1 | -0/+0 |
| | | |||||
| * | tests: Add more test cases | Paul Bonaud | 2020-06-19 | 5 | -12/+53 |
|/ | |||||
* | Merge pull request #55 from clementd-fretlink/build-flavor | Clément Delafargue | 2020-06-19 | 3 | -1/+13 |
|\ | | | | | Add optional build flavor configuration | ||||
| * | Update default `clever-tools` version in the readme | Clément Delafargue | 2020-06-19 | 1 | -1/+1 |
| | | | | | | Co-authored-by: paulrbr-fl <43074087+paulrbr-fl@users.noreply.github.com> | ||||
| * | Specify clever-tools version constaints in README | Clement Delafargue | 2020-06-19 | 1 | -0/+1 |
| | | |||||
| * | Inline `clever scale --build-flavor` command | Clement Delafargue | 2020-06-19 | 3 | -12/+1 |
| | | |||||
| * | Add optional build flavor configuration | Clement Delafargue | 2020-06-19 | 5 | -0/+22 |
|/ | |||||
* | Merge pull request #64 from clementd-fretlink/json-env | Clément Delafargue | 2020-06-19 | 5 | -10/+23 |
|\ | | | | | Use JSON import for environment variables |