Compare commits

...

19 Commits

Author SHA1 Message Date
Renovator Bot 3b98142078 chore(deps): update dependency caddyserver/caddy to v2.4.0 (#29)
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [caddyserver/caddy](https://github.com/caddyserver/caddy) | minor | `v2.3.0` -> `v2.4.0` |

---

### Release Notes

<details>
<summary>caddyserver/caddy</summary>

### [`v2.4.0`](https://github.com/caddyserver/caddy/releases/v2.4.0)

[Compare Source](https://github.com/caddyserver/caddy/compare/v2.3.0...v2.4.0)

Caddy v2.4.0 is our first stable release of 2021, ushering in over 110 patches including new features and bug fixes. Thank you to the many contributors who helped make this possible!

Highlights:

-   **Secure remote management.** You can now [enable secure remote access](https://caddyserver.com/docs/json/admin/remote/) to Caddy's [admin API](https://caddyserver.com/docs/api)! It uses TLS mutual authentication, and you can even define permissions for different users. PR [#&#8203;3994](https://github.com/caddyserver/caddy/issues/3994)
-   **Config pull at start.** Caddy can be configured to [load a different config at startup](https://caddyserver.com/docs/json/admin/config/load/). This is useful if your config is federated through a separate system that doesn't have the ability to push configs to Caddy. This feature is modular, so configurations can be loaded different ways! PR [#&#8203;3994](https://github.com/caddyserver/caddy/issues/3994)
-   **Server identity management.** Caddy can [automatically manage its own server identity certificate](https://caddyserver.com/docs/json/admin/identity/), which can be used when negotiating TLS connections with peers. This is required when enabling the secure admin API. PR [#&#8203;3994](https://github.com/caddyserver/caddy/issues/3994)
-   **Self-upgrade command.** The [new `caddy upgrade` command](https://caddyserver.com/docs/command-line#caddy-upgrade) will replace the current Caddy binary with an upgraded one from our website, with all the same modules installed, including third-party plugins that are registered on our site! (We can use this code to add/remove modules later, too.)
-   **Configure other apps from the HTTP Caddyfile.** The global options block of the Caddyfile now allows configuration of Caddy apps other than HTTP (for example, [dynamic_dns](https://github.com/mholt/caddy-dynamicdns) to keep DNS records pointed at your server with a dynamic IP address).
-   **Caddyfile `fmt` lint check.** When running with a Caddyfile, Caddy will emit a warning if the Caddyfile is not formatted with `caddy fmt`.
-   **New `abort` directive.** [The `abort` directive](https://caddyserver.com/docs/caddyfile/directives/abort) is a special case of the `static_response` HTTP handler that _prevents_ an HTTP response by aborting the handler chain immediately and forcefully closing the connection.
-   **New `error` directive.** [The `error` directive](https://caddyserver.com/docs/caddyfile/directives/error) returns internal error values in the HTTP handler chain, as if an HTTP error had occurred, causing your error routes to be invoked.
-   **Configure response interception from Caddyfile.** The reverse_proxy is capable of intercepting responses from the backend, and [now this is exposed in the Caddyfile with `handle_response`](https://caddyserver.com/docs/caddyfile/directives/reverse_proxy#intercepting-responses).
-   **Better `caddy list-modules` output.** Now modules are organized by standard and non-standard modules, so you can easily see if a Caddy build has been customized.
-   **Configure logging from Caddyfile.** The process logs can now be [configured from the global options](https://caddyserver.com/docs/caddyfile/options#log) of the Caddyfile.
-   **Better content negotiation.** [The file server can now be configured](https://caddyserver.com/docs/modules/http.handlers.file_server#precompressed) to serve precompressed sidecar files, and content encoding preferences are better configured and honored.
-   **Dark mode in directory listings.** The file server's "browse" file listings now has a dark mode.
-   **⚠️ Removed the `logfmt` log encoder.** It was broken anyways, and its deprecation has been warned in previous releases.
-   **⚠️ Deprecated `common_log` format.** It will be removed in a future release. Issue [#&#8203;4148](https://github.com/caddyserver/caddy/issues/4148)
-   **⚠️ Deprecated `health_path` in `reverse_proxy` directive.** It has been replaced with `health_uri` and will be removed in the future.
-   **Numerous bug fixes and improvements.** Thanks for the detailed, helpful bug reports! We appreciate your collaboration in making Caddy better.

#### New content for sponsors

I've started writing high-quality, in-depth chatpers about how to get the most out of Caddy in my new [Expert Caddy](https://matt.life/expert-caddy) series, exclusively for sponsors! If you or your company are sponsoring, you can have access to this content, which I'll continue adding to over time.

If you aren't sponsoring yet, [please do so](https://github.com/sponsors/mholt)! Sponsorships fund my full-time development of Caddy, and that's especially vital if your business relies on Caddy.

#### Changelog (since RC 1)

For a detailed list of all commits since v2.3.0, please refer to prior pre-release changelogs.

[`bc22102`](https://github.com/caddyserver/caddy/commit/bc221024) caddyfile: Fix `caddy fmt` nesting not decrementing ([#&#8203;4157](https://github.com/caddyserver/caddy/issues/4157))
[`d4b2f1b`](https://github.com/caddyserver/caddy/commit/d4b2f1bc) caddyhttp&#x3A; Fix fallback for the error handler chain ([#&#8203;4131](https://github.com/caddyserver/caddy/issues/4131))
[`61642b7`](https://github.com/caddyserver/caddy/commit/61642b76) caddytls: Run replacer on ask URL, for env vars ([#&#8203;4154](https://github.com/caddyserver/caddy/issues/4154))
[`7776471`](https://github.com/caddyserver/caddy/commit/77764714) encode: Default to order the formats are enabled for `prefer` in Caddyfile ([#&#8203;4151](https://github.com/caddyserver/caddy/issues/4151))
[`f5db41c`](https://github.com/caddyserver/caddy/commit/f5db41ce) encode: Drop `prefer` from Caddyfile ([#&#8203;4156](https://github.com/caddyserver/caddy/issues/4156))
[`74f5d66`](https://github.com/caddyserver/caddy/commit/74f5d66c) fileserver: Fix `file` matcher with empty `try_files` ([#&#8203;4147](https://github.com/caddyserver/caddy/issues/4147))
[`3cf443f`](https://github.com/caddyserver/caddy/commit/3cf443f0) httpcaddyfile: Add `grace_period` global option ([#&#8203;4152](https://github.com/caddyserver/caddy/issues/4152))
[`a17c3b5`](https://github.com/caddyserver/caddy/commit/a17c3b56) reverseproxy: Minor logging improvements

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).

Reviewed-on: docker/link-validator#29
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2021-05-11 09:26:11 +02:00
Renovator Bot 8157e44d43 chore(deps): pin node.js
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-05-09 22:01:17 +00:00
Robert Kaussow 01460ae79e
chore: update node:lts-alpine3.12 base image to 3.13
continuous-integration/drone/push Build is passing Details
2021-05-09 23:23:53 +02:00
Robert Kaussow 050cb74efc
fix pipeline deps
continuous-integration/drone/push Build is passing Details
2021-05-09 22:57:24 +02:00
Robert Kaussow fcb42005a9
chore: improve generated changelog
continuous-integration/drone/push Build encountered an error Details
2021-05-09 22:42:33 +02:00
Renovator Bot 3b9d9562ec chore(deps): update node:lts-alpine3.12 docker digest to 6b76daf
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-04-15 05:01:00 +00:00
Renovator Bot e83f776aef chore(deps): update node:lts-alpine3.12 docker digest to ff4f5bb
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-04-15 03:01:00 +00:00
Renovator Bot 0f2b71cca6 chore(deps): update node:lts-alpine3.12 docker digest to 9bbd150
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-04-15 00:01:00 +00:00
Renovator Bot c90885969d chore(deps): update node:lts-alpine3.12 docker digest to e93f707
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-04-08 02:00:59 +00:00
Renovator Bot e0435e4f60 chore(deps): update node:lts-alpine3.12 docker digest to a2119f6
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-04-07 22:00:59 +00:00
Renovator Bot 3e3f57255b chore(deps): update node:lts-alpine3.12 docker digest to 0b980a8
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-04-07 20:00:57 +00:00
Renovator Bot bfb61f5b1e chore(deps): update node:lts-alpine3.12 docker digest to 9b87f92
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-04-07 17:01:01 +00:00
Renovator Bot c02afa5058 chore(deps): update node:lts-alpine3.12 docker digest to a0585f1
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-04-01 03:03:47 +00:00
Renovator Bot 1071987cd5 chore(deps): update node:lts-alpine3.12 docker digest to 935d1b7
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-03-31 23:05:06 +00:00
Renovator Bot cc4cefff7e chore(deps): update node:lts-alpine3.12 docker digest to 19d87d2
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-03-26 13:03:47 +00:00
Renovator Bot 72952fa48f chore(deps): update node:lts-alpine3.12 docker digest to 2361ef7
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-03-26 11:03:34 +00:00
Renovator Bot a8d02c8a8b chore(deps): update node:lts-alpine3.12 docker digest to 50c38b4
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-03-26 08:03:39 +00:00
Renovator Bot bbaa88c86c chore(deps): update node:lts-alpine3.12 docker digest to 95ddafb
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-03-26 04:03:30 +00:00
Renovator Bot d454f5d175 chore(deps): update node:lts-alpine3.12 docker digest to 139f489
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-03-26 00:03:47 +00:00
4 changed files with 20 additions and 8 deletions

View File

@ -6,10 +6,14 @@
{{ range .CommitGroups -}}
### {{ .Title }}
{{ $subjects := list }}
{{ range .Commits -}}
{{ if not (has .Subject $subjects) -}}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{ $subjects = append $subjects .Subject -}}
{{ end }}
{{ end -}}
{{- end }}
{{- end -}}
{{- if .NoteGroups -}}
{{ range .NoteGroups -}}

View File

@ -57,15 +57,22 @@ steps:
depends_on:
- dryrun
- name: changelog
- name: changelog-generate
image: thegeeklab/git-chglog
commands:
- git fetch -tq
- git-chglog --no-color --no-emoji ${DRONE_TAG:---next-tag unreleased unreleased}
- git-chglog --no-color --no-emoji -o CHANGELOG.md ${DRONE_TAG:---next-tag unreleased unreleased}
depends_on:
- tags
- name: changelog-format
image: thegeeklab/alpine-tools
commands:
- prettier CHANGELOG.md
- prettier -w CHANGELOG.md
depends_on:
- changelog-generate
- name: publish-dockerhub
image: thegeeklab/drone-docker-buildx:20
settings:
@ -82,7 +89,7 @@ steps:
- refs/heads/main
- refs/tags/**
depends_on:
- changelog
- changelog-format
- name: publish-quay
image: thegeeklab/drone-docker-buildx:20
@ -101,7 +108,7 @@ steps:
- refs/heads/main
- refs/tags/**
depends_on:
- changelog
- changelog-format
- name: publish-gitea
image: plugins/gitea-release
@ -194,6 +201,6 @@ depends_on:
---
kind: signature
hmac: 46597d1f775dcc6b21ae3a42cd40b9996894e9fdb9bb59b985e24bc02101354c
hmac: 5c2a9c3283e29459194fc2f63fac55ad0ef49db8506838bba7fa82c5926a1b34
...

View File

@ -1 +1,2 @@
.drone.yml
*.tpl.md

View File

@ -1,4 +1,4 @@
FROM node:lts-alpine3.12@sha256:aed8ac10548375da1c15e817b6d5d03e67d84cac5dfef922a76a7675d5c9642a
FROM node:lts-alpine3.13@sha256:7021600941a9caa072c592b6a89cec80e46cb341d934f1868220f5786f236f60
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
@ -11,7 +11,7 @@ ARG BUILD_VERSION
# renovate: datasource=npm depName=broken-link-checker
ENV BLC_VERSION="${BUILD_VERSION:-0.7.8}"
# renovate: datasource=github-releases depName=caddyserver/caddy
ENV CADDY_VERSION="${CADDY_VERSION:-v2.3.0}"
ENV CADDY_VERSION="${CADDY_VERSION:-v2.4.0}"
ENV LINK_VALIDATOR_BASE_DIR=/drone/src \
LINK_VALIDATOR_SERVER_PORT=80 \