Update images used for building containers and code test/lint, fill CHANGELOG.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
59dafc373f
commit
df5671586e
@ -5,7 +5,7 @@ name: lint and test
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: lint
|
- name: lint
|
||||||
image: code.pztrn.name/containers/mirror/golangci/golangci-lint:v1.46.2
|
image: code.pztrn.name/containers/mirror/golangci/golangci-lint:v1.48.0
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
@ -13,7 +13,7 @@ steps:
|
|||||||
- golangci-lint run
|
- golangci-lint run
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: code.pztrn.name/containers/mirror/golang:1.18.3-alpine
|
image: code.pztrn.name/containers/mirror/golang:1.19.0-alpine
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
"line-length": false,
|
"line-length": false,
|
||||||
"first-line-h1": false
|
"first-line-h1": false,
|
||||||
|
"no-duplicate-header": false
|
||||||
}
|
}
|
||||||
|
67
CHANGELOG.md
67
CHANGELOG.md
@ -1,12 +1,69 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
``[A]`` - added
|
All notable changes to this project will be documented in this file.
|
||||||
``[F]`` - fixed
|
|
||||||
``[R]`` - removed
|
|
||||||
|
|
||||||
---
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## 0.1.0
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
* Updated docker images - golang to 1.19 and golangci-lint to 1.48.0.
|
||||||
|
* Updated chroma to v2.2.0.
|
||||||
|
|
||||||
|
## [0.4.0] - 2021-01-09
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
* PostgreSQL support.
|
||||||
|
* Docker containerization for every commit and tag.
|
||||||
|
* Pastes cleanup procedure.
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
* Updated bulma to v 0.7.5.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
* Dirty hack to get database connection reestablish (for sure).
|
||||||
|
|
||||||
|
## 0.3.0
|
||||||
|
|
||||||
|
Release changelogs lost :(.
|
||||||
|
|
||||||
|
## [0.2.0] - 2018-05-27
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
* Possibility to create different database backends. Currently `mysql` and `flatfiles` are available.
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
* De-hardcoded pagination configuration, it is now configurable via configuration file.
|
||||||
|
|
||||||
|
## [0.1.1] - 2018-05-26
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
* Footer copyrights.
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
* Refactored templates: now they're included in each other if neccessary.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
* Fixed nasty bugs with private pastes that causing fastpastebin to crash.
|
||||||
|
* Logger level from configuration now properly set.
|
||||||
|
|
||||||
|
## [0.1.0] - 2018-05-19
|
||||||
|
|
||||||
First normal release. Fast Paste Bin is able to handle public, private
|
First normal release. Fast Paste Bin is able to handle public, private
|
||||||
and passworded pastes.
|
and passworded pastes.
|
||||||
|
|
||||||
|
[Unreleased]: https://code.pztrn.name/apps/fastpastebin/compare/0.4.0...HEAD
|
||||||
|
[0.4.0]: https://code.pztrn.name/apps/fastpastebin/compare/v0.2.0...0.4.0
|
||||||
|
[0.2.0]: https://code.pztrn.name/apps/fastpastebin/compare/v0.1.1...v0.2.0
|
||||||
|
[0.1.1]: https://code.pztrn.name/apps/fastpastebin/compare/v0.1.0...v0.1.1
|
||||||
|
[0.1.0]: https://code.pztrn.name/apps/fastpastebin/src/tag/v0.1.0
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM code.pztrn.name/containers/mirror/golang:1.18.3-alpine AS build
|
FROM code.pztrn.name/containers/mirror/golang:1.19.0-alpine AS build
|
||||||
|
|
||||||
WORKDIR /fastpastebin
|
WORKDIR /fastpastebin
|
||||||
COPY . .
|
COPY . .
|
||||||
@ -7,7 +7,7 @@ WORKDIR /fastpastebin/cmd/fastpastebin
|
|||||||
|
|
||||||
RUN CGO_ENABLED=0 go build -tags netgo
|
RUN CGO_ENABLED=0 go build -tags netgo
|
||||||
|
|
||||||
FROM code.pztrn.name/containers/mirror/alpine:3.16.0
|
FROM code.pztrn.name/containers/mirror/alpine:3.16.1
|
||||||
LABEL maintainer "Stanislav N. <pztrn@pztrn.name>"
|
LABEL maintainer "Stanislav N. <pztrn@pztrn.name>"
|
||||||
|
|
||||||
COPY --from=build /fastpastebin/cmd/fastpastebin/fastpastebin /app/fastpastebin
|
COPY --from=build /fastpastebin/cmd/fastpastebin/fastpastebin /app/fastpastebin
|
||||||
|
Loading…
Reference in New Issue
Block a user