Skip to content

Commit 8ad75b6

Browse files
author
Circle CI Automated Builder
committed
Created new Atlassian Confluence branch for version 5.8.10
0 parents  commit 8ad75b6

28 files changed

+1044
-0
lines changed

.gitignore

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Created by https://www.gitignore.io
2+
3+
### Linux ###
4+
*~
5+
6+
# KDE directory preferences
7+
.directory
8+
9+
# Linux trash folder which might appear on any partition or disk
10+
.Trash-*
11+
12+
### Ruby ###
13+
*.gem
14+
*.rbc
15+
/.config
16+
/coverage/
17+
/InstalledFiles
18+
/pkg/
19+
/spec/reports/
20+
/test/tmp/
21+
/test/version_tmp/
22+
/tmp/
23+
24+
## Specific to RubyMotion:
25+
.dat*
26+
.repl_history
27+
build/
28+
29+
## Documentation cache and generated files:
30+
/.yardoc/
31+
/_yardoc/
32+
/doc/
33+
/rdoc/
34+
35+
## Environment normalisation:
36+
/.bundle/
37+
/vendor/bundle
38+
/lib/bundler/man/
39+
40+
# for a library or gem, you might want to ignore these files since the code is
41+
# intended to run in multiple environments; otherwise, check them in:
42+
# Gemfile.lock
43+
# .ruby-version
44+
# .ruby-gemset
45+
46+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
47+
.rvmrc

.rspec

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
--color
2+
--require spec_helper
3+
--format documentation
4+
--fail-fast

.ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.2.2

Dockerfile

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
FROM java:8
2+
3+
# Setup useful environment variables
4+
ENV CONF_HOME /var/atlassian/confluence
5+
ENV CONF_INSTALL /opt/atlassian/confluence
6+
ENV CONF_VERSION 5.8.10
7+
8+
# Install Atlassian Confluence and helper tools and setup initial home
9+
# directory structure.
10+
RUN set -x \
11+
&& apt-get update --quiet \
12+
&& apt-get install --quiet --yes --no-install-recommends libtcnative-1 xmlstarlet \
13+
&& apt-get clean \
14+
&& mkdir -p "${CONF_HOME}" \
15+
&& chmod -R 700 "${CONF_HOME}" \
16+
&& chown daemon:daemon "${CONF_HOME}" \
17+
&& mkdir -p "${CONF_INSTALL}/conf" \
18+
&& curl -Ls "http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONF_VERSION}.tar.gz" | tar -xz --directory "${CONF_INSTALL}" --strip-components=1 --no-same-owner \
19+
&& chmod -R 700 "${CONF_INSTALL}/conf" \
20+
&& chmod -R 700 "${CONF_INSTALL}/temp" \
21+
&& chmod -R 700 "${CONF_INSTALL}/logs" \
22+
&& chmod -R 700 "${CONF_INSTALL}/work" \
23+
&& chown -R daemon:daemon "${CONF_INSTALL}/conf" \
24+
&& chown -R daemon:daemon "${CONF_INSTALL}/temp" \
25+
&& chown -R daemon:daemon "${CONF_INSTALL}/logs" \
26+
&& chown -R daemon:daemon "${CONF_INSTALL}/work" \
27+
&& echo -e "\nconfluence.home=$CONF_HOME" >> "${CONF_INSTALL}/confluence/WEB-INF/classes/confluence-init.properties" \
28+
&& xmlstarlet ed --inplace \
29+
--delete "Server/@debug" \
30+
--delete "Server/Service/Connector/@debug" \
31+
--delete "Server/Service/Connector/@useURIValidationHack" \
32+
--delete "Server/Service/Connector/@minProcessors" \
33+
--delete "Server/Service/Connector/@maxProcessors" \
34+
--delete "Server/Service/Engine/@debug" \
35+
--delete "Server/Service/Engine/Host/@debug" \
36+
--delete "Server/Service/Engine/Host/Context/@debug" \
37+
"${CONF_INSTALL}/conf/server.xml"
38+
39+
# Use the default unprivileged account. This could be considered bad practice
40+
# on systems where multiple processes end up being executed by 'daemon' but
41+
# here we only ever run one process anyway.
42+
USER daemon:daemon
43+
44+
# Expose default HTTP connector port.
45+
EXPOSE 8090
46+
47+
# Set volume mount points for installation and home directory. Changes to the
48+
# home directory needs to be persisted as well as parts of the installation
49+
# directory due to eg. logs.
50+
VOLUME ["/var/atlassian/confluence"]
51+
52+
# Set the default working directory as the Confluence home directory.
53+
WORKDIR ${CONF_HOME}
54+
55+
# Run Atlassian Confluence as a foreground process by default.
56+
CMD ["/opt/atlassian/confluence/bin/start-confluence.sh", "-fg"]

Gemfile

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
source 'https://rubygems.org'
2+
3+
ruby '2.2.2'
4+
5+
group :test do
6+
gem 'rake', '~> 10.4.2'
7+
# libraries for acceptance testing
8+
gem 'rspec', '~> 3.2.0'
9+
gem 'serverspec', '~> 2.9.1'
10+
gem 'capybara', '~> 2.4.4'
11+
gem 'poltergeist', '~> 1.6.0'
12+
gem 'launchy'
13+
gem 'poltergeist-suppressor', '~> 0.0.1'
14+
# libraries for Docker
15+
gem 'docker-api', '~> 1.21.1', require: 'docker'
16+
gem 'archive-tar-minitar', '~> 0.5.2'
17+
gem 'rspec_junit_formatter', '~> 0.2.3'
18+
end

Gemfile.lock

+95
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.3.8)
5+
archive-tar-minitar (0.5.2)
6+
builder (3.2.2)
7+
capybara (2.4.4)
8+
mime-types (>= 1.16)
9+
nokogiri (>= 1.3.3)
10+
rack (>= 1.0.0)
11+
rack-test (>= 0.5.4)
12+
xpath (~> 2.0)
13+
cliver (0.3.2)
14+
diff-lcs (1.2.5)
15+
docker-api (1.21.4)
16+
excon (>= 0.38.0)
17+
json
18+
excon (0.45.4)
19+
json (1.8.3)
20+
launchy (2.4.3)
21+
addressable (~> 2.3)
22+
mime-types (2.6.1)
23+
mini_portile (0.6.2)
24+
multi_json (1.11.2)
25+
net-scp (1.2.1)
26+
net-ssh (>= 2.6.5)
27+
net-ssh (2.9.2)
28+
net-telnet (0.1.1)
29+
nokogiri (1.6.6.2)
30+
mini_portile (~> 0.6.0)
31+
poltergeist (1.6.0)
32+
capybara (~> 2.1)
33+
cliver (~> 0.3.1)
34+
multi_json (~> 1.0)
35+
websocket-driver (>= 0.2.0)
36+
poltergeist-suppressor (0.0.1)
37+
capybara
38+
poltergeist
39+
rack (1.6.4)
40+
rack-test (0.6.3)
41+
rack (>= 1.0)
42+
rake (10.4.2)
43+
rspec (3.2.0)
44+
rspec-core (~> 3.2.0)
45+
rspec-expectations (~> 3.2.0)
46+
rspec-mocks (~> 3.2.0)
47+
rspec-core (3.2.3)
48+
rspec-support (~> 3.2.0)
49+
rspec-expectations (3.2.1)
50+
diff-lcs (>= 1.2.0, < 2.0)
51+
rspec-support (~> 3.2.0)
52+
rspec-its (1.2.0)
53+
rspec-core (>= 3.0.0)
54+
rspec-expectations (>= 3.0.0)
55+
rspec-mocks (3.2.1)
56+
diff-lcs (>= 1.2.0, < 2.0)
57+
rspec-support (~> 3.2.0)
58+
rspec-support (3.2.2)
59+
rspec_junit_formatter (0.2.3)
60+
builder (< 4)
61+
rspec-core (>= 2, < 4, != 2.12.0)
62+
serverspec (2.9.1)
63+
multi_json
64+
rspec (~> 3.0)
65+
rspec-its
66+
specinfra (~> 2.15)
67+
sfl (2.2)
68+
specinfra (2.40.1)
69+
net-scp
70+
net-ssh (~> 2.7)
71+
net-telnet
72+
sfl
73+
websocket-driver (0.6.2)
74+
websocket-extensions (>= 0.1.0)
75+
websocket-extensions (0.1.2)
76+
xpath (2.0.0)
77+
nokogiri (~> 1.3)
78+
79+
PLATFORMS
80+
ruby
81+
82+
DEPENDENCIES
83+
archive-tar-minitar (~> 0.5.2)
84+
capybara (~> 2.4.4)
85+
docker-api (~> 1.21.1)
86+
launchy
87+
poltergeist (~> 1.6.0)
88+
poltergeist-suppressor (~> 0.0.1)
89+
rake (~> 10.4.2)
90+
rspec (~> 3.2.0)
91+
rspec_junit_formatter (~> 0.2.3)
92+
serverspec (~> 2.9.1)
93+
94+
BUNDLED WITH
95+
1.10.6

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2014 Martin Jensen, [email protected]
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)