Jose Diaz-Gonzalez
a8a43812a0
chore: make deprecation notice more readable
2021-08-01 23:15:01 -04:00
Jose Diaz-Gonzalez
0decb386d5
fix: correct issues in parsing and writing an updated app.json
2021-08-01 21:52:05 -04:00
Jose Diaz-Gonzalez
eb55ba5dd0
fix: correct guard
2021-08-01 18:46:41 -04:00
Jose Diaz-Gonzalez
a7593db0c3
refactor: allow specifying clearExisting when calling ps-set-scale
2021-08-01 17:54:12 -04:00
Jose Diaz-Gonzalez
70eb751868
fix: correct ps-can-scale guard
2021-08-01 16:26:29 -04:00
Jose Diaz-Gonzalez
46d333df4b
feat: implement ps-set-scale trigger
2021-08-01 16:13:03 -04:00
Jose Diaz-Gonzalez
bc49a2e124
fix: ignore DOKKU_SCALE file if app.json has formations key
2021-08-01 00:30:31 -04:00
Jose Diaz-Gonzalez
3fe10efd09
fix: correct issue with assignment to nil map
2021-07-31 23:00:37 -04:00
Jose Diaz-Gonzalez
772e4286f2
fix: variable reference
2021-07-31 22:44:05 -04:00
Jose Diaz-Gonzalez
b9e30e7e19
fix: remove redundant if check
2021-07-31 22:23:19 -04:00
Jose Diaz-Gonzalez
67317f88df
fix: do not force fetching of the DOKKU_SCALE file
2021-07-31 20:54:14 -04:00
Jose Diaz-Gonzalez
c6d99722eb
fix: correct stickler errors
2021-07-31 20:54:14 -04:00
Jose Diaz-Gonzalez
bd2aa1bd43
feat: migrate the DOKKU_SCALE property during pre-deploy to app.json
2021-07-31 20:54:14 -04:00
Jose Diaz-Gonzalez
6d9520e599
feat: add support for formation key in app.json file
...
Still needs triggers for ps-can-scale and ps-scale-set.
Refs #4500
2021-07-31 20:54:14 -04:00
Jose Diaz-Gonzalez
f9247a9c42
fix: strip published port flags when triggering deploy tasks
...
Closes #4664
2021-07-11 20:55:12 -04:00
Jose Diaz-Gonzalez
a6113f88e7
featfeat: add ability to specify a custom app.json path
2021-07-10 14:57:56 -04:00
Jose Diaz-Gonzalez
8766820974
fix: always retire deployment task containers
...
Without this, the normal cleanup routine would not remove the containers, and removal would require a manual call to 'dokku cleanup'.
2021-05-22 15:37:21 -04:00
Jose Diaz-Gonzalez
578f6e7ba5
fix: ensure deployment task containers get associated to internal networks
...
Closes #4543
2021-04-13 19:47:45 -04:00
Jose Diaz-Gonzalez
356ed6f9eb
feat: modify the deployment task if the detected entrypoint is tini
...
Closes #4522
2021-03-25 20:17:16 -04:00
Jose Diaz-Gonzalez
376d7bdac6
fix: ignore set pipefail errors when DOKKU_SHELL is set to sh
2021-03-25 20:10:41 -04:00
Jose Diaz-Gonzalez
1ec71cd509
refactor: switch detected builder so first one wins
...
Also rename internal cnb references to pack (where possible).
2021-02-28 16:19:41 -05:00
Jose Diaz-Gonzalez
d09a7506df
refactor: bubble up error handling so that standard exit codes can be set at the top-level
...
LogFail shouldn't be called internally if at all possible.
2021-02-28 15:20:46 -05:00
Jose Diaz-Gonzalez
f98e7702fb
feat: implement heroku's postdeploy deployment task
...
This occurs during the postdeploy on the first deploy of an app, mimicking heroku. It currently happens _after_ the `postdeploy` and `release` deploy tasks.
2021-02-28 04:51:42 -05:00
Jose Diaz-Gonzalez
0673fdff2d
fix: handle new herokuish image detection in deployment tasks
2021-02-11 07:16:43 -05:00
Jose Diaz-Gonzalez
da1ddee0ba
fix: override the launcher for cnb apps since the default launcher is the process launcher...
2021-02-11 06:51:01 -05:00
Jose Diaz-Gonzalez
34807028db
feat: ensure we inject environment variables into the docker container create call in app-json
...
This fixes an issue where the values are empty for CNB applications.
2021-02-11 06:43:15 -05:00
Jose Diaz-Gonzalez
7c923a0fa1
fix: swap order of arguments on config-get call
2021-02-10 05:23:42 -05:00
Jose Diaz-Gonzalez
b7ff627368
fix: correct app-specific shell handling
2021-01-23 12:44:07 -05:00
Jose Diaz-Gonzalez
f7ef14d737
feat: add initial scheduled task implementation
...
This functionality enables users to manage a global crontab for the Dokku user that contains all scheduled tasks across all apps. Alternative schedulers can implement cron tasks as desired.
2021-01-20 14:49:48 -05:00