Compare commits

...

74 Commits

Author SHA1 Message Date
Renovator Bot edd89b53f7 chore(deps): update dependency kanboard/kanboard to v1.2.19 (#31)
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 |
|---|---|---|
| [kanboard/kanboard](https://github.com/kanboard/kanboard) | patch | `v1.2.18` -> `v1.2.19` |

---

### Release Notes

<details>
<summary>kanboard/kanboard</summary>

### [`v1.2.19`](https://github.com/kanboard/kanboard/releases/v1.2.19)

[Compare Source](https://github.com/kanboard/kanboard/compare/v1.2.18...v1.2.19)

-   Trim user agent for RememberMe sessions because MySQL use a varchar(255) column
-   Update Docker image to Alpine 3.13.4
-   Added "Deutsch (du)" language
-   Fixed `createLdapUser` API procedure when LDAP groups are not configured
-   Write RememberMe cookie only after the two-factor code has been validated
-   Avoid warning when removing a plugin zip archive
-   Update Hungarian translation
-   Add new hook `model:task:duplication:aftersave`
-   Bump symfony/stopwatch from 5.2.3 to 5.2.4
-   Bump pimple/pimple from 3.3.1 to 3.4.0
-   Bump gregwar/captcha from 1.1.8 to 1.1.9
-   Added new analytic component: "Estimated vs actual time per column"
-   Do not retain any changes between shared plugins variables
-   Display number of tasks according to filter
-   Add support for LDAP protocol/host/port configuration by URL; make `BASE_DN` optional
    -   `ldap_connect($host, $port)` function signature is deprecated
    -   Querying an AD Global Catalog across an entire forest requires an empty base DN
-   Use an absolute file path in `AssetHelper` class for `css()` & `js()` functions
-   Remove whitespace at the end of `APP_VERSION` constant
-   Add IP address to authentication error logs
-   Add interpolation expressions to e-mail subject in automatic action "Send a task by email to someone"
    -   For example: `Email subject = {{column_title}}: {{title}} (#{{id}})`
-   Add Hungarian Forint to the list of currencies

</details>

---

### Renovate 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/kanboard#31
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2021-04-17 09:31:29 +02:00
Renovator Bot 5048138533 chore(deps): update thegeeklab/nginx:latest docker digest to 1c97c83
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-04-14 22:01:03 +00:00
Renovator Bot 2b105af367 chore(deps): update thegeeklab/nginx:latest docker digest to a890cec
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-04-09 10:01:00 +00:00
Renovator Bot ad611b163b chore(deps): update thegeeklab/nginx:latest docker digest to b64a9a8
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-03-31 23:04:07 +00:00
Renovator Bot f6aefe30d4 chore(deps): update thegeeklab/nginx:latest docker digest to d54c5f3
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-03-31 21:04:44 +00:00
Renovator Bot b101bea263 chore(deps): update thegeeklab/nginx:latest docker digest to 4f87267
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-03-26 01:03:32 +00:00
Renovator Bot c6ffa64a8d chore(deps): update thegeeklab/nginx:latest docker digest to 03ae58e
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-03-23 23:03:40 +00:00
Renovator Bot a6ea9fc951 chore(deps): update thegeeklab/nginx:latest docker digest to 3a1afe8
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2021-02-20 13:07:32 +00:00
Renovator Bot cd6560b8ad chore(deps): update thegeeklab/nginx:latest docker digest to 1eae9a8
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-02-18 03:04:29 +00:00
Renovator Bot 5bf2da3da1 chore(deps): update thegeeklab/nginx:latest docker digest to d8d6c0d
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-02-18 01:04:12 +00:00
Renovator Bot 1553ceb2f0 chore(deps): update thegeeklab/nginx:latest docker digest to d927114
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-02-17 23:04:51 +00:00
Renovator Bot 94afa9f3c0 chore(deps): update thegeeklab/nginx:latest docker digest to 4d1f929
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-02-15 23:03:51 +00:00
Renovator Bot 9edb21fa20 chore(deps): update thegeeklab/nginx:latest docker digest to 3cc0be1
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-02-15 21:03:56 +00:00
Renovator Bot 17905d15c1 chore(deps): update thegeeklab/nginx:latest docker digest to e901869
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-02-11 21:03:12 +00:00
Robert Kaussow aedb65bbd2
[skip ci] remove local changelog 2021-02-11 21:05:35 +01:00
Robert Kaussow bc083df11c
ci: auto-generate changelog
continuous-integration/drone/push Build is passing Details
2021-02-11 20:46:47 +01:00
Renovator Bot 3bb22d788b chore(deps): update thegeeklab/nginx:latest docker digest to 15327ec
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-01-29 15:03:11 +00:00
Renovator Bot 24592d561c chore(deps): update thegeeklab/nginx:latest docker digest to 22cab88
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2021-01-29 06:03:05 +00:00
Renovator Bot 74f84de581 chore(deps): update thegeeklab/nginx:latest docker digest to d60b2a4
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-01-29 04:02:57 +00:00
Renovator Bot f8e2ca5dc2 chore(deps): update thegeeklab/nginx:latest docker digest to accb4fd
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-01-29 02:03:36 +00:00
Renovator Bot 79de8cf11e chore(deps): update thegeeklab/nginx:latest docker digest to 4874dc8
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-01-18 23:03:24 +00:00
Renovator Bot 505d834814 chore(deps): update thegeeklab/nginx:latest docker digest to 632bbd1
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-01-18 21:03:30 +00:00
Robert Kaussow ffd92dee6d
switch to docker-buildx
continuous-integration/drone/push Build is passing Details
2021-01-18 21:47:53 +01:00
Robert Kaussow 6e8b551aa9
switch to custom drone docker plugin
continuous-integration/drone/push Build is passing Details
2021-01-18 20:15:31 +01:00
Renovator Bot 129f325b85 chore(deps): update thegeeklab/nginx:latest docker digest to 3eff88c
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-01-04 17:02:21 +00:00
Robert Kaussow 1d86b001c9
chore: remove gomplate debug output
continuous-integration/drone/push Build is passing Details
2020-12-31 13:22:01 +01:00
Robert Kaussow ba606612fb
[skip ci] update changelog
continuous-integration/drone/tag Build is passing Details
2020-12-31 12:55:05 +01:00
Renovator Bot 04644e51aa chore(deps): update dependency kanboard/kanboard to v1.2.18 (#7)
continuous-integration/drone/push Build is passing Details
chore(deps): update dependency kanboard/kanboard to v1.2.18

Reviewed-on: docker/kanboard#7
2020-12-30 19:18:47 +01:00
Renovator Bot bded4c3ecf chore(deps): update thegeeklab/nginx:latest docker digest to 1cf8372
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2020-12-30 17:01:44 +00:00
Robert Kaussow caa7613bf1
use double quotes
continuous-integration/drone/push Build is passing Details
2020-12-30 17:24:41 +01:00
Robert Kaussow b556644175
rework compose example
continuous-integration/drone/push Build is passing Details
2020-12-30 17:21:36 +01:00
Robert Kaussow 69f069e6c4
remove compose section from readme
continuous-integration/drone/push Build is passing Details
2020-12-30 17:17:20 +01:00
Renovator Bot 2794b56109 chore(deps): pin docker digests
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2020-12-30 16:02:33 +00:00
Robert Kaussow b5cd7c79cf
chore: replace master by main as default branch
continuous-integration/drone/push Build is passing Details
2020-12-30 16:31:40 +01:00
Robert Kaussow c9d39abeaf
chore: use renovate preset config
continuous-integration/drone/push Build is passing Details
2020-12-30 16:12:07 +01:00
Robert Kaussow c390053549
[skip ci] update changelog
continuous-integration/drone/tag Build is passing Details
2020-12-21 00:06:08 +01:00
Robert Kaussow d888290d57
switch to org.opencontainers container labels
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2020-12-20 22:47:43 +01:00
Robert Kaussow 6e6676771c
pin plugins/docker to v19
continuous-integration/drone/push Build is passing Details
2020-11-28 12:10:28 +01:00
Robert Kaussow 0d1f4f2073
fix pipeline deps
continuous-integration/drone/push Build is passing Details
2020-10-28 09:17:36 +01:00
Robert Kaussow 9f02ede4e5
enable markdownlint
continuous-integration/drone/push Build is passing Details
2020-10-28 09:05:49 +01:00
Robert Kaussow 56506c3104
update email address
continuous-integration/drone/push Build is passing Details
2020-10-26 20:08:10 +01:00
Robert Kaussow e7e1df7ea3
[skip ci] adjust regex patterns 2020-10-23 09:59:12 +02:00
Robert Kaussow 84c12147d6
[skip ci] remove hourly limit 2020-10-18 16:03:03 +02:00
Robert Kaussow 94dcc0f369
[skip ci] prepare release
continuous-integration/drone/tag Build is passing Details
2020-10-18 13:28:51 +02:00
Robert Kaussow ad8c6cdfb7 Merge pull request 'Update dependency kanboard/kanboard to v1.2.16' (#3) from renovate/kanboard-kanboard-1.x into master
continuous-integration/drone/push Build is passing Details
Reviewed-on: docker/kanboard#3
2020-10-17 20:57:46 +02:00
Renovator Bot c9844af82e Update dependency kanboard/kanboard to v1.2.16
continuous-integration/drone/pr Build is passing Details
2020-10-17 14:16:43 +00:00
Robert Kaussow e7be45fd19
fix drone trigger
continuous-integration/drone/push Build is passing Details
2020-10-17 16:08:36 +02:00
Robert Kaussow e12d8aa9fa
add renovate config
continuous-integration/drone/push Build is passing Details
2020-10-17 15:29:44 +02:00
Robert Kaussow 8f491d9e68 Merge pull request 'Configure Renovate' (#1) from renovate/configure into master
continuous-integration/drone/push Build is passing Details
Reviewed-on: docker/kanboard#1
2020-10-17 11:03:37 +02:00
Renovator Bot cf52045028 Add renovate.json
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2020-10-17 08:09:54 +00:00
Robert Kaussow ec483e325a
update readme
continuous-integration/drone/push Build is passing Details
2020-09-22 22:33:35 +02:00
Robert Kaussow bf8b275393
[skip ci] migrate namespace
continuous-integration/drone/tag Build is passing Details
2020-09-22 22:02:29 +02:00
Robert Kaussow 2854cfcb9e
migrate to thegeeklab namespace
continuous-integration/drone/push Build is passing Details
2020-09-21 22:11:01 +02:00
Robert Kaussow a0d15cbffd
fix wording in badges
continuous-integration/drone/push Build is passing Details
2020-09-05 17:22:37 +02:00
Robert Kaussow e8f9b2df87
[skip ci] update changelog
continuous-integration/drone/tag Build is passing Details
2020-09-02 22:36:13 +02:00
Robert Kaussow d6f1b5688e
publish to quay and dockerhub
continuous-integration/drone/push Build is passing Details
2020-09-02 21:54:04 +02:00
Robert Kaussow bac542cc5a
[skip ci] prepare release
continuous-integration/drone/tag Build is passing Details
2020-06-23 21:20:55 +02:00
Robert Kaussow 91b16032e7 always disable mail configuration in the UI
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2020-05-05 21:15:43 +02:00
Robert Kaussow 580444d589 use 127.0.0.1 for healthcheck instead of localhost
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2020-05-05 17:51:46 +02:00
Robert Kaussow f6a412fbd2 remove manifest
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2020-05-04 21:02:27 +02:00
Robert Kaussow 62f255edc0 sign drone config
continuous-integration/drone/push Build is failing Details
2020-05-04 20:59:24 +02:00
Robert Kaussow 796ef43f30 cleanup
continuous-integration/drone/push Build is pending Details
2020-05-04 20:53:36 +02:00
Robert Kaussow ab5f4651ee [SKIP CI] prepare release
continuous-integration/drone/tag Build is passing Details
2020-04-16 08:28:42 +02:00
Robert Kaussow bff5e3e7a4 [SKIP CI] prepare release
continuous-integration/drone/tag Build is passing Details
2020-02-22 20:11:55 +01:00
Robert Kaussow 9a03d16923 update readme and license
continuous-integration/drone/push Build is passing Details
2020-02-22 18:08:14 +01:00
Robert Kaussow 2deb6f657d cleanup
continuous-integration/drone/push Build is passing Details
2020-02-22 16:43:56 +01:00
Robert Kaussow 47cdba400e fix formatting
continuous-integration/drone/push Build is passing Details
2020-02-22 15:20:15 +01:00
Robert Kaussow a1edc08c6f fix env vars
continuous-integration/drone/push Build is passing Details
2020-02-22 14:57:58 +01:00
Robert Kaussow 2be6ffe0e4 sign drone config
continuous-integration/drone/push Build is failing Details
2020-02-22 14:45:50 +01:00
Robert Kaussow 38dea5e7f7 refactoring and versioning fix
continuous-integration/drone/push Build is pending Details
2020-02-22 14:44:39 +01:00
Robert Kaussow 176908c3a9 prepare new release
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2019-10-28 19:51:49 +01:00
Robert Kaussow f423e2aa0f [SKIP CI] fix tagging in drone pipeline
continuous-integration/drone/tag Build is passing Details
2019-10-02 11:00:46 +02:00
Robert Kaussow 916ae79a4e [SKIP CI] fix changelog 2019-10-02 10:54:07 +02:00
Robert Kaussow 44981257fa prepare new release
continuous-integration/drone/push Build is passing Details
2019-10-02 10:51:21 +02:00
20 changed files with 241 additions and 306 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/kanboard
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

@ -1,8 +0,0 @@
.git
.git*
.drone.*
*.md
.dockerignore
Dockerfile
Dockerfile.*
docker-compose.yml

View File

@ -1,148 +0,0 @@
local PipelineBuild(os='linux', arch='amd64') = {
local tag = os + '-' + arch,
local version_tag = os + '-' + arch,
local file_suffix = std.strReplace(version_tag, '-', '.'),
kind: "pipeline",
name: version_tag,
platform: {
os: os,
arch: arch,
},
steps: [
{
name: 'dryrun',
image: 'plugins/docker:' + tag,
pull: 'always',
settings: {
dry_run: true,
tags: version_tag,
dockerfile: './Dockerfile.' + file_suffix,
repo: 'xoxys/kanboard',
username: { from_secret: "docker_username" },
password: { from_secret: "docker_password" },
build_args: {
KANBOARD_VERSION: "${DRONE_TAG%??}",
},
},
},
{
name: 'publish',
image: 'plugins/docker:' + tag,
pull: 'always',
settings: {
auto_tag: true,
auto_tag_suffix: version_tag,
dockerfile: './Dockerfile.' + file_suffix,
repo: 'xoxys/kanboard',
username: { from_secret: "docker_username" },
password: { from_secret: "docker_password" },
build_args: {
KANBOARD_VERSION: "${DRONE_TAG%??}",
},
},
when: {
ref: [
'refs/heads/master',
'refs/tags/**',
],
},
},
{
name: "publish-gitea",
image: "plugins/gitea-release",
pull: "always",
settings: {
api_key: { "from_secret": "gitea_token" },
base_url: "https://gitea.rknet.org",
overwrite: true,
title: "${DRONE_TAG}",
note: "CHANGELOG.md",
},
when: {
ref: ['refs/tags/**'],
},
},
],
};
local PipelineNotifications(depends_on=[]) = {
kind: "pipeline",
name: "notifications",
platform: {
os: "linux",
arch: "amd64",
},
steps: [
{
image: "plugins/manifest",
name: "manifest",
pull: "always",
settings: {
ignore_missing: true,
tags: ["${DRONE_TAG}", "${DRONE_TAG%??}", "${DRONE_TAG%.*}", "${DRONE_TAG%%.*}"],
username: { from_secret: "docker_username" },
password: { from_secret: "docker_password" },
spec: "./manifest.tmpl",
},
when: {
ref: [
'refs/heads/master',
'refs/tags/**',
],
},
},
{
name: "readme",
image: "sheogorath/readme-to-dockerhub",
pull: "always",
environment: {
DOCKERHUB_USERNAME: { from_secret: "docker_username" },
DOCKERHUB_PASSWORD: { from_secret: "docker_password" },
DOCKERHUB_REPO_PREFIX: "xoxys",
DOCKERHUB_REPO_NAME: "kanboard",
README_PATH: "README.md",
SHORT_DESCRIPTION: "Rootless Kanboard - Kanban project management software"
},
when: {
ref: [
'refs/heads/master',
'refs/tags/**',
],
},
},
{
name: "microbadger",
image: "plugins/webhook",
pull: "always",
settings: {
urls: { from_secret: "microbadger_url" },
},
},
{
image: "plugins/matrix",
name: "matrix",
pull: 'always',
settings: {
homeserver: "https://matrix.rknet.org",
roomid: "MtidqQXWWAtQcByBhH:rknet.org",
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}",
username: { from_secret: "matrix_username" },
password: { from_secret: "matrix_password" },
},
when: {
status: [ "success", "failure" ],
},
},
],
trigger: {
status: [ "success", "failure" ],
},
depends_on: depends_on,
};
[
PipelineBuild(os='linux', arch='amd64'),
PipelineNotifications(depends_on=[
"linux-amd64",
])
]

View File

@ -1,6 +1,26 @@
---
kind: pipeline
name: linux-amd64
name: test
platform:
os: linux
arch: amd64
steps:
- name: markdownlint
image: thegeeklab/markdownlint-cli
commands:
- markdownlint 'README.md'
trigger:
ref:
- refs/heads/main
- refs/pull/**
- refs/tags/**
---
kind: pipeline
name: build-container
platform:
os: linux
@ -8,41 +28,82 @@ platform:
steps:
- name: dryrun
pull: always
image: plugins/docker:linux-amd64
image: thegeeklab/drone-docker-buildx:20
settings:
build_args:
KANBOARD_VERSION: "${DRONE_TAG%??}"
dockerfile: ./Dockerfile.linux.amd64
- BUILD_VERSION=${DRONE_TAG%-*}
dockerfile: Dockerfile
dry_run: true
password:
from_secret: docker_password
repo: xoxys/kanboard
tags: linux-amd64
username:
from_secret: docker_username
- name: publish
pull: always
image: plugins/docker:linux-amd64
settings:
auto_tag: true
auto_tag_suffix: linux-amd64
build_args:
KANBOARD_VERSION: "${DRONE_TAG%??}"
dockerfile: ./Dockerfile.linux.amd64
password:
from_secret: docker_password
repo: xoxys/kanboard
repo: thegeeklab/${DRONE_REPO_NAME}
username:
from_secret: docker_username
when:
ref:
- refs/heads/master
- "refs/tags/**"
- refs/pull/**
- name: tags
image: thegeeklab/docker-autotag
environment:
DOCKER_AUTOTAG_FORCE_LATEST: True
DOCKER_AUTOTAG_IGNORE_PRERELEASE: True
DOCKER_AUTOTAG_OUTPUT_FILE: .tags
DOCKER_AUTOTAG_VERSION: ${DRONE_TAG}
when:
ref:
- refs/heads/main
- refs/tags/**
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:
build_args:
- BUILD_VERSION=${DRONE_TAG%-*}
dockerfile: Dockerfile
password:
from_secret: docker_password
repo: thegeeklab/${DRONE_REPO_NAME}
username:
from_secret: docker_username
when:
ref:
- refs/heads/main
- refs/tags/**
depends_on:
- changelog
- name: publish-quay
image: thegeeklab/drone-docker-buildx:20
settings:
build_args:
- BUILD_VERSION=${DRONE_TAG%-*}
dockerfile: Dockerfile
password:
from_secret: quay_password
registry: quay.io
repo: quay.io/thegeeklab/${DRONE_REPO_NAME}
username:
from_secret: quay_username
when:
ref:
- refs/heads/main
- refs/tags/**
depends_on:
- changelog
- name: publish-gitea
pull: always
image: plugins/gitea-release
settings:
api_key:
@ -50,10 +111,22 @@ steps:
base_url: https://gitea.rknet.org
note: CHANGELOG.md
overwrite: true
title: "${DRONE_TAG}"
title: ${DRONE_TAG}
when:
ref:
- "refs/tags/**"
- refs/tags/**
depends_on:
- publish-dockerhub
- publish-quay
trigger:
ref:
- refs/heads/main
- refs/pull/**
- refs/tags/**
depends_on:
- test
---
kind: pipeline
@ -64,58 +137,42 @@ platform:
arch: amd64
steps:
- name: manifest
- name: pushrm-dockerhub
pull: always
image: plugins/manifest
settings:
ignore_missing: true
password:
from_secret: docker_password
spec: ./manifest.tmpl
tags:
- "${DRONE_TAG}"
- "${DRONE_TAG%??}"
- "${DRONE_TAG%.*}"
- "${DRONE_TAG%%.*}"
username:
from_secret: docker_username
when:
ref:
- refs/heads/master
- "refs/tags/**"
- name: readme
pull: always
image: sheogorath/readme-to-dockerhub
image: chko/docker-pushrm:1
environment:
DOCKERHUB_PASSWORD:
DOCKER_PASS:
from_secret: docker_password
DOCKERHUB_REPO_NAME: kanboard
DOCKERHUB_REPO_PREFIX: xoxys
DOCKERHUB_USERNAME:
DOCKER_USER:
from_secret: docker_username
README_PATH: README.md
SHORT_DESCRIPTION: Rootless Kanboard - Kanban project management software
PUSHRM_FILE: README.md
PUSHRM_SHORT: Custom image for Kanboard Kanban project management
PUSHRM_TARGET: thegeeklab/${DRONE_REPO_NAME}
when:
ref:
- refs/heads/master
- "refs/tags/**"
status:
- success
- name: microbadger
- name: pushrm-quay
pull: always
image: plugins/webhook
settings:
urls:
from_secret: microbadger_url
image: chko/docker-pushrm:1
environment:
APIKEY__QUAY_IO:
from_secret: quay_token
PUSHRM_FILE: README.md
PUSHRM_TARGET: quay.io/thegeeklab/${DRONE_REPO_NAME}
when:
status:
- success
- name: matrix
pull: always
image: plugins/matrix
settings:
homeserver: https://matrix.rknet.org
homeserver:
from_secret: matrix_homeserver
password:
from_secret: matrix_password
roomid: MtidqQXWWAtQcByBhH:rknet.org
roomid:
from_secret: matrix_roomid
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
username:
from_secret: matrix_username
@ -125,15 +182,18 @@ steps:
- failure
trigger:
ref:
- refs/heads/main
- refs/tags/**
status:
- success
- failure
depends_on:
- linux-amd64
- build-container
---
kind: signature
hmac: 8447dceeb657d620f0f0ac6dff3bdb4cc520961c7ccd7a7efc84f1401716b14d
hmac: 2bc6998878baf263dbda96a4c7946551fffc788c2738660b4ebee62887f375d0
...

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
test/
CHANGELOG.md

6
.markdownlint.yml Normal file
View File

@ -0,0 +1,6 @@
---
default: True
MD013: False
MD041: False
MD004:
style: dash

1
.prettierignore Normal file
View File

@ -0,0 +1 @@
.drone.yml

View File

@ -1,3 +0,0 @@
* BUGFIX
* fix port in healthcheck script
* small vhost adjustments

View File

@ -1,13 +1,17 @@
FROM xoxys/nginx:latest
FROM thegeeklab/nginx:latest@sha256:1c97c8395046bf2eaa9e758661581d42a9857dcefc6bcf07908dac55dbf26082
LABEL maintainer="Robert Kaussow <mail@geeklabor.de>" \
org.label-schema.name="Kanboard" \
org.label-schema.version="1.2" \
org.label-schema.vendor="Robert Kaussow" \
org.label-schema.schema-version="1.0"
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.title="Kanboard"
LABEL org.opencontainers.image.url="https://gitea.rknet.org/docker/kanboard"
LABEL org.opencontainers.image.source="https://gitea.rknet.org/docker/kanboard"
LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/docker/kanboard"
ARG KANBOARD_VERSION=master
ARG KANBOARD_TARBALL=https://github.com/kanboard/kanboard/archive/${KANBOARD_VERSION}.tar.gz
ARG BUILD_VERSION
# renovate: datasource=github-releases depName=kanboard/kanboard
ENV KANBOARD_VERSION="${BUILD_VERSION:-v1.2.19}"
ADD overlay/ /
RUN apk --update add --virtual .build-deps tar curl && \
apk --update add ssmtp mailx php7 php7-phar php7-curl \
@ -17,14 +21,13 @@ RUN apk --update add --virtual .build-deps tar curl && \
rm -rf /var/www/localhost && \
rm -f /etc/php7/php-fpm.d/www.conf && \
mkdir -p /var/www/app && \
curl -SsL ${KANBOARD_TARBALL} | tar xz -C /var/www/app/ --strip-components=1 && \
echo "Installing Kanboard version '${KANBOARD_VERSION##v}' ..." && \
curl -SsL "https://github.com/kanboard/kanboard/archive/${KANBOARD_VERSION}.tar.gz" | \
tar xz -C /var/www/app/ -X /.tarignore --strip-components=1 && \
curl -SsL -o /etc/php7/browscap.ini https://browscap.org/stream?q=Lite_PHP_BrowsCapINI && \
curl -SsL -o /usr/local/bin/supercronic https://github.com/aptible/supercronic/releases/download/v0.1.9/supercronic-linux-amd64 && \
chmod 755 /usr/local/bin/supercronic && \
apk del .build-deps && \
rm -rf /var/cache/apk/* && \
rm -rf /tmp/* && \
rm -rf /var/www/app/ChangeLog /var/www/app/config.default.php && \
mkdir -p /var/run/php && \
chown -R nginx /var/run/php && \
mkdir -p /var/lib/php/tmp_upload && \
@ -34,9 +37,8 @@ RUN apk --update add --virtual .build-deps tar curl && \
chown nginx /etc/php7/php.ini && \
chown -R nginx:nginx /var/www/app
ADD overlay/ /
VOLUME /var/www/app/plugins
VOLUME /var/www/app/data
EXPOSE 8080
@ -44,7 +46,7 @@ USER nginx
STOPSIGNAL SIGTERM
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
HEALTHCHECK --interval=30s --timeout=10s --retries=3 CMD /usr/local/bin/healthcheck.sh
ENTRYPOINT ["/usr/local/bin/entrypoint"]
HEALTHCHECK --interval=30s --timeout=5s --retries=3 CMD /usr/local/bin/healthcheck
WORKDIR /var/www/app
CMD []

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2019 Robert Kaussow
Copyright (c) 2021 Robert Kaussow <mail@thegeeklab.de>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -1,11 +1,16 @@
# [kanboard](https://gitea.rknet.org/docker/kanboard)
# kanboard
[![Build Status](https://drone.rknet.org/api/badges/docker/kanboard/status.svg)](https://drone.rknet.org/docker/kanboard/)
[![Microbadger](https://images.microbadger.com/badges/image/xoxys/kanboard.svg)](https://microbadger.com/images/xoxys/kanboard "Get your own image badge on microbadger.com")
Custom image for Kanboard Kanban project management
> **WARNING**: since release v1.2.1102 this image is a rootless image and may BREAK your setup!
[![Build Status](https://img.shields.io/drone/build/docker/kanboard?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/docker/kanboard)
[![Docker Hub](https://img.shields.io/badge/dockerhub-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/thegeeklab/kanboard)
[![Quay.io](https://img.shields.io/badge/quay-latest-blue.svg?logo=docker&logoColor=white)](https://quay.io/repository/thegeeklab/kanboard)
[![Source: Gitea](https://img.shields.io/badge/source-gitea-blue.svg?logo=gitea&logoColor=white)](https://gitea.rknet.org/docker/kanboard)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/docker/kanboard/src/branch/main/LICENSE)
Kanboard is project management software that focuses on the Kanban methodology.
> **WARNING**: Since release v1.2.1102 this image is a rootless image and may BREAK your setup!
Custom rootless Docker image for Kanboard, a project management software that focuses on the Kanban methodology.
## Usage
@ -18,33 +23,13 @@ Here are some example snippets to help you get started creating a container. Thi
```Shell
docker create \
--name=kanboard \
-p 80:80 \
xoxys/kanboard
-p 80:8080 \
thegeeklab/kanboard
```
### Docker Compose
Compatible with docker-compose v2 schemas.
```Yaml
---
version: '2.1'
services:
kanboard:
image: kanboard/kanboard:latest
ports:
- "80:80"
volumes:
- kanboard_data:/var/www/app/data
- kanboard_plugins:/var/www/app/plugins
volumes:
kanboard_data:
driver: local
kanboard_plugins:
driver: local
```
Please take a look at the [example](https://gitea.rknet.org/docker/kanboard/src/branch/main/docker-compose.yml) compose file from the git repo.
## Environment variables
@ -53,7 +38,6 @@ volumes:
```Shell
KANBOARD_PLUGIN_INSTALLER=false
KANBOARD_CACHE_DRIVER=memory
KANBOARD_MAIL_CONFIGURATION=true
KANBOARD_MAIL_FROM=
KANBOARD_MAIL_TRANSPORT=mail
KANBOARD_MAIL_SMTP_HOSTNAME=
@ -150,10 +134,6 @@ PHP_DATE_TIMEZONE=Europe/Berlin
PHP_SQL_SAFE_MODE=On
```
### License
## License
This project is licensed under the MIT License - see the [LICENSE](https://gitea.rknet.org/docker/kanboard/src/branch/master/LICENSE) file for details.
### Maintainers and Contributors
[Robert Kaussow](https://gitea.rknet.org/xoxys)
This project is licensed under the MIT License - see the [LICENSE](https://gitea.rknet.org/docker/kanboard/src/branch/main/LICENSE) file for details.

View File

@ -1,8 +1,10 @@
version: '2.1'
---
version: "3"
services:
kanboard:
image: xoxys/kanboard:latest
container_name: kanboard
image: thegeeklab/kanboard
ports:
- "80:8080"
volumes:

View File

@ -1,15 +0,0 @@
image: xoxys/kanboard:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
{{#if build.tags}}
tags:
{{#each build.tags}}
{{#if this}}
- {{trimPrefix "v" this}}
- {{trimPrefix "v" this}}-linux-amd64
{{/if}}
{{/each}}
{{/if}}
manifests:
- image: xoxys/kanboard:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
platform:
architecture: amd64
os: linux

2
overlay/.tarignore Normal file
View File

@ -0,0 +1,2 @@
ChangeLog
config.default.php

View File

@ -30,7 +30,7 @@ define('CACHE_DIR', '/var/www/app/data/cache');
define('FILES_DIR', '/var/www/app/data/files');
// Enable/disable email configuration from the user interface
define('MAIL_CONFIGURATION', {{ getenv "KANBOARD_MAIL_CONFIGURATION" "true" }});
define('MAIL_CONFIGURATION', false);
// E-mail address used for the "From" header (notifications)
define('MAIL_FROM', '{{ getenv "KANBOARD_MAIL_FROM" }}');

View File

@ -0,0 +1,8 @@
#!/usr/bin/env sh
/usr/local/bin/gomplate -o /etc/php7/php.ini -f /etc/templates/php.ini.tmpl
/usr/local/bin/gomplate -o /var/www/app/data/config.php -f /etc/templates/config.php.tmpl
exec supercronic -split-logs /etc/crontabs/nginx 1>/dev/null &
exec php-fpm7 -F &
exec nginx -g "daemon off;"

View File

@ -1,7 +0,0 @@
#!/bin/sh
/usr/local/bin/gomplate -V -o /etc/php7/php.ini -f /etc/templates/php.ini.tmpl 1>/dev/null
/usr/local/bin/gomplate -V -o /var/www/app/data/config.php -f /etc/templates/config.php.tmpl 1>/dev/null
exec supercronic -split-logs /etc/crontabs/nginx 1>/dev/null &
exec php-fpm7 -F &
exec nginx -g "daemon off;"

View File

@ -1,7 +1,8 @@
#!/bin/sh
#!/usr/bin/env sh
set -eo pipefail
URL=http://localhost:8080
URL=http://127.0.0.1:8080
wget --quiet --tries=1 --spider ${URL}
[ $? -ne 0 ] && exit 1

4
renovate.json Normal file
View File

@ -0,0 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>thegeeklab/renovate-presets:docker"]
}