Commit Graph
14509 Commits
Author SHA1 Message Date
Jose Diaz-Gonzalez 18a6ba90f9 fix: add the correct log mount for app logs
As per documentation, the `/var/log/dokku/apps` should be mounted from the host to the container. The existing mount was `/var/log/dokku` mounted to `/var/logs/dokku/apps`.

The broken mount will be removed in the next minor.
2021-03-12 06:31:01 -05:00
Jose Diaz-Gonzalez a901661e91 chore: set perms on tmp git directory 2021-03-12 02:55:33 -05:00
Jose Diaz-Gonzalez 9781a905a7 fix: create correct clone directory 2021-03-12 02:55:22 -05:00
Jose Diaz-Gonzalez 4cd064f76c chore: run shfmt against file 2021-03-12 02:53:28 -05:00
arturs f9be3dd974 clean up remove clone folder fn 2021-03-12 09:24:41 +02:00
arturs 4e50214b80 remove redundant commands from test 2021-03-12 08:25:55 +02:00
arturs 5c27ec31b7 add deploy command to tests 2021-03-11 21:55:32 +02:00
arturs b061843eb1 fix formatting issue 2021-03-11 20:46:06 +02:00
arturs 76d9b37b22 fix typo 2021-03-11 19:19:59 +02:00
arturs dff21e1d36 fix test 2021-03-11 18:58:50 +02:00
arturs 888f45254a fix shfmt 2021-03-11 17:59:46 +02:00
arturs ebcacdb5af add new line at the end of the file 2021-03-11 17:46:20 +02:00
arturs 5a002f9007 update docs 2021-03-11 17:45:41 +02:00
arturs 8d11789566 add tests and prompt to unlock 2021-03-11 17:41:39 +02:00
Jose Diaz-Gonzalez b0677fefa7 Merge pull request #4470 from dokku/dependabot/npm_and_yarn/tests/apps/dot-websocket.disabled/socket.io-4.0.0
chore(deps): bump socket.io from 3.1.2 to 4.0.0 in /tests/apps/.websocket.disabled
2021-03-11 02:17:52 -05:00
dependabot-preview[bot] 76d36f0758 chore(deps): bump socket.io in /tests/apps/.websocket.disabled
Bumps [socket.io](https://github.com/socketio/socket.io) from 3.1.2 to 4.0.0.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/master/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/3.1.2...4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-11 06:43:33 +00:00
arturs 5ae531ca25 remove unnecessary code 2021-03-10 22:58:40 +02:00
arturs 5debadfde1 remove redundant code 2021-03-10 22:10:44 +02:00
arturs 642dc83702 fix lint issue 2021-03-10 20:31:44 +02:00
arturs 99bc51f106 fix unlock command 2021-03-10 19:29:23 +02:00
arturs c05f220d14 make unlock file exec 2021-03-09 18:49:42 +02:00
arturs 741ea68cac fix formatting according to shfmt 2021-03-07 15:37:40 +02:00
arturs 58dca68fb4 fix has_tty if condition 2021-03-07 15:29:07 +02:00
arturs b1db1e3e6f add git:unlock functionality 2021-03-07 12:28:03 +02:00
Jose Diaz-Gonzalez e4c7e3eb74 docs: add note about auto-accepting a git branch as the primary branch on first push
[ci skip]
2021-03-05 11:04:42 -05:00
Jose Diaz-Gonzalez 0c9a98ce18 Merge pull request #4462 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-190
chore(deps-dev): bump heroku/heroku-buildpack-php from 189 to 190 in /tests/apps/php
2021-03-05 02:47:33 -05:00
dependabot-preview[bot] 30d71d4a0e chore(deps-dev): bump heroku/heroku-buildpack-php in /tests/apps/php
Bumps [heroku/heroku-buildpack-php](https://github.com/heroku/heroku-buildpack-php) from 189 to 190.
- [Release notes](https://github.com/heroku/heroku-buildpack-php/releases)
- [Changelog](https://github.com/heroku/heroku-buildpack-php/blob/main/CHANGELOG.md)
- [Commits](https://github.com/heroku/heroku-buildpack-php/compare/v189...v190)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-05 06:24:58 +00:00
Dokku Bot 239391540f Release 0.24.1
# History

## 0.24.1

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.24.1/bootstrap.sh
sudo DOKKU_TAG=v0.24.1 bash bootstrap.sh
```

### Bug Fixes

- #4454: @josegonzalez Use proper title for azure releases and fix tmp dir creation

### Documentation

- #4461: @josegonzalez Add dark mode support to documentation site
- #4457: @Cellane Rename 0.24.0 migration guide
- #4456: @josegonzalez Fix doc link and add 0.24.0 appendix to migration guides
v0.24.1
2021-03-05 04:41:24 +00:00
Jose Diaz-Gonzalez 8f37b0f409 Merge pull request #4461 from dokku/4344-dark-mode
Add dark mode support to documentation site
2021-03-04 23:40:13 -05:00
Jose Diaz-Gonzalez 13d69a13f1 docs: add automatic dark-mode to docs site 2021-03-04 23:39:02 -05:00
Jose Diaz-Gonzalez f734fb34f8 Merge pull request #4457 from Cellane/0.24.0-migration-guide
Rename 0.24.0 migration guide
2021-03-01 19:47:17 -05:00
Milan Vit f186f6cc79 Rename 0.24.0 migration guide 2021-03-02 09:43:46 +09:00
Jose Diaz-Gonzalez 16f0a0dcfb Merge pull request #4456 from dokku/4455-upgrade-doc-link
Fix doc link and add 0.24.0 appendix to migration guides
2021-03-01 12:01:49 -05:00
Jose Diaz-Gonzalez a6729a562b docs: fix doc link and add 0.24.0 appendix to migration guides
[ci skip]
2021-03-01 12:01:26 -05:00
Jose Diaz-Gonzalez b875def7de Merge pull request #4454 from dokku/azure-release-fixes
Use proper title for azure releases and fix tmp dir creation
2021-03-01 08:49:41 -05:00
Jose Diaz-Gonzalez 828ba13eec fix: use proper title for azure releases and fix tmp dir creation 2021-03-01 08:48:30 -05:00
Dokku Bot 9bec66d5d6 Release 0.24.0
# History

## 0.24.0

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.24.0/bootstrap.sh
sudo DOKKU_TAG=v0.24.0 bash bootstrap.sh
```

See the [0.24.0 migration guide](/docs/appendices/0.24.0-migration-guide.md) for more information on migrating to 0.24.0.

### Bug Fixes

- #4449: @josegonzalez Gitignore trigger symlink
- #4447: @josegonzalez Checkout code to ensure the bump-azure script is available

### New Features

- #4453: @josegonzalez Simplify tar and zip deploys via git:from-archive
- #4450: @josegonzalez Simplify docker image deploys via git:from-image
- #4379: @josegonzalez Allow builders to be detected based on repository contents
- #4425: @josegonzalez Implement heroku's postdeploy deployment task
- #4424: @josegonzalez Implement git:auth command
- #4419: @josegonzalez Add parallelism to certain proxy commands

### Refactors

- #4374: @josegonzalez Change exit code when app does not exist

### Documentation

- #4451: @josegonzalez Update links to builder documentation to avoid extra rewrite
- #4448: @josegonzalez Add documentation for git push to dokku-in-docker
v0.24.0
2021-03-01 13:34:18 +00:00
Jose Diaz-Gonzalez 30e09b8a07 Merge pull request #4453 from dokku/3458-git-from-archive
Simplify tar and zip deploys via git:from-archive
2021-03-01 08:33:33 -05:00
Jose Diaz-Gonzalez 5c1a1baf08 feat: implement git:from-archive
The previous tar support lacked the ability to track changes between tarball deploys. Critically, it also failed to be handled correctly when there was _also_ a git deployment done on the app, resulting in odd deployment states depending on the angles of the moon and the sun in the sky.

Rather than try to "fix" this through some hokey mechanism, importing the tar file contents into the git repository is preferred, as then the user can refer to the repository for commit history.

Additionally, we add support for non-tar files (tar.gz and zip), enabling deployments from systems that do not create tar files, such as Github (their tarball url is a tar.gz file).

Finally, this deprecates the tar plugin, and sets it to be removed in the next minor release (in addition to the tags plugin).

Closes #3458
Closes #4207
2021-03-01 08:13:51 -05:00
Jose Diaz-Gonzalez ade2cc8a7c Merge pull request #4450 from dokku/4296-git-from-image
Simplify docker image deploys via git:from-image
2021-03-01 02:34:09 -05:00
Jose Diaz-Gonzalez 0a31f6fe3a feat: add git:from-image support
The new command superscedes the previous tags plugin, and integrates docker image deployment with the general build process.

While `docker image load` is not supported, this otherwise completely handles all previous workflows supported by the `tags:deploy` command, while doing so in a much easier to use interface.

Closes #4296
2021-03-01 02:26:58 -05:00
Jose Diaz-Gonzalez 54f9fcf856 Merge pull request #4451 from dokku/docs-update-builder-links
Update links to builder documentation to avoid extra rewrite
2021-03-01 02:12:33 -05:00
Jose Diaz-Gonzalez 720d37dc5d docs: update links to builder documentation to avoid extra rewrite 2021-03-01 02:09:47 -05:00
Jose Diaz-Gonzalez 5804cd11bc chore: standardize popd calls 2021-03-01 00:33:06 -05:00
Jose Diaz-Gonzalez 3254c52d7c Merge pull request #4449 from dokku/ignore-trigger
Gitignore trigger symlink
2021-03-01 00:32:43 -05:00
Jose Diaz-Gonzalez 090e243438 fix: gitignore trigger symlink 2021-03-01 00:32:13 -05:00
Jose Diaz-Gonzalez d697004889 Merge pull request #4379 from dokku/builder-detect
Allow builders to be detected based on repository contents
2021-02-28 22:26:59 -05:00
Jose Diaz-Gonzalez 2392c69a28 docs: remove duplicate redirect entry 2021-02-28 17:29:34 -05:00
Jose Diaz-Gonzalez 6ea57dafe7 chore: add LogFailWithError to common triggers 2021-02-28 17:25:24 -05:00
Jose Diaz-Gonzalez 8c34cfe64e feat: implement builder plugin
This plugin will allow users to override the builder used for their application, enabling users to use custom builders if desired.
2021-02-28 17:25:03 -05:00