2019-05-16 05:51:31 +00:00
|
|
|
image: atlassian/docker-release-maker:latest
|
2017-10-10 02:24:57 +00:00
|
|
|
|
|
|
|
pipelines:
|
|
|
|
custom:
|
2019-08-02 04:52:43 +00:00
|
|
|
new-releases:
|
2017-10-10 02:24:57 +00:00
|
|
|
- step:
|
2019-08-03 11:19:19 +00:00
|
|
|
name: Confluence Alpine
|
2019-05-16 05:51:31 +00:00
|
|
|
services:
|
|
|
|
- docker
|
2017-10-10 02:24:57 +00:00
|
|
|
script:
|
2019-11-20 10:32:32 +00:00
|
|
|
- git submodule update --init --recursive
|
2019-09-10 01:10:53 +00:00
|
|
|
- export START_VERSION='6'
|
2019-10-16 23:56:07 +00:00
|
|
|
- export END_VERSION='7'
|
2019-08-03 11:19:19 +00:00
|
|
|
- export DEFAULT_RELEASE='false'
|
2019-05-16 05:51:31 +00:00
|
|
|
- export DOCKER_REPO='atlassian/confluence-server'
|
2019-08-03 11:19:19 +00:00
|
|
|
- export DOCKERFILE='Dockerfile-alpine'
|
2019-05-16 05:51:31 +00:00
|
|
|
- export DOCKERFILE_VERSION_ARG='CONFLUENCE_VERSION'
|
|
|
|
- export MAC_PRODUCT_KEY='confluence'
|
2019-08-03 11:19:19 +00:00
|
|
|
- export TAG_SUFFIXES='alpine,alpine-adoptopenjdk8'
|
2019-09-06 04:29:12 +00:00
|
|
|
- export CONCURRENT_BUILDS='3'
|
2019-05-21 02:01:28 +00:00
|
|
|
- echo ${DOCKER_PASSWORD} | docker login --username ${DOCKER_USERNAME} --password-stdin
|
2019-02-08 05:16:52 +00:00
|
|
|
- python /usr/src/app/run.py --create
|
2019-08-02 04:52:43 +00:00
|
|
|
- step:
|
2019-10-16 23:56:07 +00:00
|
|
|
name: Confluence Ubuntu JDK 8
|
2019-08-02 04:52:43 +00:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
script:
|
2019-11-20 10:32:32 +00:00
|
|
|
- git submodule update --init --recursive
|
2019-09-10 01:10:53 +00:00
|
|
|
- export START_VERSION='6'
|
2019-10-16 23:56:07 +00:00
|
|
|
- export END_VERSION='7.1'
|
2019-08-03 11:19:19 +00:00
|
|
|
- export DEFAULT_RELEASE='true'
|
2019-08-02 04:52:43 +00:00
|
|
|
- export DOCKER_REPO='atlassian/confluence-server'
|
2019-10-16 23:56:07 +00:00
|
|
|
- export DOCKERFILE_BUILDARGS='BASE_IMAGE=adoptopenjdk/openjdk8:slim'
|
2019-08-02 04:52:43 +00:00
|
|
|
- export DOCKERFILE_VERSION_ARG='CONFLUENCE_VERSION'
|
|
|
|
- export MAC_PRODUCT_KEY='confluence'
|
2019-08-03 11:19:19 +00:00
|
|
|
- export TAG_SUFFIXES='adoptopenjdk8,jdk8,ubuntu,ubuntu-18.04-adoptopenjdk8'
|
2019-09-06 04:29:12 +00:00
|
|
|
- export CONCURRENT_BUILDS='3'
|
2019-08-02 04:52:43 +00:00
|
|
|
- echo ${DOCKER_PASSWORD} | docker login --username ${DOCKER_USERNAME} --password-stdin
|
|
|
|
- python /usr/src/app/run.py --create
|
|
|
|
- step:
|
2019-10-16 23:56:07 +00:00
|
|
|
name: Confluence Ubuntu JDK 11
|
2019-08-02 04:52:43 +00:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
script:
|
2019-11-20 10:32:32 +00:00
|
|
|
- git submodule update --init --recursive
|
2019-10-16 23:56:07 +00:00
|
|
|
- export START_VERSION='7.1'
|
|
|
|
- export END_VERSION='8'
|
|
|
|
- export DEFAULT_RELEASE='true'
|
|
|
|
- export DOCKER_REPO='atlassian/confluence-server'
|
|
|
|
- export DOCKERFILE_VERSION_ARG='CONFLUENCE_VERSION'
|
|
|
|
- export MAC_PRODUCT_KEY='confluence'
|
|
|
|
- export TAG_SUFFIXES='jdk11,ubuntu'
|
|
|
|
- export CONCURRENT_BUILDS='3'
|
2019-08-02 04:52:43 +00:00
|
|
|
- echo ${DOCKER_PASSWORD} | docker login --username ${DOCKER_USERNAME} --password-stdin
|
2019-10-16 23:56:07 +00:00
|
|
|
- python /usr/src/app/run.py --create
|
|
|
|
custom-release:
|
2019-05-21 02:01:28 +00:00
|
|
|
- variables:
|
|
|
|
- name: CONFLUENCE_VERSION
|
|
|
|
- name: DOCKER_TAG
|
|
|
|
- step:
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
script:
|
2019-11-20 10:32:32 +00:00
|
|
|
- git submodule update --init --recursive
|
2019-05-21 02:01:28 +00:00
|
|
|
- echo ${DOCKER_PASSWORD} | docker login --username ${DOCKER_USERNAME} --password-stdin
|
2019-08-02 04:52:43 +00:00
|
|
|
- >
|
2019-09-05 03:53:40 +00:00
|
|
|
docker build -t atlassian/confluence-server:${DOCKER_TAG}
|
2019-08-02 04:52:43 +00:00
|
|
|
--build-arg CONFLUENCE_VERSION=${CONFLUENCE_VERSION} .
|
2019-05-21 02:01:28 +00:00
|
|
|
- docker push atlassian/confluence-server:${DOCKER_TAG}
|
2017-10-10 02:24:57 +00:00
|
|
|
branches:
|
2019-08-02 04:52:43 +00:00
|
|
|
master:
|
2017-10-10 02:24:57 +00:00
|
|
|
- step:
|
2019-08-03 11:19:19 +00:00
|
|
|
name: Confluence Alpine
|
2019-05-16 05:51:31 +00:00
|
|
|
services:
|
|
|
|
- docker
|
2017-10-10 02:24:57 +00:00
|
|
|
script:
|
2019-11-20 10:32:32 +00:00
|
|
|
- git submodule update --init --recursive
|
2019-09-10 01:10:53 +00:00
|
|
|
- export START_VERSION='6'
|
2019-10-16 23:56:07 +00:00
|
|
|
- export END_VERSION='7'
|
2019-08-03 11:19:19 +00:00
|
|
|
- export DEFAULT_RELEASE='false'
|
2019-05-16 05:51:31 +00:00
|
|
|
- export DOCKER_REPO='atlassian/confluence-server'
|
2019-08-03 11:19:19 +00:00
|
|
|
- export DOCKERFILE='Dockerfile-alpine'
|
2019-05-16 05:51:31 +00:00
|
|
|
- export DOCKERFILE_VERSION_ARG='CONFLUENCE_VERSION'
|
|
|
|
- export MAC_PRODUCT_KEY='confluence'
|
2019-08-03 11:19:19 +00:00
|
|
|
- export TAG_SUFFIXES='alpine,alpine-adoptopenjdk8'
|
2019-09-06 04:29:12 +00:00
|
|
|
- export CONCURRENT_BUILDS='3'
|
2019-05-21 02:01:28 +00:00
|
|
|
- echo ${DOCKER_PASSWORD} | docker login --username ${DOCKER_USERNAME} --password-stdin
|
2019-08-02 04:52:43 +00:00
|
|
|
- python /usr/src/app/run.py --update
|
|
|
|
- step:
|
2019-10-16 23:56:07 +00:00
|
|
|
name: Confluence Ubuntu JDK 8
|
2019-08-02 04:52:43 +00:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
script:
|
2019-11-20 10:32:32 +00:00
|
|
|
- git submodule update --init --recursive
|
2019-09-10 01:10:53 +00:00
|
|
|
- export START_VERSION='6'
|
2019-10-16 23:56:07 +00:00
|
|
|
- export END_VERSION='7.1'
|
2019-08-03 11:19:19 +00:00
|
|
|
- export DEFAULT_RELEASE='true'
|
2019-08-02 04:52:43 +00:00
|
|
|
- export DOCKER_REPO='atlassian/confluence-server'
|
2019-10-16 23:56:07 +00:00
|
|
|
- export DOCKERFILE_BUILDARGS='BASE_IMAGE=adoptopenjdk/openjdk8:slim'
|
2019-08-02 04:52:43 +00:00
|
|
|
- export DOCKERFILE_VERSION_ARG='CONFLUENCE_VERSION'
|
|
|
|
- export MAC_PRODUCT_KEY='confluence'
|
2019-08-03 11:19:19 +00:00
|
|
|
- export TAG_SUFFIXES='adoptopenjdk8,jdk8,ubuntu,ubuntu-18.04-adoptopenjdk8'
|
2019-09-06 04:29:12 +00:00
|
|
|
- export CONCURRENT_BUILDS='3'
|
2019-08-02 04:52:43 +00:00
|
|
|
- echo ${DOCKER_PASSWORD} | docker login --username ${DOCKER_USERNAME} --password-stdin
|
2019-08-02 05:25:58 +00:00
|
|
|
- python /usr/src/app/run.py --update
|
2019-10-16 23:56:07 +00:00
|
|
|
- step:
|
|
|
|
name: Confluence Ubuntu JDK 11
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
script:
|
2019-11-20 10:32:32 +00:00
|
|
|
- git submodule update --init --recursive
|
2019-10-16 23:56:07 +00:00
|
|
|
- export START_VERSION='7.1'
|
|
|
|
- export END_VERSION='8'
|
|
|
|
- export DEFAULT_RELEASE='true'
|
|
|
|
- export DOCKER_REPO='atlassian/confluence-server'
|
|
|
|
- export DOCKERFILE_VERSION_ARG='CONFLUENCE_VERSION'
|
|
|
|
- export MAC_PRODUCT_KEY='confluence'
|
|
|
|
- export TAG_SUFFIXES='jdk11,ubuntu'
|
|
|
|
- export CONCURRENT_BUILDS='3'
|
|
|
|
- echo ${DOCKER_PASSWORD} | docker login --username ${DOCKER_USERNAME} --password-stdin
|
|
|
|
- python /usr/src/app/run.py --update
|
2019-09-05 03:53:40 +00:00
|
|
|
- step:
|
|
|
|
name: Update README
|
|
|
|
image: python:3.7-alpine3.9
|
|
|
|
script:
|
2019-11-20 10:32:32 +00:00
|
|
|
- apk add --no-cache git
|
|
|
|
- git submodule update --init --recursive
|
2019-09-05 03:53:40 +00:00
|
|
|
- pip install -q requests
|
|
|
|
- export DOCKER_REPO='atlassian/confluence-server'
|
2019-11-20 10:32:32 +00:00
|
|
|
- python shared-components/image/push-readme.py
|
2019-08-02 05:25:58 +00:00
|
|
|
pull-requests:
|
|
|
|
'**':
|
|
|
|
- step:
|
|
|
|
image: python:3.7-alpine3.9
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
script:
|
2019-11-20 10:32:32 +00:00
|
|
|
- apk add --no-cache git
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
- pip install -q -r shared-components/tests/requirements.txt
|
|
|
|
- export PYTHONPATH=./shared-components/tests:$PYTHONPATH
|
|
|
|
- export DOCKERFILE='Dockerfile'
|
|
|
|
- export DOCKERFILE_VERSION_ARG='CONFLUENCE_VERSION'
|
|
|
|
- export MAC_PRODUCT_KEY='confluence'
|
|
|
|
- py.test tests/
|
|
|
|
- py.test shared-components/tests/
|
|
|
|
- export DOCKERFILE='Dockerfile-alpine'
|
2019-08-02 05:25:58 +00:00
|
|
|
- py.test tests/
|
2019-11-20 10:32:32 +00:00
|
|
|
- py.test shared-components/tests/
|
2019-08-02 05:25:58 +00:00
|
|
|
definitions:
|
|
|
|
services:
|
|
|
|
docker:
|
2019-11-20 21:22:23 +00:00
|
|
|
memory: 3072
|