docker-scripts/.travis.yml

33 lines
1.4 KiB
YAML
Raw Normal View History

2019-09-25 15:30:48 +03:00
language: bash
2019-09-25 16:18:01 +03:00
os: linux
2019-09-25 15:30:48 +03:00
dist: buster
2019-09-25 15:24:25 +03:00
services:
2019-09-25 16:18:01 +03:00
- docker
2019-09-25 15:24:25 +03:00
addons:
apt:
packages:
2019-09-25 16:18:01 +03:00
- docker-ce
2019-09-25 15:24:25 +03:00
jobs:
include:
2019-09-25 16:24:34 +03:00
- stage: Base Production image
2019-09-25 16:51:20 +03:00
script: docker build --rm --compress --force-rm -t epicmorg/prod:latest epicmorg/prod
2019-09-25 16:24:34 +03:00
- stage: Base develop image
2019-09-25 16:51:20 +03:00
script: docker build --rm --compress --force-rm -t epicmorg/devel:latest epicmorg/devel
2019-09-25 16:24:34 +03:00
- stage: Nginx image
2019-09-25 16:51:20 +03:00
script: docker build --rm --compress --force-rm -t epicmorg/balancer:latest epicmorg/balancer/latest
2019-09-25 16:24:34 +03:00
- stage: Nginx-php image
2019-09-25 16:51:20 +03:00
script: docker build --rm --compress --force-rm -t epicmorg/balancer:php epicmorg/balancer/php
- stage: TeamCityAgent image
script: docker build --rm --compress --force-rm -t epicmorg/teamcity-agent:latest epicmorg/pteamcity-agent
- stage: Jira image
script: docker build --rm --compress --force-rm -t epicmorg/jira:latest epicmorg/jira/latest
- stage: Jira 7.10.0 image
script: docker build --rm --compress --force-rm -t epicmorg/jira:latest epicmorg/jira/7.10.0
- stage: Jira lts image
script: docker build --rm --compress --force-rm -t epicmorg/jira:latest epicmorg/jira/7.13.3
2019-09-25 16:51:20 +03:00
#future migrated builds
2019-09-25 16:24:34 +03:00
# - stage: Confluence image
# script: docker build --rm --compress --force-rm -t epicmorg/confluence:latest epicmorg/confluence/latest
# - stage: Bitbucket image
# script: docker build --rm --compress --force-rm -t epicmorg/bitbucket:latest epicmorg/bitbucket/latest