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
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
db5630eb32
Merge pull request #4325 from WaviestBalloon/master
...
Updated bootstrap.sh to not show when $DOKKU_TAG equals nothing
2021-01-17 16:50:22 -05:00
Jose Diaz-Gonzalez
1dc63eecbd
tests: switch to upstream bats-core
...
Bats core now has junit report formatting, so there is no need to continue using a fork.
2021-01-17 16:18:24 -05:00
Jose Diaz-Gonzalez
530066875d
tests: switch to using uuidgen for unique app names
...
/dev/urandom doesn't work on Github Actions. Prior to moving to github actions, lets ensure tests work on CircleCI as well.
2021-01-17 15:58:59 -05:00
Jose Diaz-Gonzalez
59aef9a408
chore: use -z for checking for empty value
2021-01-17 14:41:49 -05:00
Jose Diaz-Gonzalez
7b51bcd4ac
Merge pull request #4324 from dokku/dependabot/npm_and_yarn/tests/apps/dot-websocket.disabled/socket.io-3.1.0
...
chore(deps): bump socket.io from 3.0.5 to 3.1.0 in /tests/apps/.websocket.disabled
2021-01-17 14:40:57 -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
102c3b3007
Merge pull request #4323 from stianlik/patch-1
...
Fix typo in nginx.md
2021-01-14 15:20:30 -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
9804d42e67
Merge pull request #4320 from dokku/4317-fix-cnb-workdir
...
Hardcode cnb workdir to /workspace
2021-01-14 09:57:18 -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
Jose Diaz-Gonzalez
a53b5953ea
Merge pull request #4319 from dokku/update-dependencies
...
Update ruby dependencies in test app
2021-01-13 13:49:43 -05:00
Jose Diaz-Gonzalez
0d7c4cd036
feat: update ruby dependencies in test app
...
These were not auto-upgraded by dependabot because of a hardcoded sinatra version.
2021-01-13 11:45:43 -05:00
Jose Diaz-Gonzalez
e42e26e16b
Merge pull request #4312 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-188
...
chore(deps-dev): bump heroku/heroku-buildpack-php from 187 to 188 in /tests/apps/php
2021-01-11 07:36:06 -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
87ce52ded1
Merge pull request #4307 from dokku/josegonzalez-patch-1
...
Specify that the dokku logo is for non-commercial use
2021-01-08 02:47:01 -05:00
Jose Diaz-Gonzalez
1db1411331
docs: specify that the dokku logo is for non-commercial use
...
There is still no explicit license on the logo, but its certainly not for external commercial use. Please respect that decision.
[ci skip]
2021-01-08 02:14:25 -05:00
Jose Diaz-Gonzalez
793e9d377e
Merge pull request #4301 from dokku/4299-vector-fixes
...
Ensure vector container starts correctly
2021-01-07 03:07:40 -05:00
Jose Diaz-Gonzalez
a57680fbbf
feat: test vector commands
2021-01-07 01:54:04 -05:00
Jose Diaz-Gonzalez
eda71e3ffe
feat: mirror log tailing support for logs:vector-logs command
2021-01-07 01:43:55 -05:00
Jose Diaz-Gonzalez
b186d9d66c
docs: fix help output
2021-01-07 01:42:51 -05:00
Jose Diaz-Gonzalez
f16a211b48
feat: add more tests for the logs plugin
2021-01-07 01:34:19 -05:00
Jose Diaz-Gonzalez
d70a9be97e
fix: correct issue where all flags were not shown if an invalid flag was specified
2021-01-07 01:34:05 -05:00
Jose Diaz-Gonzalez
666bb9dfee
fix: unscope err for report subcommands
2021-01-07 01:12:50 -05:00
Jose Diaz-Gonzalez
081a44755e
docs: fix examples to use correct property key
2021-01-07 01:07:20 -05:00
Jose Diaz-Gonzalez
2eae6c25af
tests: add test for logs:help
2021-01-07 00:14:43 -05:00
Jose Diaz-Gonzalez
4bbee232d8
fix: handle error cases in starting a new vector container
2021-01-07 00:12:44 -05:00
Jose Diaz-Gonzalez
441f7ab22a
fix: pass 1 to --watch-config flag
...
Apparently this needs a value...
2021-01-07 00:12:23 -05:00
Jose Diaz-Gonzalez
714b27f8a4
chore: quiet output of starting container
...
We check if the container is running later, so there isn't a need for us to see the containerID here
2021-01-07 00:08:05 -05:00
Jose Diaz-Gonzalez
2d841f47eb
fix: handle case where there are no apps
2021-01-06 22:45:47 -05:00
Jose Diaz-Gonzalez
1c3c712629
Merge pull request #4295 from dokku/fix-triggers
...
Update ps subcommands and triggers
2021-01-05 09:45:59 -05:00
Jose Diaz-Gonzalez
84ec74e97f
fix: update ps subcommands and triggers
...
- There were missing trigger symlinks due to the the rewrite omitting them
- There was an extra symlink for a subcommand that was removed
2021-01-05 03:50:52 -05:00
Jose Diaz-Gonzalez
57cc1c7f8e
Merge pull request #4286 from dokku/3974-templated-checks
...
Add support for templated CHECKS files
2021-01-05 03:15:36 -05:00
Jose Diaz-Gonzalez
0e67ffc41e
Merge pull request #4294 from dokku/4278-better-client-logging
...
Enhance ssh client logging output
2021-01-05 02:21:34 -05:00
Jose Diaz-Gonzalez
f4e0d19d43
fix: correct path for templated checks file
2021-01-05 01:02:39 -05:00
Jose Diaz-Gonzalez
07e7988cdf
feat: add sigil templating to CHECKS files
...
This enables general templating capabilities, in addition to environment variable access.
Closes #3974 .
2021-01-05 00:16:55 -05:00
Jose Diaz-Gonzalez
d21aca2c59
chore: remove unnecessary extra logic
...
This is now performed in copy_from_image for all files.
2021-01-05 00:16:55 -05:00
Jose Diaz-Gonzalez
540e066acf
fix: return the failed exit code
2021-01-05 00:10:54 -05:00
Jose Diaz-Gonzalez
a49de4e473
docs: make the header more clear
...
[ci skip]
2021-01-04 23:00:58 -05:00
Jose Diaz-Gonzalez
4c28ae2630
Merge pull request #4291 from dokku/2268-vector-logging
...
Add log aggregation support via Vector
2021-01-04 22:56:25 -05:00
Jose Diaz-Gonzalez
2d07d89d60
docs: add new as of banner
...
[ci skip]
2021-01-04 22:56:03 -05:00
Jose Diaz-Gonzalez
83d8c8448b
feat: remind users to check their ssh config in cases of ssh error
...
Closes #4278
2021-01-04 22:41:04 -05:00
Jose Diaz-Gonzalez
8eccd50ecb
chore: standardize logging output
...
- send errors to stderr
- use proper prefixes on errors
- use correct prefixes on stdout
2021-01-04 22:38:28 -05:00
Jose Diaz-Gonzalez
09ed45534d
refactor: always write out the vector configuration
2021-01-04 21:48:38 -05:00
Jose Diaz-Gonzalez
711945147b
refactor: use --watch-config instead of signaling the container to reload config
2021-01-04 21:48:28 -05:00
Jose Diaz-Gonzalez
0b3a6687f6
feat: actually mount the apps log dir
...
Also fix it so that the log directory is mountable from a custom path on the host if running dokku within a container.
2021-01-04 21:45:26 -05:00
Jose Diaz-Gonzalez
1aec869f9e
fix: do not delete apps log subdir
...
This is a new directory introduced for vector logging should not be deleted so vector logging still works.
2021-01-04 21:40:51 -05:00
Jose Diaz-Gonzalez
6f9a6eb294
fix: only check for global properties when appName is --global
2021-01-04 12:43:15 -05:00
Jose Diaz-Gonzalez
96ed840d17
Merge pull request #4292 from thomasfedb/patch-1
...
Update docs to note support for Ubuntu 20.04
2021-01-04 12:19:39 -05:00
Jose Diaz-Gonzalez
5acdf4a43c
Merge pull request #4293 from ltalirz/patch-2
...
Update persistent-storage.md
2021-01-04 12:19:05 -05:00
Jose Diaz-Gonzalez
d6acf5530e
fix: add some comments
2021-01-04 01:14:40 -05:00
Jose Diaz-Gonzalez
94696e81fa
fix: ensure the vector container does not exit when no configured sinks are in place
2021-01-04 01:12:25 -05:00
Jose Diaz-Gonzalez
43d6a2ad94
feat: add ability to set a global vector sink
2021-01-04 01:11:49 -05:00
Jose Diaz-Gonzalez
e1425a85e4
feat: add ability to set global properties
...
Not all properties can be set globally, and the "appName" in the global case is currently defaulted to `--global`. This is okay because domain label names cannot start with hyphens, and all app names must be valid domain label names.
2021-01-04 00:50:14 -05:00
Jose Diaz-Gonzalez
f5fa94cc9c
chore: remove dburl usage
...
dburl adds aliases for everything, which breaks if two schemes are similar enough (anything with `aws_` as a prefix broke scheme registration). It does not appear to add anything, so we'll drop that dependency.
Also remove go-jsonmerge, as this was refactored to use structs instead of byte manipulation...
2021-01-04 00:42:13 -05:00
Jose Diaz-Gonzalez
fd85b1f605
feat: add vector integration
...
This currently is missing a few features:
- global sinks
- logrotation
But works fairly well otherwise.
2021-01-04 00:30:22 -05:00
Jose Diaz-Gonzalez
b386783ec8
Merge pull request #4287 from dokku/parallelize-refactor
...
Refactor parallelized goroutines to use error groups
2021-01-02 23:53:11 -05:00
Jose Diaz-Gonzalez
3b76b81edf
fix: set correct variable for app image repo
2021-01-02 18:47:48 -05:00
Jose Diaz-Gonzalez
2eb159b0c3
refactor: use error group for fetching the app shell to use for app-json tasks
2021-01-02 18:45:30 -05:00
Jose Diaz-Gonzalez
596e7b6f24
feat: use error group to fetch the deploying app image
...
This is a fairly slow operation currently done serially, making ps:scale output brutally slow. Using an error group to parallelize the output is also pleasing to the eyes :)
2021-01-02 18:45:30 -05:00
Jose Diaz-Gonzalez
aa0437bb23
refactor: use an error group to simplify parallel retrieval of scheduler
...
This makes the code a bit simpler to read and more idiomatic
2021-01-02 18:45:30 -05:00
Jose Diaz-Gonzalez
a6c22a292d
Merge pull request #4288 from dokku/pid-log
...
Add the pid of the dokku process to event logs
2021-01-02 18:40:30 -05:00
Jose Diaz-Gonzalez
0635edba17
Merge pull request #4289 from dokku/clean-on-exit
...
Clean precheck tmp file on exit
2021-01-02 18:40:23 -05:00
Jose Diaz-Gonzalez
a0491a5ef2
Merge pull request #4290 from dokku/debug-output
...
Add support for debug logging plugin trigger stderr and stdout
2021-01-02 18:40:15 -05:00
Jose Diaz-Gonzalez
38d172c477
refactor: add support for debug logging plugin trigger stderr and stdout
...
Previously, this could get a bit hazy when running the command within a goroutine. The new method creates pipes for writing stdout/stderr for each call to PluginTriggerOutput, then debug logs if if trace mode is on.
While it is a bit weird to read, it is more correct and should get rid of any parallel processing issues.
2021-01-02 06:13:48 -05:00
Jose Diaz-Gonzalez
5e4c918d40
feat: trim any extra debug log prefixes
2021-01-02 06:11:51 -05:00
Jose Diaz-Gonzalez
e8aaacff5e
refactor: simplify code
2021-01-02 06:11:34 -05:00
Jose Diaz-Gonzalez
21d4d640c2
fix: clean precheck tmp file on exit
2021-01-02 05:23:52 -05:00
Jose Diaz-Gonzalez
b927c1b84d
feat: add the pid of the dokku process to event logs
2021-01-02 05:23:12 -05:00
Jose Diaz-Gonzalez
1964fc6b65
Merge pull request #4285 from dokku/4217-gitlab-ci
...
Reference official gitlab-ci integration
2020-12-30 04:29:15 -05:00
Jose Diaz-Gonzalez
26e270a49f
docs: reference official gitlab-ci integration
...
Closes #4217
2020-12-30 04:28:45 -05:00
Jose Diaz-Gonzalez
3323623289
Merge pull request #4284 from dokku/josegonzalez-patch-1
...
Drop old doc link to gitlab ci docs
2020-12-30 03:41:35 -05:00
Jose Diaz-Gonzalez
7a43321d1c
docs: drop old doc link to gitlab ci docs
...
[ci skip]
2020-12-30 03:41:18 -05:00
Jose Diaz-Gonzalez
4a5cc71c3e
Merge pull request #4283 from dokku/4151-ci-docs
...
Add CI documentation section for Github Actions and Gitlab
2020-12-30 03:39:32 -05:00
Jose Diaz-Gonzalez
660ccf876e
docs: add documentation for generic ci systems
2020-12-30 03:38:47 -05:00
Jose Diaz-Gonzalez
69dd81860f
docs: add github actions documentation
2020-12-30 03:34:01 -05:00
Jose Diaz-Gonzalez
b1c2c026aa
docs: split out initial ci section of docs
2020-12-30 03:25:22 -05:00
Jose Diaz-Gonzalez
b7fa97bf9e
Merge pull request #4282 from dokku/brew-bump-automation
...
Cleanup brew-bump integration
2020-12-30 03:18:48 -05:00
Jose Diaz-Gonzalez
1bdaab6d72
Merge pull request #4281 from dokku/forum-link
...
Add forum link to documentation
2020-12-30 03:17:58 -05:00
Jose Diaz-Gonzalez
3edc14fc97
Merge pull request #4280 from dokku/parallelize-internals
...
Parallelize report and scheduler retrieval
2020-12-30 03:16:27 -05:00
Jose Diaz-Gonzalez
940d258c5e
fix: use authentcated clone for tap url
2020-12-30 03:08:13 -05:00
Jose Diaz-Gonzalez
2500ca5106
chore: use https url brew tap clone
2020-12-30 03:06:16 -05:00
Jose Diaz-Gonzalez
c5a7fd6d43
chore: configure git user info
2020-12-30 03:05:54 -05:00
Jose Diaz-Gonzalez
d424af5b1e
docs: add github discussions link and clarify what is monitored and what is not.
2020-12-30 02:50:03 -05:00
Jose Diaz-Gonzalez
ca383739ab
docs: add github discussions link to header
2020-12-30 02:44:20 -05:00