Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit 6d3a171

Browse files
authored
Merge pull request #59 from jdeathe/centos-6-develop
Release changes for 1.2.0
2 parents 922ea57 + 6b44d6b commit 6d3a171

21 files changed

+605
-347
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ REDIS_MAXMEMORY_POLICY=allkeys-lru
33
REDIS_MAXMEMORY_SAMPLES=5
44
REDIS_OPTIONS=
55
REDIS_TCP_BACKLOG=1024
6+
SYSTEM_TIMEZONE=UTC

CHANGELOG.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,31 @@
11
# Change Log
22

3-
## centos-6
3+
## 1 - centos-6
44

5-
Summary of release changes for Version 1.
5+
Summary of release changes.
66

7-
CentOS-6 6.10 x86_64 - Redis 3.2.
7+
### 1.2.0 - 2019-06-29
8+
9+
- Updates source image to [1.11.0](https://github.com/jdeathe/centos-ssh/releases/tag/1.11.0).
10+
- Updates CHANGELOG.md to simplify maintenance.
11+
- Updates README.md to simplify contents and improve readability.
12+
- Updates README-short.txt to apply to all image variants.
13+
- Updates Dockerfile `org.deathe.description` metadata LABEL for consistency.
14+
- Updates bootstrap and wrapper supervisord configuration to send error log output to stderr.
15+
- Updates bootstrap timer to use UTC date timestamps.
16+
- Updates bootstrap supervisord configuration file/priority to `20-redis-bootstrap.conf`/`20`.
17+
- Updates wrapper supervisord configuration file/priority to `50-redis-wrapper.conf`/`50`.
18+
- Fixes binary paths in systemd unit files; missing changes from last release.
19+
- Fixes docker host connection status check in Makefile.
20+
- Adds missing instruction step to docker-compose example configuration file.
21+
- Adds `inspect`, `reload` and `top` Makefile targets.
22+
- Adds improved `clean` Makefile target; includes exited containers and dangling images.
23+
- Adds lock/state file to wrapper script.
24+
- Adds `SYSTEM_TIMEZONE` handling to Makefile, scmi, systemd unit and docker-compose templates.
25+
- Adds system time zone validation to healthcheck.
26+
- Removes support for long image tags (i.e. centos-6-1.x.x).
27+
- Removes `REDIS_AUTOSTART_REDIS_BOOTSTRAP`, replaced with `ENABLE_REDIS_BOOTSTRAP`.
28+
- Removes `REDIS_AUTOSTART_REDIS_WRAPPER`, replaced with `ENABLE_REDIS_WRAPPER`.
829

930
### 1.1.1 - 2019-03-21
1031

Dockerfile

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM jdeathe/centos-ssh:1.10.1
1+
FROM jdeathe/centos-ssh:1.11.0
22

3-
ARG RELEASE_VERSION="1.1.1"
3+
ARG RELEASE_VERSION="1.2.0"
44

55
RUN yum -y install \
66
--setopt=tsflags=nodocs \
@@ -34,7 +34,7 @@ RUN sed -i -r \
3434
-e "s~{{RELEASE_VERSION}}~${RELEASE_VERSION}~g" \
3535
/etc/systemd/system/centos-ssh-redis@.service \
3636
&& chmod 644 \
37-
/etc/supervisord.d/redis-server-{bootstrap,wrapper}.conf \
37+
/etc/supervisord.d/{20-redis-server-bootstrap,50-redis-server-wrapper}.conf \
3838
&& chmod 700 \
3939
/usr/{bin/healthcheck,sbin/redis-server-{bootstrap,wrapper}} \
4040
&& chmod 750 \
@@ -47,16 +47,17 @@ EXPOSE 6379
4747
# ------------------------------------------------------------------------------
4848
# Set default environment variables
4949
# ------------------------------------------------------------------------------
50-
ENV REDIS_AUTOSTART_REDIS_BOOTSTRAP="true" \
51-
REDIS_AUTOSTART_REDIS_WRAPPER="true" \
50+
ENV \
51+
ENABLE_REDIS_BOOTSTRAP="true" \
52+
ENABLE_REDIS_WRAPPER="true" \
53+
ENABLE_SSHD_BOOTSTRAP="false" \
54+
ENABLE_SSHD_WRAPPER="false" \
55+
ENABLE_SUPERVISOR_STDOUT="false" \
5256
REDIS_MAXMEMORY="64mb" \
5357
REDIS_MAXMEMORY_POLICY="allkeys-lru" \
5458
REDIS_MAXMEMORY_SAMPLES="5" \
5559
REDIS_OPTIONS="" \
56-
REDIS_TCP_BACKLOG="1024" \
57-
SSH_AUTOSTART_SSHD="false" \
58-
SSH_AUTOSTART_SSHD_BOOTSTRAP="false" \
59-
SSH_AUTOSTART_SUPERVISOR_STDOUT="false"
60+
REDIS_TCP_BACKLOG="1024"
6061

6162
# -----------------------------------------------------------------------------
6263
# Set image metadata
@@ -87,7 +88,7 @@ jdeathe/centos-ssh-redis:${RELEASE_VERSION} \
8788
org.deathe.license="MIT" \
8889
org.deathe.vendor="jdeathe" \
8990
org.deathe.url="https://github.com/jdeathe/centos-ssh-redis" \
90-
org.deathe.description="CentOS-6 6.10 x86_64 - Redis 3.2."
91+
org.deathe.description="EPEL Redis 3.2 - CentOS-6 6.10 x86_64."
9192

9293
HEALTHCHECK \
9394
--interval=1s \

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2018 James Deathe (jdeathe)
1+
Copyright (c) 2019 James Deathe (jdeathe)
22
https://github.com/jdeathe/centos-ssh-redis
33

44
Permission is hereby granted, free of charge, to any person obtaining

0 commit comments

Comments
 (0)