Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
264d70856b | |||
5af7b8c726 | |||
d26ed5fa74 | |||
0d02502a4a | |||
fbb7addf5a |
23
.chglog/CHANGELOG.tpl.md
Executable file
23
.chglog/CHANGELOG.tpl.md
Executable 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 -}}
|
23
.chglog/config.yml
Executable file
23
.chglog/config.yml
Executable file
|
@ -0,0 +1,23 @@
|
|||
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
|
21
.drone.yml
21
.drone.yml
|
@ -30,8 +30,6 @@ steps:
|
|||
- name: dryrun
|
||||
image: thegeeklab/drone-docker-buildx:20
|
||||
settings:
|
||||
build_args:
|
||||
- BUILD_VERSION=${DRONE_TAG%-*}
|
||||
dockerfile: Dockerfile
|
||||
dry_run: true
|
||||
password:
|
||||
|
@ -57,11 +55,18 @@ 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
|
||||
|
@ -73,13 +78,11 @@ steps:
|
|||
- refs/heads/main
|
||||
- refs/tags/**
|
||||
depends_on:
|
||||
- tags
|
||||
- changelog
|
||||
|
||||
- name: publish-quay
|
||||
image: thegeeklab/drone-docker-buildx:20
|
||||
settings:
|
||||
build_args:
|
||||
- BUILD_VERSION=${DRONE_TAG%-*}
|
||||
dockerfile: Dockerfile
|
||||
password:
|
||||
from_secret: quay_password
|
||||
|
@ -92,7 +95,7 @@ steps:
|
|||
- refs/heads/main
|
||||
- refs/tags/**
|
||||
depends_on:
|
||||
- tags
|
||||
- changelog
|
||||
|
||||
- name: publish-gitea
|
||||
image: plugins/gitea-release
|
||||
|
@ -185,6 +188,6 @@ depends_on:
|
|||
|
||||
---
|
||||
kind: signature
|
||||
hmac: eb9f18a96365cbdd00c38b9e2ef210ceee91a147570a6beae469d328f3d6b8a2
|
||||
hmac: 9274a1547159dbcd6deb404d5cda31ef411749f396044195219e9b80a59d34ab
|
||||
|
||||
...
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Changelog
|
||||
|
||||
## v3.2.2-2 (2021-01-29)
|
||||
## v3.2.3-1 (2021-01-30)
|
||||
|
||||
### Others
|
||||
|
||||
- **deps:** update dependency ansible to v2.10.6 ([#19](https://gitea.rknet.org/docker/molecule/issues/19))
|
||||
- **deps:** update dependency molecule to v3.2.3 ([#20](https://gitea.rknet.org/docker/molecule/issues/20))
|
||||
|
|
14
Dockerfile
14
Dockerfile
|
@ -1,4 +1,4 @@
|
|||
FROM python:3.9-alpine@sha256:cc482de0d0378c00f5359de2378d30941fab068171cebb2f7f59b27128237819
|
||||
FROM python:3.9-alpine@sha256:5beb4823c653c428379bc8b811ef233b7171806e8b10bb6879e7af1ed5bb4093
|
||||
|
||||
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.6}"
|
||||
ENV ANSIBLE_VERSION="${ANSIBLE_VERSION:-2.10.7}"
|
||||
|
||||
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 && \
|
||||
openssl-dev python3-dev cargo && \
|
||||
apk add --update --no-cache git openssh-client && \
|
||||
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 ..." && \
|
||||
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 --no-cache-dir ansible=="$ANSIBLE_VERSION" && \
|
||||
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"; \
|
||||
|
|
Loading…
Reference in New Issue
Block a user