Jose Diaz-Gonzalez
20b2773ea2
fix: correct help output
2021-01-20 23:21:06 -05:00
Jose Diaz-Gonzalez
0bd7613da4
tests: add test for creation of crontab file
2021-01-20 15:45:48 -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
e00e498e50
chore: remove whitespace
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
3c5a3fdd7c
Merge pull request #4333 from dokku/3149-respect-tmpdir
...
Drop tmpdir environment variables when not running as dokku user
2021-01-20 13:20:05 -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
Jose Diaz-Gonzalez
41f24a58b1
docs: fix link
...
[ci skip]
2021-01-18 17:28:48 -05:00
Jose Diaz-Gonzalez
352900fcff
Merge pull request #4342 from AubreyHewes/pr/contrib-testing-docs
...
point to current testing docs
2021-01-18 17:24:29 -05:00
Jose Diaz-Gonzalez
62424633fc
docs: clarify test running doc a bit more
...
We should always point at the site, not the internal docs.
[ci skip]
2021-01-18 17:24:13 -05:00
Aubrey Hewes
e2184a6f12
docs(testing): point to current testing docs
2021-01-18 23:22:09 +01:00
Jose Diaz-Gonzalez
755cd909ed
Merge pull request #4341 from dokku/josegonzalez-patch-1
...
Add testing link to contributing.md
2021-01-18 17:18:54 -05:00
Jose Diaz-Gonzalez
6338b368d4
docs: add testing link to contributing.md
...
[ci skip]
2021-01-18 17:18:34 -05:00
Bjorn Post
ca56fa1b8b
fix: revert doc deletion, revert test_helper change, refs #4339
2021-01-18 22:00:13 +01:00
Bjorn Post
7c818eda47
test: add tests for trust-x-forwarded-for, refs #4339
2021-01-18 21:59:36 +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
...
# 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
v0.22.9
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
e4ec973a6e
Merge pull request #4329 from dokku/apt-no-install-recommends
...
Standardize apt-get usage
2021-01-18 12:12:11 -05:00
Jose Diaz-Gonzalez
3df9a5629f
Merge pull request #4331 from dokku/use-upstream-bats-core
...
Switch to upstream bats-core
2021-01-18 12:11:58 -05:00
Jose Diaz-Gonzalez
02b98e4736
Merge pull request #4338 from dokku/4106-strip-slashes
...
Strip trailing slashes in hostname from web installer
2021-01-18 12:11:44 -05:00
Jose Diaz-Gonzalez
f45b5bfd5e
fix: strip trailing slashes in hostname from web installer
...
The web installer needs work to add proper validation of input, but for now, this change will ensure folks don't accidentally add an extra slash to the global domain.
Closes #4106
[ci skip]
2021-01-18 00:49:52 -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
cafbf44e2f
fix: drop tmpdir environment variables when not running as dokku user
...
This ensures that tmpdir (and related calls) respect the system defaults for temporary directory access. Critically, changing user via 'sudo' will leave the root temp directory in place, which causes dokku to have undefined behavior when writing to temporary files under libpam-tmpdir.
This may break cases where users have redefined tmpdir or related variables, but those cases can be remedied by specifying a value for TMPDIR (and related variables) in /etc/default/dokku.
Closes #3149
2021-01-17 21:53:28 -05:00
Jose Diaz-Gonzalez
e64b69248a
Merge pull request #4332 from dokku/plugin-release-fix
...
Correct aws release check in release-plugin script
2021-01-17 21:23:39 -05:00
Jose Diaz-Gonzalez
441ac29c7c
fix: correct aws release check in release-plugin script
...
[ci skip]
2021-01-17 21:21:33 -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
5884576fc2
Merge pull request #4330 from dokku/uuidgen
...
Switch to using uuidgen for unique app names
2021-01-17 19:44:32 -05:00
Jose Diaz-Gonzalez
922b6e3722
chore: update plugn
...
This is necessary as bats-core exports functions and exported functions are not handled properly until plugn 0.6.1.
2021-01-17 19:43:24 -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
e3d0f693a7
tests: add tests for fetch
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