File tree 15 files changed +143
-188
lines changed 15 files changed +143
-188
lines changed Original file line number Diff line number Diff line change 1
1
[bumpversion]
2
- current_version = 3.3.1-2
2
+ current_version = 3.4.2-0
3
3
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)-(?P<image_version>\d+)
4
4
serialize =
5
5
{major}.{minor}.{patch}-{image_version}
Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
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**
4
9
- change SCM-creator to redmine_git_remote, which is simpler
5
10
6
11
** 3.3.1-2**
Original file line number Diff line number Diff line change 1
1
FROM sameersbn/ubuntu:14.04.20161014
2
2
MAINTAINER sameer@damagehead.com
3
3
4
- ENV REDMINE_VERSION=3.3.1 \
4
+ ENV RUBY_VERSION=2.3 \
5
+ REDMINE_VERSION=3.4.2 \
5
6
REDMINE_USER="redmine" \
6
7
REDMINE_HOME="/home/redmine" \
7
8
REDMINE_LOG_DIR="/var/log/redmine" \
@@ -23,8 +24,8 @@ RUN apt-key adv --keyserver keyserver.ubuntu.com --recv E1DD270288B4E6030699E45F
23
24
&& echo 'deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main' > /etc/apt/sources.list.d/pgdg.list \
24
25
&& apt-get update \
25
26
&& 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 \
28
29
uuid-dev xz-utils libxslt1.1 libffi6 zlib1g gsfonts \
29
30
&& update-locale LANG=C.UTF-8 LC_MESSAGES=POSIX \
30
31
&& gem install --no-document bundler \
Original file line number Diff line number Diff line change 14
14
@echo " 3. make stop - stop redmine"
15
15
@echo " 4. make logs - view logs"
16
16
@echo " 5. make purge - stop and remove the container"
17
+ @echo " 6. make bump - bump the version of this container"
17
18
18
19
build :
19
20
@docker build --tag=${IMAGE_NAME} .
Original file line number Diff line number Diff line change @@ -61,9 +61,7 @@ OpenId-Configuration: https://key.phreevpn.net/auth/realms/devopskube/.well-know
61
61
62
62
## Version
63
63
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**
67
65
68
66
# Contributing
69
67
Original file line number Diff line number Diff line change 1
- 3.3.1
1
+ 3.4.2
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ if [[ -d ${GEM_CACHE_DIR} ]]; then
74
74
chown -R ${REDMINE_USER} : ${REDMINE_INSTALL_DIR} /vendor/cache
75
75
fi
76
76
77
+ # # START DEVOPSKUBE MODIFICATIONS
77
78
# install redmine git_remote https://github.com/devopskube/redmine_git_remote
78
79
REDMINE_GIT_REMOTE_VERSION=0.0.2
79
80
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
86
87
87
88
# install redmine_openid_connect
88
89
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
89
92
90
- # Install redmine and above mentioned plugin(s)
91
93
exec_as_redmine bundle install -j$( nproc) --without development test --path ${REDMINE_INSTALL_DIR} /vendor/bundle
92
94
93
95
# finalize redmine installation
@@ -201,5 +203,5 @@ stderr_logfile=${REDMINE_LOG_DIR}/supervisor/%(program_name)s.log
201
203
EOF
202
204
203
205
# 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}
205
207
rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ server {
22
22
location {{REDMINE_RELATIVE_URL_ROOT}} {
23
23
## Serve static files from defined root folder.
24
24
## @redmine is a named location for the upstream fallback, see below.
25
+ ## rewrite ^{{REDMINE_RELATIVE_URL_ROOT}}(.*)$ /$1 break;
25
26
try_files $uri index.html $uri.html @redmine;
26
27
}
27
28
@@ -36,6 +37,10 @@ server {
36
37
proxy_read_timeout 300;
37
38
proxy_connect_timeout 300;
38
39
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;
39
44
40
45
proxy_set_header Host $http_host;
41
46
proxy_set_header X-Real-IP $remote_addr;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ server {
11
11
listen [::]:80 default_server;
12
12
server_name _;
13
13
server_tokens off;
14
-
14
+
15
15
## Redirects all traffic to the HTTPS host
16
16
return 301 https://$host:{{REDMINE_PORT}}$request_uri;
17
17
}
@@ -69,6 +69,7 @@ server {
69
69
location {{REDMINE_RELATIVE_URL_ROOT}} {
70
70
## Serve static files from defined root folder.
71
71
## @redmine is a named location for the upstream fallback, see below.
72
+ ## rewrite ^{{REDMINE_RELATIVE_URL_ROOT}}(.*)$ /$1 break;
72
73
try_files $uri index.html $uri.html @redmine;
73
74
}
74
75
@@ -83,6 +84,10 @@ server {
83
84
proxy_read_timeout 300;
84
85
proxy_connect_timeout 300;
85
86
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;
86
91
87
92
proxy_set_header Host $http_host;
88
93
proxy_set_header X-Real-IP $remote_addr;
Original file line number Diff line number Diff line change 8
8
author 'Alfonso Juan Dillera'
9
9
description 'OpenID Connect implementation for Redmine'
10
10
version '0.9.1'
11
- url 'http ://bitbucket.org/intelimina /redmine_openid_connect'
11
+ url 'https ://bitbucket.org/triplem74 /redmine_openid_connect'
12
12
author_url 'http://github.com/adillera'
13
13
14
14
settings :default => {
Original file line number Diff line number Diff line change 1
1
# Redmine - project management software
2
- # Copyright (C) 2006-2016 Jean-Philippe Lang
2
+ # Copyright (C) 2006-2017 Jean-Philippe Lang
3
3
#
4
4
# This program is free software; you can redistribute it and/or
5
5
# modify it under the terms of the GNU General Public License
Original file line number Diff line number Diff line change @@ -98,10 +98,14 @@ IMAP_PORT=${IMAP_PORT:-993}
98
98
IMAP_USER=${IMAP_USER:- ${SMTP_USER} }
99
99
IMAP_PASS=${IMAP_PASS:- ${SMTP_PASS} }
100
100
IMAP_SSL=${IMAP_SSL:- true}
101
+ IMAP_STARTTLS=${IMAP_STARTTLS:- false}
101
102
IMAP_INTERVAL=${IMAP_INTERVAL:- 30}
102
103
IMAP_ENABLED=${IMAP_ENABLED:- false}
103
104
104
105
# # 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:- }
105
109
INCOMING_EMAIL_UNKNOWN_USER=${INCOMING_EMAIL_UNKNOWN_USER:- ignore}
106
110
INCOMING_EMAIL_NO_PERMISSION_CHECK=${INCOMING_EMAIL_NO_PERMISSION_CHECK:- false}
107
111
INCOMING_EMAIL_NO_ACCOUNT_NOTICE=${INCOMING_EMAIL_NO_ACCOUNT_NOTICE:- true}
@@ -131,12 +135,7 @@ else
131
135
NGINX_X_FORWARDED_PROTO=${NGINX_X_FORWARDED_PROTO:- \$ scheme}
132
136
fi
133
137
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
140
139
# # SETTINGS FOR REDMINE_OPENID_CONNECT PLUGIN
141
140
OPENID_ENABLED=${OPENDID_ENABLED:- false}
142
141
KEYCLOAK_PROTOCOL=${KEYCLOAK_PROTOCOL:- https}
You can’t perform that action at this time.
0 commit comments