Skip to content

Commit 767831c

Browse files
authored
Merge pull request #91 from truemail-rb/develop
Truemail rack docker image v0.10.0
2 parents 4552ef2 + 582df80 commit 767831c

File tree

7 files changed

+60
-5
lines changed

7 files changed

+60
-5
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
3+
enableGlobDot: true
4+
5+
patterns:
6+
- name: GithubUser
7+
pattern: /\[@.+\]/gmx
8+
9+
languageSettings:
10+
- languageId: markdown
11+
ignoreRegExpList:
12+
- Email
13+
- GithubUser
14+
15+
words:
16+
- autoreleasing
17+
- gitter
18+
- trotsenko
19+
- vladislav
20+
- bestwebua
21+
- codebases
22+
- dockerhub
23+
- dockerized
24+
- healthcheck
25+
- truemail
26+
- lefthook
27+
- commitspell

.circleci/linter_configs/.lefthook.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ skip_output:
66

77
linters:
88
commands:
9+
commitspell:
10+
run: .circleci/scripts/commitspell.sh -c '.circleci/linter_configs/.commitspell.yml'
911
cspell:
1012
run: cspell-cli lint -c '.circleci/linter_configs/.cspell.yml' '**/*.{txt,md}'
1113
markdownlint:

.circleci/scripts/commitspell.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/bin/sh
2+
set -e
3+
4+
configuration=$(if [ "$2" = "" ]; then echo "$2"; else echo " $1 $2"; fi)
5+
latest_commit=$(git rev-parse HEAD)
6+
7+
spellcheck_info() {
8+
echo "Checking the spelling of the latest commit ($latest_commit) message..."
9+
}
10+
11+
compose_cspell_command() {
12+
echo "cspell-cli lint stdin$configuration"
13+
}
14+
15+
cspell="$(compose_cspell_command)"
16+
17+
spellcheck_latest_commit() {
18+
git log -1 --pretty=%B | $cspell
19+
}
20+
21+
spellcheck_info
22+
spellcheck_latest_commit

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
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).
44

5+
## [0.10.0] - 2024-03-02
6+
7+
### Switch to truemail-rack 0.10.0
8+
59
## [0.9.0] - 2023-11-02
610

711
### Switch to truemail-rack 0.9.0

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM ruby:3.2.0-alpine as Builder
1+
FROM ruby:3.3.0-alpine as Builder
22
ENV APP_HOME="/var/lib/truemail-rack" \
33
TMP="/var/lib/truemail-rack/tmp"
44
RUN apk add --virtual build-dependencies git && \
55
git clone https://github.com/truemail-rb/truemail-rack.git $TMP -q && \
6-
cd $TMP && git checkout v0.9.0 -q && \
6+
cd $TMP && git checkout v0.10.0 -q && \
77
mv app config config.ru .ruby-version Gemfile* $APP_HOME && rm -rf $TMP && \
88
apk del build-dependencies
99
WORKDIR $APP_HOME
@@ -15,7 +15,7 @@ RUN apk add --virtual build-dependencies make cmake g++ && \
1515
find /usr/local/bundle/gems/ -regex ".*\.[coh]" -delete && \
1616
apk del build-dependencies
1717

18-
FROM ruby:3.2.0-alpine
18+
FROM ruby:3.3.0-alpine
1919
ENV INFO="Truemail lightweight rack based web API 🚀" \
2020
APP_USER="truemail" \
2121
APP_HOME="/var/lib/truemail-rack" \

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2020-2023 Vladislav Trotsenko
3+
Copyright (c) 2020-2024 Vladislav Trotsenko
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ version: "3.7"
3939

4040
services:
4141
truemail:
42-
image: truemail/truemail-rack:v0.9.0 # for latest version you can use just truemail/truemail-rack:latest
42+
image: truemail/truemail-rack:v0.10.0 # for latest version you can use just truemail/truemail-rack:latest
4343
ports:
4444
- 9292:9292
4545
environment:

0 commit comments

Comments
 (0)