Commit Graph

6 Commits

Author SHA1 Message Date
Steve Smith
5a37ab0299 CLIP-1725: Update the Confluence DB from 6.0.1 to 7.11.6 to allow upgrades to Confluence 8. 2022-11-30 11:19:39 +11:00
Steve Smith
1f188b3f83 DCD-1313: Remove unnecessary confluence-home files and move README to the functest base. 2021-07-15 14:34:21 +10:00
Steve Smith
c1659129e5 DCD-1313: Remove old cache/index files from confluence-home. 2021-07-15 10:21:13 +10:00
Steve Smith
0c7817f903 DCD-1313: Use a Dockerfile argument rather than sed to inject test image. 2021-07-15 09:15:54 +10:00
Steve Smith
afb0c62f40 DCD-1313: Move test data out of zipfile and cleanup. 2021-07-15 09:15:54 +10:00
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