Skip to content

Commit 98652e9

Browse files
author
Markus M. May
committed
Prepare versionbump
1 parent 43fe650 commit 98652e9

15 files changed

+143
-188
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 3.3.1-2
2+
current_version = 3.4.2-0
33
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)-(?P<image_version>\d+)
44
serialize =
55
{major}.{minor}.{patch}-{image_version}

Changelog.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Changelog
22

3-
**3.3.1-3 (WIP)**
3+
**WIP**
4+
5+
**3.4.2-1**
6+
- version bump to latest version of redmine (3.4.2)
7+
8+
**3.3.1-3**
49
- change SCM-creator to redmine_git_remote, which is simpler
510

611
**3.3.1-2**

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
FROM sameersbn/ubuntu:14.04.20161014
22
MAINTAINER sameer@damagehead.com
33

4-
ENV REDMINE_VERSION=3.3.1 \
4+
ENV RUBY_VERSION=2.3 \
5+
REDMINE_VERSION=3.4.2 \
56
REDMINE_USER="redmine" \
67
REDMINE_HOME="/home/redmine" \
78
REDMINE_LOG_DIR="/var/log/redmine" \
@@ -23,8 +24,8 @@ RUN apt-key adv --keyserver keyserver.ubuntu.com --recv E1DD270288B4E6030699E45F
2324
&& echo 'deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main' > /etc/apt/sources.list.d/pgdg.list \
2425
&& apt-get update \
2526
&& DEBIAN_FRONTEND=noninteractive apt-get install -y supervisor logrotate nginx mysql-client postgresql-client \
26-
imagemagick git rsync ruby2.1 locales openssh-client gcc g++ make patch pkg-config gettext-base \
27-
ruby2.1-dev libc6-dev zlib1g-dev libxml2-dev libmysqlclient18 libpq5 libyaml-0-2 libcurl3 libssl1.0.0 \
27+
imagemagick git rsync ruby${RUBY_VERSION} locales openssh-client gcc g++ make patch pkg-config gettext-base \
28+
ruby${RUBY_VERSION}-dev libc6-dev zlib1g-dev libxml2-dev libmysqlclient18 libpq5 libyaml-0-2 libcurl3 libssl1.0.0 \
2829
uuid-dev xz-utils libxslt1.1 libffi6 zlib1g gsfonts \
2930
&& update-locale LANG=C.UTF-8 LC_MESSAGES=POSIX \
3031
&& gem install --no-document bundler \

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ help:
1414
@echo " 3. make stop - stop redmine"
1515
@echo " 4. make logs - view logs"
1616
@echo " 5. make purge - stop and remove the container"
17+
@echo " 6. make bump - bump the version of this container"
1718

1819
build:
1920
@docker build --tag=${IMAGE_NAME} .

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ OpenId-Configuration: https://key.phreevpn.net/auth/realms/devopskube/.well-know
6161

6262
## Version
6363

64-
Current Version: **devopskube/redmine:3.3.1-2**
65-
66-
*P.S.: If your installation depends on various third party plugins, please stick with 2.6.xx series to avoid breakage.*
64+
Current Version: **devopskube/redmine:3.4.2-1**
6765

6866
# Contributing
6967

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.3.1
1+
3.4.2

assets/build/install.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ if [[ -d ${GEM_CACHE_DIR} ]]; then
7474
chown -R ${REDMINE_USER}: ${REDMINE_INSTALL_DIR}/vendor/cache
7575
fi
7676

77+
## START DEVOPSKUBE MODIFICATIONS
7778
# install redmine git_remote https://github.com/devopskube/redmine_git_remote
7879
REDMINE_GIT_REMOTE_VERSION=0.0.2
7980
exec_as_redmine wget "https://github.com/devopskube/redmine_git_remote/archive/${REDMINE_GIT_REMOTE_VERSION}.tar.gz" -O /tmp/redmine-git-remote-${REDMINE_GIT_REMOTE_VERSION}.tar.gz
@@ -86,8 +87,9 @@ exec_as_redmine git clone https://github.com/koppen/redmine_github_hook.git ${RE
8687

8788
# install redmine_openid_connect
8889
exec_as_redmine git clone https://bitbucket.org/triplem74/redmine_openid_connect.git ${REDMINE_INSTALL_DIR}/plugins/redmine_openid_connect
90+
exec_as_redmine mkdir -p ${REDMINE_DATA_DIR}/git
91+
## END DEVOPSKUBE MODIFICATIONS
8992

90-
# Install redmine and above mentioned plugin(s)
9193
exec_as_redmine bundle install -j$(nproc) --without development test --path ${REDMINE_INSTALL_DIR}/vendor/bundle
9294

9395
# finalize redmine installation
@@ -201,5 +203,5 @@ stderr_logfile=${REDMINE_LOG_DIR}/supervisor/%(program_name)s.log
201203
EOF
202204

203205
# purge build dependencies and cleanup apt
204-
DEBIAN_FRONTEND=noninteractive apt-get purge -y --auto-remove ${BUILD_DEPENDENCIES}
206+
apt-get purge -y --auto-remove ${BUILD_DEPENDENCIES}
205207
rm -rf /var/lib/apt/lists/*

assets/runtime/config/nginx/redmine

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ server {
2222
location {{REDMINE_RELATIVE_URL_ROOT}} {
2323
## Serve static files from defined root folder.
2424
## @redmine is a named location for the upstream fallback, see below.
25+
## rewrite ^{{REDMINE_RELATIVE_URL_ROOT}}(.*)$ /$1 break;
2526
try_files $uri index.html $uri.html @redmine;
2627
}
2728

@@ -36,6 +37,10 @@ server {
3637
proxy_read_timeout 300;
3738
proxy_connect_timeout 300;
3839
proxy_redirect off;
40+
## Long issue filters require increasing proxy buffers
41+
proxy_buffers 8 8k;
42+
proxy_buffer_size 32k;
43+
proxy_busy_buffers_size 32k;
3944

4045
proxy_set_header Host $http_host;
4146
proxy_set_header X-Real-IP $remote_addr;

assets/runtime/config/nginx/redmine-ssl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ server {
1111
listen [::]:80 default_server;
1212
server_name _;
1313
server_tokens off;
14-
14+
1515
## Redirects all traffic to the HTTPS host
1616
return 301 https://$host:{{REDMINE_PORT}}$request_uri;
1717
}
@@ -69,6 +69,7 @@ server {
6969
location {{REDMINE_RELATIVE_URL_ROOT}} {
7070
## Serve static files from defined root folder.
7171
## @redmine is a named location for the upstream fallback, see below.
72+
## rewrite ^{{REDMINE_RELATIVE_URL_ROOT}}(.*)$ /$1 break;
7273
try_files $uri index.html $uri.html @redmine;
7374
}
7475

@@ -83,6 +84,10 @@ server {
8384
proxy_read_timeout 300;
8485
proxy_connect_timeout 300;
8586
proxy_redirect off;
87+
## Long issue filters require increasing proxy buffers
88+
proxy_buffers 8 8k;
89+
proxy_buffer_size 32k;
90+
proxy_busy_buffers_size 32k;
8691

8792
proxy_set_header Host $http_host;
8893
proxy_set_header X-Real-IP $remote_addr;

assets/runtime/config/redmine/openid_connect_init.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
author 'Alfonso Juan Dillera'
99
description 'OpenID Connect implementation for Redmine'
1010
version '0.9.1'
11-
url 'http://bitbucket.org/intelimina/redmine_openid_connect'
11+
url 'https://bitbucket.org/triplem74/redmine_openid_connect'
1212
author_url 'http://github.com/adillera'
1313

1414
settings :default => {

assets/runtime/config/redmine/settings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Redmine - project management software
2-
# Copyright (C) 2006-2016 Jean-Philippe Lang
2+
# Copyright (C) 2006-2017 Jean-Philippe Lang
33
#
44
# This program is free software; you can redistribute it and/or
55
# modify it under the terms of the GNU General Public License

assets/runtime/env-defaults

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,14 @@ IMAP_PORT=${IMAP_PORT:-993}
9898
IMAP_USER=${IMAP_USER:-${SMTP_USER}}
9999
IMAP_PASS=${IMAP_PASS:-${SMTP_PASS}}
100100
IMAP_SSL=${IMAP_SSL:-true}
101+
IMAP_STARTTLS=${IMAP_STARTTLS:-false}
101102
IMAP_INTERVAL=${IMAP_INTERVAL:-30}
102103
IMAP_ENABLED=${IMAP_ENABLED:-false}
103104

104105
## INCOMING MAIL (ADVANCED CONFIGURATION)
106+
IMAP_FOLDER=${IMAP_FOLDER:-}
107+
IMAP_MOVE_ON_SUCCESS=${IMAP_MOVE_ON_SUCCESS:-}
108+
IMAP_MOVE_ON_FAILURE=${IMAP_MOVE_ON_FAILURE:-}
105109
INCOMING_EMAIL_UNKNOWN_USER=${INCOMING_EMAIL_UNKNOWN_USER:-ignore}
106110
INCOMING_EMAIL_NO_PERMISSION_CHECK=${INCOMING_EMAIL_NO_PERMISSION_CHECK:-false}
107111
INCOMING_EMAIL_NO_ACCOUNT_NOTICE=${INCOMING_EMAIL_NO_ACCOUNT_NOTICE:-true}
@@ -131,12 +135,7 @@ else
131135
NGINX_X_FORWARDED_PROTO=${NGINX_X_FORWARDED_PROTO:-\$scheme}
132136
fi
133137

134-
## REDMINE GIT REMOTE PLUGIN
135-
REDMINE_SCM_DIR=${REDMINE_SCM_DIR:-$REDMINE_DATA_DIR/git}
136-
137-
## INITIAL SETTINGS.YML SETTINGS
138-
MAIL_SENDER=${MAIL_SENDER:-redmine@example.net}
139-
138+
## DEVOPSKUBE specific
140139
## SETTINGS FOR REDMINE_OPENID_CONNECT PLUGIN
141140
OPENID_ENABLED=${OPENDID_ENABLED:-false}
142141
KEYCLOAK_PROTOCOL=${KEYCLOAK_PROTOCOL:-https}

0 commit comments

Comments
 (0)