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
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
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
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
4c98cd922f
Release 0.22.6
...
bump-formula / bump-formula (push) Has been cancelled
# History
## 0.22.6
Install/update via the bootstrap script:
```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.22.6/bootstrap.sh
sudo DOKKU_TAG=v0.22.6 bash bootstrap.sh
```
### Bug Fixes
- #4295 : @josegonzalez Update ps subcommands and triggers
### New Features
- #4286 : @josegonzalez Add support for templated CHECKS files
- #4294 : @josegonzalez Enhance ssh client logging output
- #4291 : @josegonzalez Add log aggregation support via Vector
- #4288 : @josegonzalez Add the pid of the dokku process to event logs
- #4289 : @josegonzalez Clean precheck tmp file on exit
### Refactors
- #4287 : @josegonzalez Refactor parallelized goroutines to use error groups
### Documentation
- #4292 : @thomasfedb Update docs to note support for Ubuntu 20.04
- #4293 : @ltalirz Fix path in persistent storage docs
### Other
- #4290 : @josegonzalez Add support for debug logging plugin trigger stderr and stdout
2021-01-05 09:50:19 -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
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
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
6f9a6eb294
fix: only check for global properties when appName is --global
2021-01-04 12:43:15 -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