docker-atlassian-confluence.../bitbucket-pipelines.yml

135 lines
5.3 KiB
YAML
Raw Normal View History

image: atlassian/docker-release-maker:latest
pipelines:
custom:
new-releases:
- step:
2019-08-03 11:19:19 +00:00
name: Confluence Alpine
services:
- docker
script:
- 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'
- export DOCKER_REPO='atlassian/confluence-server'
2019-08-03 11:19:19 +00:00
- export DOCKERFILE='Dockerfile-alpine'
- 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'
- export CONCURRENT_BUILDS='3'
- 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 8
services:
- docker
script:
- 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'
- export DOCKER_REPO='atlassian/confluence-server'
2019-10-16 23:56:07 +00:00
- export DOCKERFILE_BUILDARGS='BASE_IMAGE=adoptopenjdk/openjdk8:slim'
- 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'
- export CONCURRENT_BUILDS='3'
- 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
services:
- docker
script:
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
2019-10-16 23:56:07 +00:00
- python /usr/src/app/run.py --create
custom-release:
- variables:
- name: CONFLUENCE_VERSION
- name: DOCKER_TAG
- step:
services:
- docker
script:
- echo ${DOCKER_PASSWORD} | docker login --username ${DOCKER_USERNAME} --password-stdin
- >
2019-09-05 03:53:40 +00:00
docker build -t atlassian/confluence-server:${DOCKER_TAG}
--build-arg CONFLUENCE_VERSION=${CONFLUENCE_VERSION} .
- docker push atlassian/confluence-server:${DOCKER_TAG}
branches:
master:
- step:
2019-08-03 11:19:19 +00:00
name: Confluence Alpine
services:
- docker
script:
- 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'
- export DOCKER_REPO='atlassian/confluence-server'
2019-08-03 11:19:19 +00:00
- export DOCKERFILE='Dockerfile-alpine'
- 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'
- export CONCURRENT_BUILDS='3'
- echo ${DOCKER_PASSWORD} | docker login --username ${DOCKER_USERNAME} --password-stdin
- python /usr/src/app/run.py --update
- step:
2019-10-16 23:56:07 +00:00
name: Confluence Ubuntu JDK 8
services:
- docker
script:
- 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'
- export DOCKER_REPO='atlassian/confluence-server'
2019-10-16 23:56:07 +00:00
- export DOCKERFILE_BUILDARGS='BASE_IMAGE=adoptopenjdk/openjdk8:slim'
- 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'
- export CONCURRENT_BUILDS='3'
- 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:
- 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:
- pip install -q requests
- export DOCKER_REPO='atlassian/confluence-server'
- python bin/push-readme.py
2019-08-02 05:25:58 +00:00
pull-requests:
'**':
- step:
image: python:3.7-alpine3.9
services:
- docker
script:
- pip install -q -r tests/test-requirements.txt
- py.test tests/
definitions:
services:
docker:
2019-09-05 03:53:40 +00:00
memory: 2048