mirror of
https://bitbucket.org/atlassian-docker/docker-atlassian-confluence-server.git
synced 2024-08-30 18:22:16 +00:00
DCD-1313: Parallelise branch testing, and also check for pipelines config freshness.
This commit is contained in:
parent
8e234506b4
commit
41b7e85646
@ -343,6 +343,12 @@ pipelines:
|
|||||||
# against latest app version
|
# against latest app version
|
||||||
######################################################################
|
######################################################################
|
||||||
'**':
|
'**':
|
||||||
|
- step:
|
||||||
|
name: Check if pipelines config is up-to-date...
|
||||||
|
script:
|
||||||
|
- python3 pipelines-generator.py > bitbucket-piplines.yml.expected && diff bitbucket-pipelines.yml bitbucket-piplines.yml.expected
|
||||||
|
|
||||||
|
- parallel:
|
||||||
- step:
|
- step:
|
||||||
name: Run unit tests
|
name: Run unit tests
|
||||||
image: python:3.7-alpine3.9
|
image: python:3.7-alpine3.9
|
||||||
@ -358,6 +364,7 @@ pipelines:
|
|||||||
- export MAC_PRODUCT_KEY='confluence'
|
- export MAC_PRODUCT_KEY='confluence'
|
||||||
- py.test -v tests/
|
- py.test -v tests/
|
||||||
- py.test -v shared-components/tests/
|
- py.test -v shared-components/tests/
|
||||||
|
|
||||||
- step:
|
- step:
|
||||||
name: Run integration tests
|
name: Run integration tests
|
||||||
services:
|
services:
|
||||||
|
@ -76,6 +76,12 @@ pipelines:
|
|||||||
# against latest app version
|
# against latest app version
|
||||||
######################################################################
|
######################################################################
|
||||||
'**':
|
'**':
|
||||||
|
- step:
|
||||||
|
name: Check if pipelines config is up-to-date...
|
||||||
|
script:
|
||||||
|
- python3 pipelines-generator.py > bitbucket-piplines.yml.expected && diff bitbucket-pipelines.yml bitbucket-piplines.yml.expected
|
||||||
|
|
||||||
|
- parallel:
|
||||||
- step:
|
- step:
|
||||||
name: Run unit tests
|
name: Run unit tests
|
||||||
image: python:3.7-alpine3.9
|
image: python:3.7-alpine3.9
|
||||||
@ -91,6 +97,7 @@ pipelines:
|
|||||||
- export MAC_PRODUCT_KEY='confluence'
|
- export MAC_PRODUCT_KEY='confluence'
|
||||||
- py.test -v tests/
|
- py.test -v tests/
|
||||||
- py.test -v shared-components/tests/
|
- py.test -v shared-components/tests/
|
||||||
|
|
||||||
- step:
|
- step:
|
||||||
name: Run integration tests
|
name: Run integration tests
|
||||||
services:
|
services:
|
||||||
|
Loading…
Reference in New Issue
Block a user