Compare commits

...

6 Commits

Author SHA1 Message Date
Renovator Bot 5baecd8eae chore(deps): update dependency mikefarah/yq to v4.6.0 (#24)
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
chore(deps): update dependency mikefarah/yq to v4.6.0

Reviewed-on: docker/lhci#24
Co-Authored-By: Renovator Bot <renovator@rknet.org>
Co-Committed-By: Renovator Bot <renovator@rknet.org>
2021-02-21 15:35:46 +01:00
Renovator Bot 973ec3cee5 chore(deps): update node:lts-alpine3.12 docker digest to b5a2ca7
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-02-20 13:08:09 +00:00
Robert Kaussow c3a94cdcd8
[skip ci] remove local changelog 2021-02-11 21:05:35 +01:00
Renovator Bot d1012bd73e chore(deps): update dependency mikefarah/yq to v4.5.1 (#23)
continuous-integration/drone/push Build is passing Details
chore(deps): update dependency mikefarah/yq to v4.5.1

Reviewed-on: docker/lhci#23
Co-Authored-By: Renovator Bot <renovator@rknet.org>
Co-Committed-By: Renovator Bot <renovator@rknet.org>
2021-02-11 21:01:27 +01:00
Robert Kaussow 393e9de06c
ci: auto-generate changelog
continuous-integration/drone/push Build is passing Details
2021-02-11 20:49:06 +01:00
Renovator Bot 2c5bc1ae2d chore(deps): update node:lts-alpine3.12 docker digest to b7baab1
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-02-10 10:03:31 +00:00
6 changed files with 63 additions and 13 deletions

23
.chglog/CHANGELOG.tpl.md Executable file
View File

@ -0,0 +1,23 @@
# Changelog
{{ range .Versions -}}
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} ({{ datetime "2006-01-02" .Tag.Date }})
{{ range .CommitGroups -}}
### {{ .Title }}
{{ range .Commits -}}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{ end }}
{{ end -}}
{{- if .NoteGroups -}}
{{ range .NoteGroups -}}
### {{ .Title }}
{{ range .Notes }}
{{ .Body }}
{{ end }}
{{ end -}}
{{ end -}}
{{ end -}}

25
.chglog/config.yml Executable file
View File

@ -0,0 +1,25 @@
style: github
template: CHANGELOG.tpl.md
info:
title: CHANGELOG
repository_url: https://gitea.rknet.org/docker/lhci
options:
commit_groups:
title_maps:
feat: Features
fix: Bug Fixes
perf: Performance Improvements
refactor: Code Refactoring
chore: Others
test: Testing
ci: CI Pipeline
docs: Documentation
header:
pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$"
pattern_maps:
- Type
- Scope
- Subject
notes:
keywords:
- BREAKING CHANGE

View File

@ -57,6 +57,15 @@ steps:
depends_on:
- dryrun
- name: changelog
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: publish-dockerhub
image: thegeeklab/drone-docker-buildx:20
settings:
@ -73,7 +82,7 @@ steps:
- refs/heads/main
- refs/tags/**
depends_on:
- tags
- changelog
- name: publish-quay
image: thegeeklab/drone-docker-buildx:20
@ -92,7 +101,7 @@ steps:
- refs/heads/main
- refs/tags/**
depends_on:
- tags
- changelog
- name: publish-gitea
image: plugins/gitea-release
@ -185,6 +194,6 @@ depends_on:
---
kind: signature
hmac: 6897d0279b8805619c2d29ac17d498e823b44132f2e3b86d3f045a68aadf97e8
hmac: cc8922b7a2921199bd29022e42f41b2637f302e85072b78f57be5487142685c3
...

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
CHANGELOG.md

View File

@ -1,8 +0,0 @@
# Changelog
## v0.7.0-1 (2021-02-04)
### Others
- **deps:** update dependency mikefarah/yq to v4.5.0 ([#21](https://gitea.rknet.org/docker/lhci/issues/21))
- **deps:** update dependency @lhci/cli to v0.7.0 ([#20](https://gitea.rknet.org/docker/lhci/issues/20))

View File

@ -1,4 +1,4 @@
FROM node:lts-alpine3.12@sha256:92c8a9d70dcbc8bb628c346ae1c39ea521103d998496a49fb072332c63228a65
FROM node:lts-alpine3.12@sha256:b5a2ca718eb6488c845d1fe9cb92befbfadbb87bda0633e588d994e1c4f003d5
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
@ -13,7 +13,7 @@ ARG YQ_VERSION
# renovate: datasource=npm depName=@lhci/cli
ENV LHCI_VERSION="${BUILD_VERSION:-0.7.0}"
# renovate: datasource=github-releases depName=mikefarah/yq
ENV YQ_VERSION="${YQ_VERSION:-v4.5.0}"
ENV YQ_VERSION="${YQ_VERSION:-v4.6.0}"
ENV LHCI_BASE_DIR=/drone/src \
FORCE_COLOR=true \