Jose Diaz-Gonzalez
20b2773ea2
fix: correct help output
2021-01-20 23:21:06 -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
Jose Diaz-Gonzalez
17fb2ace91
chore: fix docblock
2021-01-20 14:49:48 -05:00
Jose Diaz-Gonzalez
2deb575961
Merge pull request #4322 from dokku/github-actions
...
Switch to Github Actions for CI
2021-01-20 14:26:18 -05:00
Jose Diaz-Gonzalez
a7465f9d81
tests: use github actions instead of circleci for test running
2021-01-20 14:00:07 -05:00
Jose Diaz-Gonzalez
9d55e37687
Merge pull request #4297 from dokku/git-sync
...
Add support for cloning/syncing from a remote repository
2021-01-20 13:36:15 -05:00
Jose Diaz-Gonzalez
4477c92df9
Merge pull request #4340 from bjornpost/feature/4339-respect-fwded-for-header
...
Allow configuring x-forwarded-* proxy headers via nginx:set
2021-01-20 13:19:46 -05:00
Bjorn Post
a6062d4ab4
feat: make feature more generic, also add support for setting -port and -proto values via nginx:set, refs #4339
2021-01-19 21:40:47 +01:00
Bjorn Post
bdb160bec1
feat: add trust-x-forwarded-for status in report, refs #4339
2021-01-18 21:58:45 +01:00
Jose Diaz-Gonzalez
25b90d62d2
Release 0.22.9
...
bump-formula / bump-formula (push) Has been cancelled
# History
## 0.22.9
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.22.9/bootstrap.sh
sudo DOKKU_TAG=v0.22.9 bash bootstrap.sh
```
### Bug Fixes
- #4334 : @josegonzalez allow git pushes to apps that already exist but have old names
- #4335 : @josegonzalez Add error checking to plugin:install and plugin:update
- #4338 : @josegonzalez Strip trailing slashes in hostname from web installer
- #4332 : @josegonzalez Correct aws release check in release-plugin script
- #4311 : @nisseknudsen Allow named volume mounts in regex
- #4320 : @josegonzalez Hardcode cnb workdir to /workspace
### New Features
- #4321 : @josegonzalez Add git version to output
### Refactors
- #4329 : @josegonzalez Standardize apt-get usage
### Documentation
- #4323 : @stianlik Fix typo in nginx documentation
### Tests
- #4331 : @josegonzalez Switch to upstream bats-core
- #4330 : @josegonzalez Switch to using uuidgen for unique app names
### Other
- #4325 : @WaviestBalloon Updated bootstrap.sh to not show when $DOKKU_TAG equals nothing
- #4324 : @dependabot-preview[bot] chore(deps): bump socket.io from 3.0.5 to 3.1.0 in /tests/apps/.websocket.disabled
- #4319 : @josegonzalez Update ruby dependencies in test app
- #4312 : @dependabot-preview[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 187 to 188 in /tests/apps/php
2021-01-18 15:46:27 -05:00
Bjorn Post
7cd6f7666c
feat: configure trust x-forwarded-for headers via nginx:set iso trust by default, refs #4339
2021-01-18 21:09:00 +01:00
Bjorn Post
2cdfa1cae1
feat: trust proxy_add_x_forwarded_for iso resetting to remote_addr, refs #4339
2021-01-18 20:07:55 +01:00
Jose Diaz-Gonzalez
17d2866153
Merge pull request #4334 from dokku/4308-allow-push-to-invalid-names
...
allow git pushes to apps that already exist but have old names
2021-01-18 12:38:26 -05:00
Jose Diaz-Gonzalez
d459b4171d
Merge pull request #4335 from dokku/4313-plugin-update
...
Add error checking to plugin:install and plugin:update
2021-01-18 12:38:14 -05:00
Jose Diaz-Gonzalez
e39a5663bf
fix: add error message for invalid flags
...
Closes #4193
2021-01-18 00:29:25 -05:00
Jose Diaz-Gonzalez
89cc896c27
fix: add error checking to plugin:update
...
Closes #4313
2021-01-17 22:23:04 -05:00
Jose Diaz-Gonzalez
be95a619bc
fix: allow git pushes to apps that already exist but have old names
...
Users should still renamed their applications as this workaround will be removed at some point.
Closes #4308
2021-01-17 22:06:30 -05:00
Jose Diaz-Gonzalez
ed84f21c08
refactor: standardize apt-get usage
...
- Always put flags in same location
- Always use apt-get
- Add --no-install-recommends where possible
2021-01-17 20:19:56 -05:00
Jose Diaz-Gonzalez
cca507da6a
refactor: avoid pushd/popd to enable commands to pass from root-enabled directories
2021-01-17 19:40:33 -05:00
Jose Diaz-Gonzalez
d58fe853d6
fix: allow updating head
2021-01-17 19:34:07 -05:00
Jose Diaz-Gonzalez
03dc90b4fd
chore: re-add output redirection
2021-01-17 19:33:36 -05:00
Jose Diaz-Gonzalez
2a4918c7ce
fix: run check-ref-format in the correct directory
2021-01-17 19:23:40 -05:00
Jose Diaz-Gonzalez
7bb130edb7
refactor: use flag instead of environment variable
2021-01-17 19:13:30 -05:00
Jose Diaz-Gonzalez
3af1342a9b
fix: expand git-ref to the full commit sha
...
If using a branch, git commands that interact with worktrees may fail for newer versions of git.
2021-01-17 17:29:21 -05:00
Jose Diaz-Gonzalez
d16ff7fa12
fix: properly report last-updated
2021-01-17 17:19:14 -05:00
Jose Diaz-Gonzalez
d5dbd456ea
chore: quiet down git init
...
The command is louder when running on newer versions of git, and the output isn't useful to end users.
2021-01-17 17:07:10 -05:00
Jose Diaz-Gonzalez
3f25514e1a
refactor: combine both clone and sync commands
...
Using a single command will allow users to not have to worry about the workflow they use to setup or update a given app.
2021-01-17 17:00:33 -05:00
Jose Diaz-Gonzalez
97b33a9138
feat: fix: use correct branch for ref updating
2021-01-17 17:00:33 -05:00
Jose Diaz-Gonzalez
f73c927512
fix: do not allow fetch on fresh apps
2021-01-17 17:00:33 -05:00
Jose Diaz-Gonzalez
827dbbc740
fix: delete the deploy branch if its a ref and not tag
2021-01-17 17:00:33 -05:00
Jose Diaz-Gonzalez
dbd48356f5
refactor: properly handle commits and branches
...
- if it is a commit, we must clone and checkout. `clone --branch` only works for tags and branches
- set the branch as the deploy-branch if detected
2021-01-17 17:00:33 -05:00
Jose Diaz-Gonzalez
6dc55624bd
chore: change message
2021-01-17 17:00:33 -05:00
Jose Diaz-Gonzalez
5e645e1489
fix: use correct method to detect if a repo is empty
2021-01-17 17:00:33 -05:00
Jose Diaz-Gonzalez
87a786fec5
fix: get arguments correctly
2021-01-17 17:00:33 -05:00
Jose Diaz-Gonzalez
c9fc203596
fix: properly parse arguments
2021-01-17 17:00:33 -05:00
Jose Diaz-Gonzalez
f87525d8cf
refactor: move temp directory to git data directory
2021-01-17 17:00:33 -05:00
Jose Diaz-Gonzalez
df4dbe5d88
chore: reorder properties
2021-01-17 17:00:33 -05:00
Jose Diaz-Gonzalez
31332a5061
fix: move fn-git-create-hook to internal-functions
...
Its unused elsewhere.
2021-01-17 17:00:33 -05:00
Jose Diaz-Gonzalez
c80fcf7b8e
feat: add support for cloning/syncing from a remote repository
...
This makes it a bit easier for external projects to implement deploy webhooks by exposing the ability to sync from a git repository/sha.
2021-01-17 17:00:33 -05:00
Jose Diaz-Gonzalez
c179958afc
Merge pull request #4311 from nisseknudsen/pr/allow_named_volume_mounts_in_regex
...
Allow named volume mounts in regex
2021-01-15 17:53:59 -05:00
Jose Diaz-Gonzalez
baa15d7437
Merge pull request #4321 from dokku/report-git-version
...
Add git version to output
2021-01-14 12:28:20 -05:00
Jose Diaz-Gonzalez
0c182415a7
feat: add git version to output
2021-01-14 09:47:06 -05:00
Jose Diaz-Gonzalez
1599120c3e
fix: hardcode cnb workdir to /workspace
...
Closes #4317
2021-01-14 08:33:26 -05:00
nisseknudsen
a1f4a9a386
Checks if passed path starts with / and shoudl be an absolute mount
2021-01-10 19:32:05 +01:00
nisseknudsen
12531dfb3e
Regex handles absolute mount path _and_ named volumes
2021-01-10 19:26:16 +01:00
Jose Diaz-Gonzalez
652b90a074
Release 0.22.8
...
bump-formula / bump-formula (push) Has been cancelled
# History
## 0.22.8
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.22.8/bootstrap.sh
sudo DOKKU_TAG=v0.22.8 bash bootstrap.sh
```
### Bug Fixes
- #4309 : @josegonzalez Correct issue where verifying an app name would bail early
### Documentation
- #4307 : @josegonzalez Specify that the dokku logo is for non-commercial use
2021-01-09 16:33:55 -05:00
Jose Diaz-Gonzalez
bdd7c58a62
Merge pull request #4309 from dokku/4308-app-name-validation
...
Correct issue where verifying an app name would bail early
2021-01-09 14:28:40 -05:00
Jose Diaz-Gonzalez
3419f18c9f
fix: correct issue where verifying an app name would bail early
...
Refs #4308
2021-01-09 07:40:45 -05:00
Jose Diaz-Gonzalez
e435d01258
Release 0.22.7
...
bump-formula / bump-formula (push) Has been cancelled
# History
## 0.22.7
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.22.7/bootstrap.sh
sudo DOKKU_TAG=v0.22.7 bash bootstrap.sh
```
### Bug Fixes
- #4301 : @josegonzalez Ensure vector container starts correctly
2021-01-07 03:07:57 -05:00
Jose Diaz-Gonzalez
a57680fbbf
feat: test vector commands
2021-01-07 01:54:04 -05:00