Compare commits

..

1 Commits

Author SHA1 Message Date
Robert Kaussow ca31d5d54c
[skip ci] update changelog
continuous-integration/drone/tag Build is passing Details
2021-01-30 16:21:27 +01:00
4 changed files with 15 additions and 64 deletions

View File

@ -1,23 +0,0 @@
# 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 -}}

View File

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

View File

@ -30,6 +30,8 @@ steps:
- name: dryrun
image: thegeeklab/drone-docker-buildx:20
settings:
build_args:
- BUILD_VERSION=${DRONE_TAG%-*}
dockerfile: Dockerfile
dry_run: true
password:
@ -55,18 +57,11 @@ 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:
build_args:
- BUILD_VERSION=${DRONE_TAG%-*}
dockerfile: Dockerfile
password:
from_secret: docker_password
@ -78,11 +73,13 @@ steps:
- refs/heads/main
- refs/tags/**
depends_on:
- changelog
- tags
- name: publish-quay
image: thegeeklab/drone-docker-buildx:20
settings:
build_args:
- BUILD_VERSION=${DRONE_TAG%-*}
dockerfile: Dockerfile
password:
from_secret: quay_password
@ -95,7 +92,7 @@ steps:
- refs/heads/main
- refs/tags/**
depends_on:
- changelog
- tags
- name: publish-gitea
image: plugins/gitea-release
@ -188,6 +185,6 @@ depends_on:
---
kind: signature
hmac: 9274a1547159dbcd6deb404d5cda31ef411749f396044195219e9b80a59d34ab
hmac: eb9f18a96365cbdd00c38b9e2ef210ceee91a147570a6beae469d328f3d6b8a2
...

View File

@ -1,4 +1,4 @@
FROM python:3.9-alpine@sha256:5beb4823c653c428379bc8b811ef233b7171806e8b10bb6879e7af1ed5bb4093
FROM python:3.9-alpine@sha256:cc482de0d0378c00f5359de2378d30941fab068171cebb2f7f59b27128237819
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
@ -13,7 +13,7 @@ ARG BUILD_VERSION
# renovate: datasource=pypi depName=molecule
ENV MOLECULE_VERSION="${BUILD_VERSION:-3.2.3}"
# renovate: datasource=pypi depName=ansible
ENV ANSIBLE_VERSION="${ANSIBLE_VERSION:-2.10.7}"
ENV ANSIBLE_VERSION="${ANSIBLE_VERSION:-2.10.6}"
ENV PY_COLORS=1 \
ANSIBLE_FORCE_COLOR=true \
@ -23,15 +23,15 @@ ENV PY_COLORS=1 \
COPY overlay/ /
RUN apk add --update --no-cache --virtual .build-deps gcc make libffi-dev musl-dev \
openssl-dev python3-dev cargo && \
openssl-dev python3-dev && \
apk add --update --no-cache git openssh-client && \
echo "Installing requirements ..." && \
pip install -qq --upgrade --no-cache-dir pip && \
pip install -qq --no-cache-dir -r /root/requirements.txt && \
echo "Installing ansible 'v$ANSIBLE_VERSION' ..." && \
pip install -qq --upgrade --no-cache-dir pip setuptools~=49.0 requests~=2.23 && \
pip install -qq --no-cache-dir ansible=="$ANSIBLE_VERSION" && \
echo "Installing requirements ..." && \
MOLECULE_VERSION="${MOLECULE_VERSION##v}" && \
MOLECULE_MAJOR="${MOLECULE_VERSION%%.*}" && \
pip install -qq --no-cache-dir -r /root/requirements.txt && \
if [ -z "${MOLECULE_MAJOR//[0-9]}" ] && [ -n "$MOLECULE_MAJOR" ]; then \
echo "Installing molecule version '$MOLECULE_VERSION' ..." && \
pip install -qq --no-cache-dir molecule[docker,podman,lint]=="$MOLECULE_VERSION"; \