Jose Diaz-Gonzalez
fd765c6ba4
feat: add missing modules
2023-01-08 23:49:39 -05:00
Jose Diaz-Gonzalez
0aa194eea7
fix: add missing docs
2023-01-08 23:47:33 -05:00
Jose Diaz-Gonzalez
6cbe93c245
refactor: move all golang code for managing data directories to common plugin
...
Additionally, ensure the golang plugins handle setup/teardown of plugin and app-specific data directories during install, rename, and clone phases.
2023-01-08 23:36:12 -05:00
josegonzalez
38fdb87c79
Merge pull request #5557 from dokku/update-github-actions
...
Update GitHub actions
2023-01-08 22:37:00 -05:00
josegonzalez
8d17d142a8
fix: use correct value for comment_mode
2023-01-08 20:18:33 -05:00
josegonzalez
3c2a7f2394
Merge pull request #5563 from kbuilds/nginx_documentation
...
Clarify documentation for default site under nginx
2023-01-01 23:50:38 -05:00
josegonzalez
20c30dc587
fix: drop name so all test results are downloaded
2022-12-29 11:32:20 -05:00
josegonzalez
0657e3a1f1
fix: correct yaml lint issues
2022-12-29 10:22:04 -05:00
Jose Diaz-Gonzalez
9f1bfb0d06
fix: set path to ensure compatibility with v1 of the action
...
See https://github.com/actions/download-artifact#compatibility-between-v1-and-v2v3 for more details.
2022-12-29 01:52:33 -05:00
Jose Diaz-Gonzalez
6e28b9f835
chore: drop set-output usage
2022-12-29 00:14:29 -05:00
Jose Diaz-Gonzalez
9e2c151e9f
chore: update workflows in lint.yml
2022-12-29 00:10:47 -05:00
Jose Diaz-Gonzalez
c8ec0825d3
chore: update actions/checkout
2022-12-29 00:05:02 -05:00
Jose Diaz-Gonzalez
c082b68b23
chore: update actions/download-artifact
2022-12-29 00:03:54 -05:00
Jose Diaz-Gonzalez
babb2766bd
chore: update publish-unit-test-result-action
2022-12-29 00:02:24 -05:00
josegonzalez
b983191c6d
Merge pull request #5555 from dokku/josegonzalez-patch-1
...
Drop debugging code from ps plugin
2022-12-28 23:51:47 -05:00
josegonzalez
30887d74fc
chore: drop debugging code from ps plugin
...
This was accidentally added in a refactor of how processes are managed.
2022-12-28 23:50:39 -05:00
josegonzalez
2a99aa7814
Merge pull request #5554 from dokku/5550-procfile-path
...
Validate that procfile-path is respected
2022-12-28 18:02:51 -05:00
Jose Diaz-Gonzalez
9f6aade092
fix: run unbuffered
2022-12-28 16:42:36 -05:00
Jose Diaz-Gonzalez
e01730857c
fix: overwrite the in-repo Procfile with the desired Procfile
...
Without this change, herokuish and pack builds would not run the correct command as the Procfile could still be the old Procfile.
2022-12-28 15:36:34 -05:00
Jose Diaz-Gonzalez
514a3efa5c
fix: use the correct test app for ps-general-2
...
Otherwise we aren't testing the desired Procfile behavior.
2022-12-28 15:35:56 -05:00
Jose Diaz-Gonzalez
476a4efa46
fix: use -u in Procfile to unbuffer python output
...
Without this, logs don't get written out immediately, causing tests to fail.
2022-12-28 15:35:26 -05:00
Jose Diaz-Gonzalez
21bb5ea2ed
fix: delete existing Procfile if the user tried to overwrite it with a non-existing one
...
This behavior follows what is described in the documentation.
2022-12-28 15:34:53 -05:00
Jose Diaz-Gonzalez
d9af6516bb
tests: validate that procfile-path is respected
...
Refs #5550
2022-12-28 13:40:33 -05:00
josegonzalez
48452558bd
Merge pull request #5551 from dokku/dependabot/docker/tests/apps/dockerfile-entrypoint/ruby-3.2.0
...
chore(deps): bump ruby from 3.1.3 to 3.2.0 in /tests/apps/dockerfile-entrypoint
2022-12-28 12:32:13 -05:00
josegonzalez
31cd2f60f2
Merge pull request #5547 from dokku/dependabot/pip/tests/apps/dockerfile-release/setuptools-65.5.1
...
chore(deps): bump setuptools from 65.5.0 to 65.5.1 in /tests/apps/dockerfile-release
2022-12-27 15:03:21 -05:00
josegonzalez
4674ba0dd8
Merge pull request #5544 from dokku/5538-git-from-image-correct-failure
...
Exit non-zero when git:from-image deploys fail to start the app
2022-12-27 03:51:24 -05:00
Jose Diaz-Gonzalez
fd2c540cd5
fix: exit non-zero when git:from-image deploys fail to start the app
...
Also ensure the repository doesn't get updated to an invalid state in those failure cases.
Closes #5538
2022-12-27 02:37:30 -05:00
josegonzalez
32af26d7a1
Merge pull request #5543 from dokku/josegonzalez-patch-1
...
Properly parse arguments for git:status command
2022-12-27 02:36:32 -05:00
josegonzalez
b9a9094b46
fix: properly parse arguments for git:status command
2022-12-27 01:42:08 -05:00
josegonzalez
e580869d4f
Merge pull request #5542 from dokku/storage-list-json
...
Add json output format support to storage:list
2022-12-26 21:50:53 -05:00
Jose Diaz-Gonzalez
28027b9a78
chore: run shfmt
2022-12-26 16:41:45 -05:00
Jose Diaz-Gonzalez
852dfc6287
feat: add json output format support to storage:list
...
This will allow the command to be used in a programmatic fashion.
2022-12-26 16:33:40 -05:00
Jose Diaz-Gonzalez
c0449d2bf1
docs: reference node-js-app instead of lollipop in storage docs
...
We've standardized on node-js-app elsewhere.
2022-12-26 16:12:26 -05:00
Jose Diaz-Gonzalez
1f75e7d378
docs: document the storage:list command
2022-12-26 16:11:57 -05:00
josegonzalez
9a70d5b75e
Merge pull request #5537 from jamesremuscat/fix/traefik-basic-auth
...
Correctly include `auth` middleware on `api` router.
2022-12-24 16:45:21 -05:00
josegonzalez
d8ab726e5a
Merge pull request #5534 from dokku/dependabot/bundler/tests/apps/ruby/sinatra-3.0.5
...
chore(deps): bump sinatra from 3.0.4 to 3.0.5 in /tests/apps/ruby
2022-12-20 10:50:57 -05:00
josegonzalez
d2376eaab9
Merge pull request #5514 from dokku/dependabot/docker/tests/apps/go-fail-predeploy/golang-1.19.4
...
chore(deps): bump golang from 1.19.3 to 1.19.4 in /tests/apps/go-fail-predeploy
2022-12-20 10:50:48 -05:00
josegonzalez
a25f9b4e76
Merge pull request #5512 from dokku/dependabot/docker/tests/apps/go-fail-postdeploy/golang-1.19.4
...
chore(deps): bump golang from 1.19.3 to 1.19.4 in /tests/apps/go-fail-postdeploy
2022-12-20 10:50:37 -05:00
josegonzalez
315b25c7e6
Merge pull request #5533 from dokku/5502-support-plus-test
...
Add a test case for nested vector-sink values with plus signs
2022-12-20 10:50:24 -05:00
josegonzalez
1835b2952a
Merge pull request #5532 from dokku/5518-from-image
...
Fix issue where git:from-image deploys may result in extracted files not being respected
2022-12-18 19:23:07 -05:00
josegonzalez
4f59f5670d
Merge pull request #5513 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-no-tini/golang-1.19.4
...
chore(deps): bump golang from 1.19.3 to 1.19.4 in /tests/apps/zombies-dockerfile-no-tini
2022-12-18 19:22:49 -05:00
josegonzalez
677f48b1ec
Merge pull request #5511 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-tini/golang-1.19.4
...
chore(deps): bump golang from 1.19.3 to 1.19.4 in /tests/apps/zombies-dockerfile-tini
2022-12-18 19:22:36 -05:00
josegonzalez
b2b4c2a9a8
Merge pull request #5510 from dokku/dependabot/docker/tests/apps/gogrpc/golang-1.19.4
...
chore(deps): bump golang from 1.19.3 to 1.19.4 in /tests/apps/gogrpc
2022-12-18 19:22:29 -05:00
Jose Diaz-Gonzalez
8323015fb7
tests: add a test case for nested vector-sink values with plus signs
...
Closes #5502
2022-12-18 19:16:14 -05:00
Jose Diaz-Gonzalez
c3c6e2174a
fix: keep track of the source image when building an app via git:from-image
...
This change fixes issues with ps:rebuild not working as expected - essentially ignoring files in the repo - as well as adds tests.
Closes #5518
2022-12-18 17:57:24 -05:00
Jose Diaz-Gonzalez
654939afa7
refactor: do not pull image if it already exists
2022-12-18 17:52:32 -05:00
Jose Diaz-Gonzalez
ca4be83e64
fix: allow nginx-conf-sigil-path to be set globally
2022-12-18 17:49:55 -05:00
Jose Diaz-Gonzalez
1e58b56ac7
feat: add git-get-property trigger
2022-12-18 17:49:47 -05:00
josegonzalez
d202050d30
Merge pull request #5531 from dokku/josegonzalez-patch-1
...
Fix indentation on heading in where to get help
2022-12-17 15:22:44 -05:00
josegonzalez
5c8cc20db3
docs: fix indentation on heading in where to get help
2022-12-17 15:22:32 -05:00
josegonzalez
579e52e8ae
Merge pull request #5525 from dokku/dependabot/maven/tests/apps/java/org.eclipse.jetty-jetty-servlet-11.0.13
...
chore(deps): bump jetty-servlet from 11.0.12 to 11.0.13 in /tests/apps/java
2022-12-17 14:17:15 -05:00
josegonzalez
b3f3f17dcc
Merge pull request #5519 from dokku/dependabot/docker/tests/apps/dockerfile-release/python-3.11.1-buster
...
chore(deps): bump python from 3.11.0-buster to 3.11.1-buster in /tests/apps/dockerfile-release
2022-12-17 14:15:37 -05:00
josegonzalez
44ccef1cc4
Merge pull request #5520 from dokku/dependabot/docker/docs/_build/python-3.11.1-alpine
...
chore(deps): bump python from 3.11.0-alpine to 3.11.1-alpine in /docs/_build
2022-12-17 14:15:29 -05:00
josegonzalez
a3c3ee437e
Merge pull request #5521 from AlejandroAkbal/patch-1
...
Scheduled Cron Tasks: remove deprecated used of `--rm` flag in `dokku run`
2022-12-17 14:15:05 -05:00
josegonzalez
cfca0d38a5
Merge pull request #5517 from dokku/josegonzalez-patch-1
...
Fix reference to scheduler name in kubernetes docs
2022-12-07 23:26:09 -05:00
josegonzalez
e3f3099dc0
docs: fix reference to scheduler name in kubernetes docs
...
Closes dokku/dokku-scheduler-kubernetes#40
2022-12-07 23:25:05 -05:00
josegonzalez
47f3d0901a
Merge pull request #5516 from dokku/josegonzalez-patch-1
...
Fix reference to scheduler name in nomad docs
2022-12-07 23:24:31 -05:00
josegonzalez
74ff966b9e
docs: fix reference to scheduler name in nomad docs
2022-12-07 23:23:49 -05:00
josegonzalez
37b4beca1c
Merge pull request #5509 from dokku/josegonzalez-patch-1
...
Update data loss blockquote to be warning
2022-12-06 14:41:52 -05:00
josegonzalez
f92d240461
docs: update data loss blockquote to be warning
2022-12-06 14:41:35 -05:00
josegonzalez
7bef9bac8c
Merge pull request #5507 from dokku/tutorials-link
...
Add tutorials link to navigation
2022-12-05 06:22:07 -05:00
Jose Diaz-Gonzalez
8122470c0b
chore: drop tutorials from main docs in favor of tutorials site
...
This ensures the main docs don't become an area for every use case, rather just focusing on the core concepts and usages of Dokku.
2022-12-05 06:14:50 -05:00
Jose Diaz-Gonzalez
8dfebad943
feat: add tutorials link to the docs
2022-12-05 05:53:10 -05:00
josegonzalez
ff935c333b
Merge pull request #5506 from dokku/5502-support-plus
...
Add support for escaped plus (+) signs in vector configurations
2022-12-04 16:53:06 -05:00
Jose Diaz-Gonzalez
bbbdfbffe5
fix: add support for escaped plus (+) signs in vector configurations
...
Closes #5502
2022-12-04 15:40:46 -05:00
josegonzalez
4f76dd7bc2
Merge pull request #5488 from dokku/5435-potential-deploy-downtime
2022-12-03 23:01:09 -05:00
Jose Diaz-Gonzalez
80fd9bbd4b
fix: run linting
2022-12-02 16:00:32 -05:00
josegonzalez
263d1a686d
Merge pull request #5505 from dokku/missing-hooks
...
Add missing event hooks
2022-12-02 15:56:50 -05:00
Jose Diaz-Gonzalez
dfc7b26f42
fix: add missing event hooks
2022-12-02 15:56:29 -05:00
Jose Diaz-Gonzalez
ecae13ba84
fix: update event hooks
2022-12-02 15:55:49 -05:00
Jose Diaz-Gonzalez
c2ebf48524
refactor: use a single implementation for checking cnb/herokuish images
...
Also use a plugin trigger for testing whether an image is herokuish or not rather than trying to mess around with sourced files.
2022-12-02 15:54:48 -05:00
Jose Diaz-Gonzalez
a2cc6b84d6
fix: use assert_output_contains so as not to worry about order
2022-12-02 10:47:40 -05:00
Jose Diaz-Gonzalez
1dda402769
fix: do not depend upon domains:setup in tests
...
Since it is now called on app creation, it doesn't work as expected for 'resetting' already set state.
2022-12-02 02:33:54 -05:00
Jose Diaz-Gonzalez
edd6e476b3
refactor: simplify how url generation works
...
The URLS file is no longer necessary as urls are now generated directly from the app VHOST file.
This also moves all the url generation logic to the domains plugin.
2022-12-02 02:19:59 -05:00
Jose Diaz-Gonzalez
f4f0a29446
fix: correct domain wildcard tests for new domain initialization method
2022-12-01 22:57:31 -05:00
Jose Diaz-Gonzalez
d18cb3766c
fix: correct tests for new domain initialization method
2022-12-01 22:39:38 -05:00
Jose Diaz-Gonzalez
9eab17af11
refactor: setup app domains in the post-create hook
...
This is more consistent with app setup, at the cost of making it so developers must disable domains manually afterwards.
2022-12-01 22:39:38 -05:00
Jose Diaz-Gonzalez
1fab98286b
fix: also report that there is a network config if a static-web-listener is specified
2022-12-01 22:39:38 -05:00
Jose Diaz-Gonzalez
203a56fa11
chore: remote whitespace
2022-12-01 22:39:20 -05:00
Jose Diaz-Gonzalez
78438dfb74
chore: do not rework network config if the scheduler is not docker-local
2022-12-01 22:39:20 -05:00
Jose Diaz-Gonzalez
348a593ee8
refactor trigger proxy-build-config from nginx#core-post-deploy
...
This reduces the duplicated code in the plugin.
2022-12-01 22:39:20 -05:00
josegonzalez
9ccd1f397c
Merge pull request #5503 from dokku/josegonzalez-patch-1
...
Document potential deployment downtime
2022-12-01 22:39:00 -05:00
josegonzalez
84a727a3aa
Document potential deployment downtime
...
Closes #5435
2022-12-01 22:38:32 -05:00
josegonzalez
9e8312360e
Merge pull request #5500 from dokku/dependabot/maven/tests/apps/java/org.apache.maven.plugins-maven-dependency-plugin-3.4.0
...
chore(deps): bump maven-dependency-plugin from 3.3.0 to 3.4.0 in /tests/apps/java
2022-12-01 10:53:27 -05:00
josegonzalez
9e939ea816
Merge pull request #5472 from dokku/5381-compose-proxy-lifecycle
2022-12-01 02:16:45 -05:00
Jose Diaz-Gonzalez
7ec555f617
fix: properly test priority
...
It is no longer part of the service name.
2022-12-01 00:27:21 -05:00
Jose Diaz-Gonzalez
e2d215ab4f
fix: do not run enable/disable when using init.d
...
init.d doesn't support these two commands, causing nginx:stop/nginx:start to fail.
2022-11-30 15:00:05 -05:00
Jose Diaz-Gonzalez
a8bc8044e4
feat: switch to systemctl for interacting with the nginx init process
2022-11-29 01:38:36 -05:00
Jose Diaz-Gonzalez
5fed0c45ac
refactor: use the properties system instead of the data dir for tracking whether a proxy should be stopped or started
2022-11-29 01:38:36 -05:00
Jose Diaz-Gonzalez
6fed37b408
refactor: rename pre-restore trigger to scheduler-pre-restore
...
This better reflects what the trigger does, and allows us to use the pre-restore trigger at the beginning of the ps:restore command.
2022-11-29 01:38:36 -05:00
Jose Diaz-Gonzalez
77fbd676bc
feat: start caddy/nginx/traefik prior to restoring applications
...
This ensures routing works as expected.
2022-11-29 01:38:36 -05:00
Jose Diaz-Gonzalez
b97a5c0c00
feat: keep track of whether proxy implementation should be stopped or started
2022-11-29 01:38:36 -05:00
Jose Diaz-Gonzalez
bde7b16a80
chore: reorder commands alphabetically
2022-11-29 01:38:36 -05:00
Jose Diaz-Gonzalez
5c205b9e27
feat: keep track of whether caddy and traefik should be stopped/started
2022-11-29 01:38:36 -05:00
Jose Diaz-Gonzalez
2946e6d632
fix: enable/disable nginx when calling nginx:start/nginx:stop
2022-11-29 01:38:36 -05:00
Jose Diaz-Gonzalez
1d85095ec8
feat: allow dokku user to enable/disable nginx service
2022-11-29 01:38:36 -05:00
josegonzalez
a42360ec34
Merge pull request #5493 from dokku/5410-fix-ssl-detection
...
Correct issue with detection of non-https port mapping as https port mapping
2022-11-29 01:38:15 -05:00
josegonzalez
6522012b89
fix: do not use priority in test lookup
2022-11-29 01:27:57 -05:00
Jose Diaz-Gonzalez
b7bff8e152
fix: correct issue with detection of non-https port mapping as https port mapping
...
This allows folks to _only_ set the letsencrypt-email in order to get https working as expected.
Closes #5410
2022-11-29 00:21:04 -05:00
josegonzalez
2f79e68542
Merge pull request #5499 from dokku/traefik-priority-v2
...
Do not use traefik priority in service name
2022-11-29 00:20:13 -05:00