setup renovate-bot
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2020-10-18 14:24:21 +02:00
parent 8a82fce8a9
commit 1dfaa3846b
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
7 changed files with 36 additions and 6 deletions

View File

@ -8,7 +8,7 @@ platform:
steps: steps:
- name: binary - name: binary
image: clux/muslrust:nightly-2019-12-19 image: clux/muslrust:nightly-2020-10-02
commands: commands:
- make build - make build
environment: environment:
@ -165,6 +165,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 57fb33ba361540dfd86aadf2d2ea91218ab31e5ee755ff4f5f692fe6612d5c86 hmac: 718fe4ae13950e823bb1bf64a90c407f0a03aeb2afa66f2c4a14b7b3e80aac3f
... ...

View File

@ -1,2 +1,5 @@
- INTERNAL - INTERNAL
- migrate to `thegeeklab` namespace - setup renovate-bot
- update bitwarden_rs_ldap to v0.2.0
- add variable `BITWARDENRS_LDAP_BITWARDEN_ROOT_CERT_FILE`
- add variable `BITWARDENRS_LDAP_SSL_VERIFY`

View File

@ -1,3 +1,4 @@
# renovate: datasource=github-releases depName=ViViDboarder/bitwarden_rs_ldap
export BUILD_VERSION ?= master export BUILD_VERSION ?= master
export DEBIAN_FRONTEND ?= noninteractive export DEBIAN_FRONTEND ?= noninteractive
export LANG ?= C.UTF-8 export LANG ?= C.UTF-8

View File

@ -70,9 +70,12 @@ volumes:
```Shell ```Shell
BITWARDENRS_LDAP_BITWARDEN_URL= BITWARDENRS_LDAP_BITWARDEN_URL=
BITWARDENRS_LDAP_BITWARDEN_ADMIN_TOKEN= BITWARDENRS_LDAP_BITWARDEN_ADMIN_TOKEN=
BITWARDENRS_LDAP_BITWARDEN_ROOT_CERT_FILE=
BITWARDENRS_LDAP_HOST= BITWARDENRS_LDAP_HOST=
BITWARDENRS_LDAP_SCHEME= BITWARDENRS_LDAP_SCHEME=
BITWARDENRS_LDAP_SSL=True BITWARDENRS_LDAP_SSL=True
BITWARDENRS_LDAP_SSL_VERIFY=True
BITWARDENRS_LDAP_PORT= BITWARDENRS_LDAP_PORT=
BITWARDENRS_LDAP_BIND_DN= BITWARDENRS_LDAP_BIND_DN=
BITWARDENRS_LDAP_BIND_PASSWORD= BITWARDENRS_LDAP_BIND_PASSWORD=

View File

@ -1,5 +1,5 @@
--- ---
version: '3' version: "3"
services: services:
postgres: postgres:

View File

@ -1,11 +1,15 @@
## Bitwarden_RS LDAP Configuration File ## Bitwarden_RS LDAP Configuration File
bitwarden_url = "{{ getenv "BITWARDENRS_LDAP_BITWARDEN_URL" }}" bitwarden_url = "{{ getenv "BITWARDENRS_LDAP_BITWARDEN_URL" }}"
bitwarden_admin_token = "{{ getenv "BITWARDENRS_LDAP_BITWARDEN_ADMIN_TOKEN" }}" bitwarden_admin_token = "{{ getenv "BITWARDENRS_LDAP_BITWARDEN_ADMIN_TOKEN" }}"
{{ if (getenv "BITWARDENRS_LDAP_BITWARDEN_ROOT_CERT_FILE") -}}
bitwarden_root_cert_file = "{{ getenv "BITWARDENRS_LDAP_BITWARDEN_ROOT_CERT_FILE" }}"
{{ end -}}
ldap_host = "{{ getenv "BITWARDENRS_LDAP_HOST" }}" ldap_host = "{{ getenv "BITWARDENRS_LDAP_HOST" }}"
{{ if (getenv "BITWARDENRS_LDAP_SCHEME") -}} {{ if (getenv "BITWARDENRS_LDAP_SCHEME") -}}
ldap_scheme = "{{ getenv "BITWARDENRS_LDAP_SCHEME" }}" ldap_scheme = "{{ getenv "BITWARDENRS_LDAP_SCHEME" }}"
{{ end -}} {{ end -}}
ldap_ssl = {{ getenv "BITWARDENRS_LDAP_SSL" "true" | conv.Bool }} ldap_ssl = {{ getenv "BITWARDENRS_LDAP_SSL" "true" | conv.Bool }}
ldap_no_tls_verify = {{ not (getenv "BITWARDENRS_LDAP_SSL_VERIFY" "true" | conv.Bool) }}
{{ if (getenv "BITWARDENRS_LDAP_PORT") -}} {{ if (getenv "BITWARDENRS_LDAP_PORT") -}}
ldap_port = {{ getenv "BITWARDENRS_LDAP_PORT" }} ldap_port = {{ getenv "BITWARDENRS_LDAP_PORT" }}
{{ end -}} {{ end -}}

View File

@ -1,6 +1,25 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [ "extends": ["config:base"],
"config:base" "regexManagers": [
{
"fileMatch": ["^Dockerfile$"],
"matchStrings": [
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\sENV .*?_VERSION=\"\\${.*:-(?<currentValue>.*)}\"\\s"
]
},
{
"fileMatch": ["^Makefile$"],
"matchStrings": [
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\sexport .*?_VERSION \\?= (?<currentValue>.*)\\s"
]
}
],
"packageRules": [
{
"datasources": ["github-releases"],
"groupName": "bitwarden_rs_ldap packages",
"packagePatterns": ["^ViViDboarder"]
}
] ]
} }