Skip to content

Commit

Permalink
NXBT-3528: Use 2021.x Docker image instead of 11.x
Browse files Browse the repository at this point in the history
  • Loading branch information
ataillefer committed Aug 16, 2021
1 parent a5f23e2 commit dc0ffc4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@ pipeline {
}

parameters {
string(name: 'NUXEO_VERSION', defaultValue: '11.x', description: 'Version of the Nuxeo server image, defaults to 11.x.')
string(name: 'NUXEO_VERSION', defaultValue: '2021.x', description: 'Version of the Nuxeo server image, defaults to 2021.x.')
string(name: 'NUXEO_REPOSITORY', defaultValue: '', description: 'GitHub repository of the nuxeo project.')
string(name: 'NUXEO_SHA', defaultValue: '', description: 'Git commit sha of the nuxeo/nuxeo upstream build.')
string(name: 'NUXEO_SHA', defaultValue: '', description: 'Git commit sha of the nuxeo/lts/nuxeo upstream build.')
}

environment {
Expand All @@ -174,7 +174,7 @@ pipeline {
KAFKA_CHART_VERSION = '11.8.8'
NUXEO_CHART_NAME = 'nuxeo'
NUXEO_CHART_VERSION = '~2.0.0'
NUXEO_DOCKER_REPOSITORY = "${isTriggered() ? DOCKER_REGISTRY : PUBLIC_DOCKER_REGISTRY}/nuxeo/nuxeo"
NUXEO_DOCKER_REPOSITORY = "${isTriggered() ? DOCKER_REGISTRY : PRIVATE_DOCKER_REGISTRY}/nuxeo/nuxeo"
NUXEO_VERSION = "${params.NUXEO_VERSION}"
HELM_VALUES_DIR = 'helm'
NAMESPACE = "nuxeo-rest-api-tests-$BRANCH_NAME-$BUILD_NUMBER".toLowerCase()
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Purpose

This project allows to validate the REST API versions that are supported in the [master branch](https://github.com/nuxeo/nuxeo) of the Nuxeo Platform.
This project allows to validate the REST API versions that are supported in the [2021 branch](https://github.com/nuxeo/nuxeo-lts) of the Nuxeo Platform.

For each REST API version, we need to guarantee the following assertion:

Expand Down Expand Up @@ -106,15 +106,15 @@ yarn format

This set of tests is executed in a [multibranch pipeline](https://jenkins.platform.dev.nuxeo.com/job/nuxeo/job/rest-api-compatibility-tests/) against a Nuxeo server configured as following:

- Docker image: `nuxeo/nuxeo:11.x`
- Docker image: `docker-private.packages.nuxeo.com/nuxeo/nuxeo:2021.x`
- MongoDB
- Elasticsearch

The build fails if at least one test fails.

This job is also triggered by the [nuxeo/nuxeo](https://jenkins.platform.dev.nuxeo.com/job/nuxeo/job/nuxeo/) multibranch pipeline:
This job is also triggered by the [nuxeo/lts/nuxeo](https://jenkins.platform.dev.nuxeo.com/job/nuxeo/job/lts/job/nuxeo/) multibranch pipeline:

- On pull requests, to run the REST API tests against the Nuxeo image freshly built from the related branch, and set a GitHub status check on the pull request.
- On the `master` branch, to run the REST API tests against the `nuxeo/nuxeo:11.x` image freshly built from the `master` branch.
- On the `2021` branch, to run the REST API tests against the `docker-private.packages.nuxeo.com/nuxeo/nuxeo:2021.x` image freshly built from the `2021` branch.

This adds a quality gate for the continuous delivery of the Nuxeo server.

0 comments on commit dc0ffc4

Please sign in to comment.