Commit Graph

45 Commits

Author SHA1 Message Date
nghazalibeiklar
6105051424
updated 'bitbucket-pipeline.yml' 2022-03-08 17:14:56 +11:00
nghazalibeiklar
0b3b9f9c1b
Generated the bitbucket-pipelines.yml file using pipelines-generator.py 2022-01-13 14:59:35 +11:00
Steve Smith
51eae235d1 DCKUBE-707: Update the OpenJDK base images to use the project repo, as the Docker "official" images are no longer updated. 2021-09-16 14:11:45 +10:00
Steve Smith
b72b556463 Ensure we're pushing to both repo aliases for the README and custom builds. 2021-09-03 10:10:48 +10:00
Dave Chevell
d7dc31ee9a Fix snyk auth for custom releases 2021-09-02 19:58:54 +10:00
Steve Smith
41b7e85646 DCD-1313: Parallelise branch testing, and also check for pipelines config freshness. 2021-07-15 10:04:10 +10:00
Steve Smith
8e234506b4 DCD-1313: Run branch builds against all branch pushes, not just PRs. 2021-07-15 10:00:29 +10:00
Steve Smith
12776412eb DCD-1313: Remove soon-to-be-EODed JDK8 builds that are incompatible with the DC test license. 2021-07-15 09:14:53 +10:00
Steve Smith
101ff8703c DCD-1313: Shorten pipelines names so relevant info is visible in the UI. 2021-07-15 09:13:02 +10:00
Dave Chevell
857917733e Remove alpine builds 2021-05-31 08:19:19 +10:00
Steve Smith
1a64d935c3 The --create-eap flag got dropped during a refactor. 2021-04-20 12:46:35 +10:00
Steve Smith
1a6138ca16 Add more output to the test runs. 2021-04-14 15:53:55 +10:00
Steve Smith
d9274112f3 Add names to unit/func test steps. 2021-04-14 15:48:19 +10:00
Steve Smith
26795d2215 Reference new integration test script. 2021-04-14 12:28:44 +10:00
Steve Smith
e619e36f30 DCD-1253: Fix tags getting lost. 2021-03-29 17:21:24 +11:00
Steve Smith
e1582a4ed3 DCD-1253: Fix typo and missing flag for the target dockerfile. 2021-03-29 15:29:57 +11:00
Steve Smith
f96210081b DCD-1253: Pipelines yaml seems to handle multiline differently when in a list. 2021-03-29 14:25:28 +11:00
Steve Smith
b9a3bb2ad4 DCD-1253: We need the full-path for the release maker. 2021-03-29 12:10:58 +11:00
Steve Smith
e4d5e58289 DCD-1253: Fix path. 2021-03-24 09:28:34 +11:00
Steve Smith
2308c6e5ab DCD-1253: Add pipelines generator template and convert to the newer CLI-based builder with multi-repo support. 2021-03-23 15:43:13 +11: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
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
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
99745a66a1 SCALE-4: Remove addition of explicit JDK 8 image for Alpine builds. 2020-03-23 15:25:43 +11: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
Dave Chevell
e1e75bde3e
[skip ci] Build in parallel 2019-11-26 15:21:35 +11:00
Dave Chevell
990fe4d0d5
Increase pipelines memory 2019-11-21 10:46:15 +11:00
Dave Chevell
f165fd0f58
Update pipelines with git submodule support & new test configuration 2019-11-21 08:15:10 +11:00
Dave Chevell
e12b182290
Build on JDK 11 from 7.1+ 2019-10-17 11:02:49 +11:00
Dave Chevell
21d82594e7
Extend valid builds to include new 7.x major release 2019-09-10 11:10:53 +10:00
Steve Smith
5a7cb15cff Reduce the concurrent builds to 3 to try and avoid rate limiting. 2019-09-06 14:29:12 +10:00
Dave Chevell
4067f473d1
Update README in pipelines 2019-09-05 13:53:40 +10:00
Dave Chevell
fdcd9fce7a Run default release pipeline last 2019-08-03 21:19:19 +10:00
Dave Chevell
565930db97 Added tests 2019-08-02 15:25:58 +10:00
Dave Chevell
da0a14628e Merge ubuntu and alpine branches together 2019-08-02 14:52:43 +10:00
Dave Chevell
bf87ef75d1 Rename pipelines 2019-07-19 11:58:14 +10:00
Dave Chevell
15fe202381 Reconfigure pipelines with custom release option 2019-06-25 17:32:40 -05:00
Dave Chevell
3cc2669370
Updated docker release pipelines config 2019-05-16 15:56:50 +10:00
Dave Chevell
49959dc017
Merged in cleanup-base-6 (pull request #29)
Cleanup base 6

Approved-by: Joe Xie <jxie@atlassian.com>
2019-02-12 08:44:40 +11:00
Dave Chevell
9b7de70d4e
Updated pipelines configuration for new docker release maker 2019-02-08 16:42:31 +11:00
minhtran83
84c0581736 CONFSRVDEV-8918 - update tag prefix to ubuntu-18.04 2018-11-22 16:08:37 +11:00
minhtran83
2f09bd01a1 CONFSRVDEV-8918 - Make sure the adopt openjdk pipeline to create latest tag 2018-11-22 14:26:57 +11:00
Minh Tran
26cea7ca96 CONFSRVDEV-8918 - Update the TAG_SUFFIX and rename the base branches 2018-11-22 14:04:54 +11:00
Dave Chevell
5b51b21a11
Enabled piplines support for automated docker releases 2017-10-10 13:24:57 +11:00