Commit Graph

250 Commits

Author SHA1 Message Date
Nasser Ghazali-Beiklar
2a28ea5182 Merged in DCKUBE-136-RunSmoketestsInReleasePipeline (pull request #83)
DCKUBE-135, DCKUBE-136, DCKUBE_137, and DCKUBE-138: Add Smoke tests in Confluence Pipeline
This PR contains code change for three tickets which are related and should merge to master together.

KUBEDCKUBE-135:
Applied security scan to bitbucket pipeline for branch builds in confluence - for releases, the test script will run by run.py for releases and for branch builds and custom releases will directly runs snyk scanner
Created a smoke testing suite via REST and included these scenarios: Create a space, Create a page, Search for the page, View page, Add attachments, Delete the page, and Delete the space

KUBEDCKUBE-136:
Added a separated docker for confluence to based on the docker image to copy confluence home directory
Injected target confluence image to Dockerfile
set the number of concurrent builds to one in pipeline
clean docker-compose before start and force to recreate the containers
Modified the script in order to install netcat-openbsd using apkfor Alpine (apt-getis not available in Alpine)
Replaced colfuence-home directory and postgres scripts with confluence 6.0.1 compatible to avoid downgrade version in release images
Increased database connection numbers to 125
Addressed some review points, replaced the confluence home directory and sql with version 6.0.1
Addressed a review points, renamed CONFLUENCE_USER to CONFLUENCE_ADMIN
divided pipeline into batches to avoid pipeline timeout

KUBEDCKUBE-137:
Run smoketests in branch builds after each commit
Completed smoketests and also addressed some review points

KUBEDCKUBE-138:
Added development document

Approved-by: Adam Brokes
2021-03-12 03:30:51 +00:00
Ben Partridge
42592fab7e Merged in DCD-1238-fix-oracle-database-type (pull request #80)
DCD-1238: Add database type mapping for oracle which supports oracle 12c and 19c in Confluence 7.3.1+

Approved-by: Steve Smith
Approved-by: Nasser Ghazali-Beiklar
2021-03-05 05:29:10 +00:00
Ben Partridge
eabad37f4f DCD-1238: Update README with ATL_DB_TYPE value for oracle for Confluence 7.3.1 and later 2021-03-05 11:01:03 +11:00
Ben Partridge
78fa23866f DCD-1238: Add database type mapping for oracle which supports oracle 12c and 19c in Confluence 7.3.1+ 2021-03-05 10:53:21 +11:00
Nasser Ghazali-Beiklar
5654d4c095 Merged in DCKUBE-111-security-scan (pull request #78)
DCKUBE-111 security scan

* DCKUBE-111 - Applied security scan to bitbucket pipeline - passed the test script to run.py and also directly ran snyk scanner on custom releases

* DCKUBE-111 - as script test has a default then no need to pass it as a parameter

* DCKUBE-111 - removed snyk auth

* DCKUBE-111 - Added snyk authentication before scan

* DCKUBE-111 - Fixed typo in image names

* DCKUBE-111 - Set environment variable as part of applying the review point on docker release maker to changed push_image and test to env var instead of parameters to run.py

* DCKUBE-111 - removed PUSH_IMAGE and INTEGRATION_TEST_SCRIPT from pipeline yaml file because are default values and are not needed to override with the same value

Approved-by: Adam Brokes
2021-02-17 06:44:12 +00:00
Adam Brokes
f7955bc991 Merged in DCD-1148-default-to-log-file (pull request #76)
DCD-1148: Default application logs back to the log files (instead of stdout)

Approved-by: Steve Smith
2020-11-24 07:03:45 +00:00
Adam Brokes
37f36e85de
DCD-1148: Default application logs back to the log files (instead of stdout) 2020-11-24 09:45:18 +11:00
Adam Brokes
9e2de19c41 Merged in DCD-1119-disable-file-log (pull request #75)
DCD-1119: Stop sending application logs to file

* DCD-1119: Stop sending application logs to file

* DCD-1119: Add variable and document it

Approved-by: Kenny MacLeod
Approved-by: Dave Chevell
2020-11-11 22:30:32 +00:00
Kenny MacLeod
1045386ac9 Merged in issue/SCALE-33 (pull request #73)
SCALE-33 ATL_LICENSE_KEY will only work from conf 7.9+

Approved-by: Dave Chevell
Approved-by: Minh Tran
2020-11-03 09:06:57 +00:00
Dave Chevell
e67ef33cec Merged in native-tini (pull request #74)
Install tini via package manager

Approved-by: Steve Smith
2020-10-19 00:52:49 +00:00
Dave Chevell
6e46fb8705 Install tini via package manager 2020-10-19 08:44:06 +11:00
Kenny MacLeod
386f3aa00b
SCALE-33 ATL_LICENSE_KEY will only work from conf 7.9+ 2020-09-22 16:59:03 +01:00
Ben Partridge
7558c08b87 Merged in no-issue-remove-eap-latest-tag-docs (pull request #72)
Update documentation and remove untrue statement about building eap tag for newest EAP

Approved-by: Dave Chevell
2020-09-21 07:24:56 +00:00
Ben Partridge
6dcad651f7
Update documentation and remove untrue statement about building eap tag for newest EAP 2020-09-21 16:59:04 +10:00
Kenny MacLeod
e6f61fd2aa Merged in issue/SCALE-33 (pull request #71)
SCALE-33 Allow injection of license key via env var

Approved-by: Steve Smith
Approved-by: Dave Chevell
2020-09-11 09:03:34 +00:00
Kenny MacLeod
f2bd04b277
SCALE-33 Document new env var in README.md 2020-09-10 20:29:39 +01:00
Kenny MacLeod
78af588f71 Merged master into issue/SCALE-33 2020-09-06 19:39:49 +00:00
Kenny MacLeod
10167db66d
SCALE-33 Add atl_license_key support to template 2020-09-06 20:32:51 +01:00
Kenny MacLeod
cdb5bb2d76
SCALE-33 Add unit test first 2020-09-06 20:23:42 +01:00
Kenny MacLeod
cd5284a185
SCALE-33 Add .idea to .gitignore 2020-09-06 20:23:19 +01:00
Docker Bot
cb9ec5a6b1 Merged in update-shared-components (pull request #70)
Update shared components

Approved-by: Steve Smith
Approved-by: Dave Chevell
2020-08-25 05:57:46 +00:00
Steve Smith
01d3f5c3b9 Merged in DCD-1086-jvm-fallback-fonts (pull request #69)
DCD-1086: Add Google Noto fonts and install as JVM fallback for server-side rendering of non-Latin languages.

Approved-by: Adam Brokes
Approved-by: Dave Chevell
2020-08-25 03:04:29 +00:00
Steve Smith
29289ac63e DCD-1086: Try timeoutincrease. 2020-08-25 10:44:55 +10:00
Steve Smith
49890f0225 DCD-1086: Don't check link location as it's platform-specific. 2020-08-25 09:34:48 +10:00
Steve Smith
8bed033516 DCD-1086: We need to fetch & clean the cache to get all the fonts. 2020-08-25 09:34:48 +10:00
Steve Smith
2a44a5f82b DCD-1086: See need to all the Noto sub-packages too. 2020-08-25 09:34:48 +10:00
Steve Smith
12bbe6b36e DCD-1086: Add Noto fonts to Alpine too. 2020-08-25 09:34:48 +10:00
Steve Smith
e6204bab7a DCD-1086: Add Google Noto fonts and install as JVM fallback for server-side rendering of non-Latin languages. 2020-08-25 09:34:48 +10:00
Dave Chevell
284acb9a30 Merged in dont-write-bytecode (pull request #67)
SCALE-31: Don't write python bytecode

Approved-by: Kenny MacLeod
Approved-by: Steve Smith
Approved-by: Minh Tran
2020-08-24 07:14:13 +00:00
Atlassian Docker Bot
49fde15797 Update shared components 2020-08-24 03:52:42 +00:00
Steve Smith
65a83b38cb Merged in DCD-1053-lucene-dir-setting (pull request #68)
DCD-1053: Add ability to specify the Lucene index directory.

Approved-by: Ben Partridge
Approved-by: Minh Tran
2020-08-19 01:01:25 +00:00
Steve Smith
359f56dd4d DCD-1053: Add ability to specify the Lucene index directory. 2020-08-18 11:06:26 +10:00
Dave Chevell
edc980d70a Don't write python bytecode 2020-08-16 21:19:43 +10:00
Dave Chevell
4b22953bb7 Merged in jvm-support-args-precedence (pull request #66)
SCALE-18: Fix precedence of JVM_SUPPORT_RECOMMENDED_ARGS

Approved-by: Ben Partridge <bpartridge@atlassian.com>
Approved-by: Lauretha Rura <lrura@atlassian.com>
2020-06-01 03:57:34 +00:00
Dave Chevell
450cd06bfb
Move JVM_SUPPORT_RECOMMENDED_ARGS to the end 2020-05-30 15:47:47 +10:00
Dave Chevell
832a0f4264 Merged in SCALE-16-fix-mysql-instructions (pull request #65)
SCALE-16: Fix incorrect MySQL driver path in README [skip ci]

Approved-by: Minh Tran <mtran@atlassian.com>
2020-05-06 05:54:26 +00:00
Dave Chevell
ec457cb905
Fix incorrecty MySQL driver path in README 2020-05-06 11:46:23 +10:00
Dave Chevell
5a31b8ee44 Merged in publish-eap-releases (pull request #64)
Enable publishing EAP releases [skip ci]

Approved-by: Minh Tran <mtran@atlassian.com>
2020-04-22 04:33:55 +00:00
Dave Chevell
72d23763f6
Enable publishing EAP releases 2020-04-22 11:25:48 +10:00
Steve Smith
d4ca94a4d7 Merged in SCALE-4-full-jdk (pull request #63)
SCALE-4: Use full-JDK, as slim versions is missing jars required for some plugins, and be exlicit about Alpine version in pipelines.

Approved-by: Dave Chevell <dchevell@atlassian.com>
2020-03-23 04:26:12 +00:00
Steve Smith
99745a66a1 SCALE-4: Remove addition of explicit JDK 8 image for Alpine builds. 2020-03-23 15:25:43 +11:00
Docker Bot
4942a5d610 [skip ci] Merged in update-shared-components (pull request #62)
Update shared components

Approved-by: Dave Chevell <dchevell@atlassian.com>
2020-03-23 04:07:28 +00:00
Steve Smith
b50be4b64d SCALE-4: Use full-JDK, as slim versions is missing jars required for some plugins, and be exlicit about Alpine version in pipelines. 2020-03-23 14:34:48 +11:00
Atlassian Docker Bot
0ad5a18370 Update shared components 2020-03-23 03:01:13 +00:00
Dave Chevell
9dd976acaf Merged in maxhttpheadersize (pull request #61)
CONFSERVER-59318: Allow setting maxHttpHeaderSize

Approved-by: Ben Partridge <bpartridge@atlassian.com>
2020-03-18 23:42:09 +00:00
Dave Chevell
195cd45189
CONFSERVER-59318: Allow setting maxHttpHeaderSize 2020-03-18 18:06:22 +11:00
Steve Smith
f99edfada3 Merged in forked-contributions-target (pull request #60)
Contributions from Karolis Eigelis

Approved-by: Karolis Eigelis
Approved-by: Dave Chevell
2020-03-04 00:08:57 +00:00
Dave Chevell
4bebf05a1e
Tidying up 2020-03-04 09:37:04 +11:00
Ben Partridge
f9817df395 Add contributing guidelines to README 2020-03-03 16:34:39 +11:00
Ben Partridge
1247e1abdb Fix xml access log test using incorrect path to server.xml and running
as confluence user
2020-03-03 16:29:09 +11:00