dependabot[bot]
ffcb7fef06
chore(deps): bump golang from 1.21.0 to 1.21.1 in /tests/apps/gogrpc
...
Bumps golang from 1.21.0 to 1.21.1.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-10 02:32:02 +00:00
Jose Diaz-Gonzalez
3d8850897f
Merge pull request #6195 from dokku/dependabot/docker/tests/apps/go-fail-postdeploy/golang-1.21.1
...
chore(deps): bump golang from 1.21.0 to 1.21.1 in /tests/apps/go-fail-postdeploy
2023-09-09 22:31:31 -04:00
Jose Diaz-Gonzalez
fe4d8d76c5
Merge pull request #6196 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-tini/golang-1.21.1
...
chore(deps): bump golang from 1.21.0 to 1.21.1 in /tests/apps/zombies-dockerfile-tini
2023-09-09 22:31:24 -04:00
dependabot[bot]
7eb897798c
chore(deps): bump golang in /tests/apps/zombies-dockerfile-tini
...
Bumps golang from 1.21.0 to 1.21.1.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-07 13:59:25 +00:00
dependabot[bot]
c9438a37d2
chore(deps): bump golang in /tests/apps/go-fail-postdeploy
...
Bumps golang from 1.21.0 to 1.21.1.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-07 13:23:03 +00:00
dependabot[bot]
0f42fbbb4d
chore(deps): bump golang in /tests/apps/zombies-dockerfile-no-tini
...
Bumps golang from 1.21.0 to 1.21.1.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-07 13:13:07 +00:00
dependabot[bot]
c23bf5046b
chore(deps): bump golang.org/x/net in /tests/apps/gogrpc
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/net/compare/v0.14.0...v0.15.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-06 13:06:13 +00:00
Jose Diaz-Gonzalez
08b1f4ac04
Merge pull request #6177 from maxvisser/patch-1
...
Update shellcheck junit integration for newer version of shellcheck
2023-09-05 22:00:39 -04:00
Max Visser
b9a94553f8
added fixes for shellcheck v0.9.0
...
Shellcheck v0.9.0 added more info to output like suggestions to improve your lines
2023-08-31 20:29:12 +02:00
dependabot[bot]
73e7c70193
chore(deps): bump org.eclipse.jetty:jetty-servlet in /tests/apps/java
...
Bumps [org.eclipse.jetty:jetty-servlet](https://github.com/eclipse/jetty.project ) from 11.0.15 to 11.0.16.
- [Release notes](https://github.com/eclipse/jetty.project/releases )
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-11.0.15...jetty-11.0.16 )
---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-servlet
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-31 13:04:50 +00:00
Jose Diaz-Gonzalez
71214be1bd
fix: ensure app clones have domains setup
...
Closes #6146
2023-08-27 23:00:18 -04:00
Jose Diaz-Gonzalez
20466838b5
chore: upgrade lambda-builder dependency
2023-08-27 15:01:17 -04:00
Jose Diaz-Gonzalez
703d703ac3
Merge pull request #6139 from dokku/dependabot/pip/tests/apps/multi/flask-2.3.3
...
chore(deps): bump flask from 2.3.2 to 2.3.3 in /tests/apps/multi
2023-08-22 20:52:05 -04:00
dependabot[bot]
2154726464
chore(deps): bump flask from 2.3.2 to 2.3.3 in /tests/apps/python-flask
...
Bumps [flask](https://github.com/pallets/flask ) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/pallets/flask/releases )
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/flask/compare/2.3.2...2.3.3 )
---
updated-dependencies:
- dependency-name: flask
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-22 13:36:35 +00:00
dependabot[bot]
5f5032cb8b
chore(deps): bump flask from 2.3.2 to 2.3.3 in /tests/apps/multi
...
Bumps [flask](https://github.com/pallets/flask ) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/pallets/flask/releases )
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/flask/compare/2.3.2...2.3.3 )
---
updated-dependencies:
- dependency-name: flask
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-22 13:28:39 +00:00
Jose Diaz-Gonzalez
d3441b7f7e
fix: properly handle tag and branch pushes
2023-08-20 11:39:19 -04:00
Jose Diaz-Gonzalez
5dd78e2b86
docs: update markdownlint rules for better formatting
2023-08-19 13:46:42 -04:00
Jose Diaz-Gonzalez
ebeef276cc
Merge pull request #6118 from dokku/dependabot/pip/tests/apps/python-flask/werkzeug-2.3.7
...
chore(deps): bump werkzeug from 2.3.6 to 2.3.7 in /tests/apps/python-flask
2023-08-16 22:26:29 -04:00
Jose Diaz-Gonzalez
238ae414d3
Merge pull request #6115 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-no-tini/golang-1.21.0
...
chore(deps): bump golang from 1.20.7 to 1.21.0 in /tests/apps/zombies-dockerfile-no-tini
2023-08-16 22:26:20 -04:00
Jose Diaz-Gonzalez
a2e3a9a0f7
Merge pull request #6114 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-tini/golang-1.21.0
...
chore(deps): bump golang from 1.20.7 to 1.21.0 in /tests/apps/zombies-dockerfile-tini
2023-08-16 22:26:12 -04:00
Jose Diaz-Gonzalez
78179105e2
Merge pull request #6104 from dokku/dependabot/go_modules/tests/apps/gogrpc/golang.org/x/net-0.14.0
...
chore(deps): bump golang.org/x/net from 0.13.0 to 0.14.0 in /tests/apps/gogrpc
2023-08-16 22:26:03 -04:00
dependabot[bot]
0fd5b33e5e
chore(deps): bump werkzeug in /tests/apps/python-flask
...
Bumps [werkzeug](https://github.com/pallets/werkzeug ) from 2.3.6 to 2.3.7.
- [Release notes](https://github.com/pallets/werkzeug/releases )
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/werkzeug/compare/2.3.6...2.3.7 )
---
updated-dependencies:
- dependency-name: werkzeug
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-14 13:26:40 +00:00
dependabot[bot]
39fa54049c
chore(deps): bump golang in /tests/apps/zombies-dockerfile-tini
...
Bumps golang from 1.20.7 to 1.21.0.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-14 02:42:26 +00:00
dependabot[bot]
7bf336363c
chore(deps): bump golang in /tests/apps/zombies-dockerfile-no-tini
...
Bumps golang from 1.20.7 to 1.21.0.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-14 02:42:13 +00:00
dependabot[bot]
a20daa2804
chore(deps): bump golang in /tests/apps/go-fail-predeploy
...
Bumps golang from 1.20.7 to 1.21.0.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-14 02:41:48 +00:00
Jose Diaz-Gonzalez
cb0edde2fd
Merge pull request #6112 from dokku/dependabot/docker/tests/apps/go-fail-postdeploy/golang-1.21.0
...
chore(deps): bump golang from 1.20.7 to 1.21.0 in /tests/apps/go-fail-postdeploy
2023-08-13 22:41:30 -04:00
Jose Diaz-Gonzalez
5ef382dacd
Merge pull request #6111 from dokku/dependabot/docker/tests/apps/gogrpc/golang-1.21.0
...
chore(deps): bump golang from 1.20.7 to 1.21.0 in /tests/apps/gogrpc
2023-08-13 22:41:20 -04:00
Jose Diaz-Gonzalez
6b178952cb
Merge pull request #6105 from dokku/dependabot/bundler/tests/apps/ruby/sinatra-3.1.0
...
chore(deps): bump sinatra from 3.0.6 to 3.1.0 in /tests/apps/ruby
2023-08-13 22:40:42 -04:00
dependabot[bot]
a7677187b3
chore(deps): bump golang.org/x/net in /tests/apps/gogrpc
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/net/compare/v0.13.0...v0.14.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-14 02:08:00 +00:00
Jose Diaz-Gonzalez
24d94576a9
feat: make heroku-22/jammy the default stack for cnb/herokuish builds
2023-08-09 10:11:33 -04:00
dependabot[bot]
59375a5b84
chore(deps): bump golang in /tests/apps/go-fail-postdeploy
...
Bumps golang from 1.20.7 to 1.21.0.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-09 13:19:27 +00:00
dependabot[bot]
7c74ecb317
chore(deps): bump golang from 1.20.7 to 1.21.0 in /tests/apps/gogrpc
...
Bumps golang from 1.20.7 to 1.21.0.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-09 13:11:01 +00:00
dependabot[bot]
93138de467
chore(deps): bump sinatra from 3.0.6 to 3.1.0 in /tests/apps/ruby
...
Bumps [sinatra](https://github.com/sinatra/sinatra ) from 3.0.6 to 3.1.0.
- [Changelog](https://github.com/sinatra/sinatra/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sinatra/sinatra/compare/v3.0.6...v3.1.0 )
---
updated-dependencies:
- dependency-name: sinatra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-07 13:22:23 +00:00
Jose Diaz-Gonzalez
26e9cc9b8c
feat: add support for non-web healthchecks via app.json
...
This change converts existing CHECKS files into a healthchecks key that is understood by 'docker-container-healthchecker'. This tool supports a number of different types of container healthchecks - command, http, uptime - and can perform healthchecks against non-web processes.
The use of the old CHECKS file is now deprecated, and will be removed in the next minor version. Users can use the 'docker-container-healthchecker' to convert existing CHECKS files to the new format automatically.
Closes #2760
2023-08-06 17:23:13 -04:00
Jose Diaz-Gonzalez
625ea14c8f
feat: add openresty proxy implementation
...
This plugin is mostly compatible with the nginx plugin, but runs the proxy within a docker container. Users do not have direct access to add custom openresty configuration at this time, but instead receive the ability to setup automatic ssl on first request via letsencrypt integration.
2023-08-05 20:59:01 -04:00
Jose Diaz-Gonzalez
5846301a48
tests: make it possible to specify an alternative base domain for tests
...
When developing Dokku, it is useful to use a real domain to test actual functionality. This is impossible if the domain is hardcoded to dokku.me in testing.
2023-08-05 20:58:26 -04:00
Jose Diaz-Gonzalez
f8ccf52079
refactor: only use detected port mapping if override is not specified
...
Previously, we would always set the port mapping during a dockerfile build, making it difficult for users to override mappings. We also only _sometimes_ updated the detected port mapping, further confusing issues when users were migrating from Dockerfile to Buildpacks for builds.
Now, we always detect the port mapping during the build process, and only use that detected port mapping if an override is not specified. This greatly simplifies the experience around port mapping, as now a user can create an app, set a port mapping, and that first deploy will respect the port mapping without an additional deploy.
The builder always has the best context for what the app should be listening on, and thus we can always specify a "default" port mapping at this stage. Users can override this map as desired later.
This change also results in the removal of a ton of internal code that is now centralized in the ports plugin.
Closes #4067
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
6168b0c71c
tests: correct assertion for dockerfile builds when a variable is eval'd
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
a84f9bca72
tests: remove assertion for unconsumed build arguments
...
Docker no longer outputs any logging for unconsumed build arguments with the switch to buildx.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
72e8c8d978
tests: correct assertion for dockerfile builds when a variable is eval'd
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
622548057c
tests: add assertions to various bats tests
...
Missing these assertions didn't necessarily break tests but they are more correct and having them should help suss out bugs.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
d6468f4713
tests: use assert_output_not_exists instead of asserting output is empty string
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
1467aaea74
tests: fix issue where networks weren't being torn down during testing
...
Due to how the variable was assigned, there were cases where the network was specified twice with a := as a delimiter. This would result in no network being removed.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
5717e71755
tests: use an alternative curl request to ensure requests go to the local nginx
...
The alternative is to rely on DNS and /etc/hosts rules, which isn't quite great because it requires modifying the system.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
4bc3de5540
feat: write auto-detected port mappings during a deploy
...
During an app build, we now auto-detect ports based on the source code. This is usually http:80:5000, with Dockerfile-based deploys having their ports extracted from the docker image or Dockerfile. Additionally, we add an https:443 mapping for any detected http:80 mapping when there is an ssl certificate, and all http port mappings are transformed to https mappings for Dockerfile-based deploys.
While the ports aren't currently consumed, a future refactor will provide the ability to fallback to the new detected ports when there is no user-specified port mapping.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
f842869c3d
refactor: move the proxy port map from config to property
...
Also remove all direct references to DOKKU_PROXY_PORT_MAP from outside of ports.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
977b4567f8
refactor: simplify ports-configure codebase
...
This makes it slightly easier to reason about, at the cost of being slower.
Also ignore failure to remove image as this was flaky.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
94f4d1325c
feat: export environment variables during dockerfile builds for use with value-less --build-arg flags
...
Exposing all config values will allow users to skip setting environment variables twice - once as a docker option and once as an env var. Docker will automatically pull the value from the environment if none is set for the --build-arg flag.
Users will still be required to specify each desired env var via --build-arg as otherwise docker builds will complain about unused build arguments.
Re-implements #5978 (lost in a rebase)
Closes #5903
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
11d9ed6724
tests: use ports:report to get the list of port mappings
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
515994c8d3
feat: add the ability to execute a cron task on the fly
...
Closes #4904
2023-08-05 10:58:57 -04:00