docker-scripts/.travis.yml

267 lines
10 KiB
YAML
Raw Normal View History

2019-09-25 16:18:01 +03:00
os: linux
2020-01-29 16:05:30 +03:00
dist: bionic #https://docs.travis-ci.com/user/reference/overview/
2019-09-26 17:39:54 +03:00
language: bash
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-26 17:58:04 +03:00
matrix:
2019-09-25 15:24:25 +03:00
include:
2019-09-26 18:33:16 +03:00
#########################################
#### Forked and fixed images
#########################################
2020-02-27 16:07:41 +03:00
- name: Zabbix Agent
2019-09-26 17:39:54 +03:00
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/zabbix-agent:latest zabbix/agent
- docker push epicmorg/zabbix-agent:latest
2020-02-27 16:07:41 +03:00
- name: Zabbix Java Gateway
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
2019-09-26 17:39:54 +03:00
- docker build --compress -t epicmorg/zabbix-java-gateway:latest zabbix/java-gateway
- docker push epicmorg/zabbix-java-gateway:latest
2020-02-27 16:07:41 +03:00
- name: Zabbix Server with MySQL
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
2019-09-26 17:39:54 +03:00
- docker build --compress -t epicmorg/zabbix-server-mysql:latest zabbix/server
- docker push epicmorg/zabbix-server-mysql:latest
2020-02-27 16:07:41 +03:00
- name: Zabbix Web Apache2 with MySQL
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
2019-09-26 17:39:54 +03:00
- docker build --compress -t epicmorg/zabbix-web-apache-mysql:latest zabbix/web
- docker push epicmorg/zabbix-web-apache-mysql:latest
2020-01-16 17:23:36 +03:00
##########
2020-02-27 16:34:51 +03:00
- name: NextCloud (latest)
2019-09-26 17:39:54 +03:00
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
2020-01-29 15:56:50 +03:00
- docker build --compress -t epicmorg/nextcloud:latest nextcloud/latest
2019-09-26 17:39:54 +03:00
- docker push epicmorg/nextcloud:latest
2020-01-29 15:56:50 +03:00
2019-09-26 17:39:54 +03:00
#########################################
#### Our High priority images
#########################################
# - name: Template
# script:
# - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
# - docker build --compress -t user/repo:tag path/to/folder/contains/dockerfile
# - docker push user/repo:tag
2020-02-27 16:34:51 +03:00
- name: Base Production
2019-09-25 23:00:25 +03:00
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/prod:latest epicmorg/prod/main
2019-09-25 23:00:25 +03:00
- docker push epicmorg/prod:latest
2020-02-06 17:59:29 +03:00
2020-02-27 16:34:51 +03:00
- name: Base Production + JDK 6
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
2020-02-06 17:59:29 +03:00
- docker build --compress -t epicmorg/prod:jdk6 epicmorg/prod/jdk6
- docker push epicmorg/prod:jdk6
2020-02-27 16:34:51 +03:00
- name: Base Production + JDK 7
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
2020-02-06 17:59:29 +03:00
- docker build --compress -t epicmorg/prod:jdk7 epicmorg/prod/jdk7
- docker push epicmorg/prod:jdk7
2020-02-27 16:34:51 +03:00
- name: Base Production + JDK 8
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/prod:jdk8 epicmorg/prod/jdk8
- docker push epicmorg/prod:jdk8
2020-02-06 17:59:29 +03:00
2020-02-27 16:34:51 +03:00
- name: Base Production + JDK 11
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/prod:jdk11 epicmorg/prod/jdk11
- docker push epicmorg/prod:jdk11
##########
2020-02-27 16:34:51 +03:00
- name: Base Edge
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/edge:latest epicmorg/edge/main
- docker push epicmorg/edge:latest
2020-02-06 17:59:29 +03:00
2020-02-27 16:34:51 +03:00
- name: Base Edge + JDK 6
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
2020-02-06 17:59:29 +03:00
- docker build --compress -t epicmorg/edge:jdk6 epicmorg/edge/jdk6
- docker push epicmorg/edge:jdk6
2020-02-27 16:34:51 +03:00
- name: Base Edge + JDK 7
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
2020-02-06 17:59:29 +03:00
- docker build --compress -t epicmorg/edge:jdk7 epicmorg/edge/jdk7
- docker push epicmorg/edge:jdk7
2020-02-27 16:34:51 +03:00
- name: Base Edge + JDK 8
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/edge:jdk8 epicmorg/edge/jdk8
- docker push epicmorg/edge:jdk8
2020-02-06 17:59:29 +03:00
2020-02-27 16:34:51 +03:00
- name: Base Edge + JDK 11
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/edge:jdk11 epicmorg/edge/jdk11
- docker push epicmorg/edge:jdk11
2020-01-16 17:23:36 +03:00
##########
2020-02-27 16:34:51 +03:00
- name: Base Develop
2019-09-25 23:00:25 +03:00
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/devel:latest epicmorg/devel/main
2019-09-25 23:00:25 +03:00
- docker push epicmorg/devel:latest
2020-02-06 17:59:29 +03:00
2020-02-27 16:34:51 +03:00
- name: Base Develop + JDK 6
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
2020-02-06 17:59:29 +03:00
- docker build --compress -t epicmorg/devel:jdk6 epicmorg/devel/jdk6
- docker push epicmorg/devel:jdk6
2020-02-27 16:34:51 +03:00
- name: Base Develop + JDK 7
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
2020-02-06 17:59:29 +03:00
- docker build --compress -t epicmorg/devel:jdk7 epicmorg/devel/jdk7
- docker push epicmorg/devel:jdk7
2020-02-27 16:34:51 +03:00
- name: Base Develop + JDK 8
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/devel:jdk8 epicmorg/devel/jdk8
- docker push epicmorg/devel:jdk8
2020-02-06 17:59:29 +03:00
2020-02-27 16:34:51 +03:00
- name: Base Develop + JDK 11
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/devel:jdk11 epicmorg/devel/jdk11
- docker push epicmorg/devel:jdk11
2020-01-16 17:23:36 +03:00
##########
2019-09-26 18:33:16 +03:00
- name: TeamCity Agent
2019-09-26 17:39:54 +03:00
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/teamcity-agent:latest teamcity-agent
- docker push epicmorg/teamcity-agent:latest
2019-09-26 18:33:16 +03:00
- name: NGinx (latest)
2019-09-25 23:00:25 +03:00
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/balancer:latest balancer/latest
- docker push epicmorg/balancer:latest
2019-09-26 18:35:22 +03:00
2019-09-26 18:33:16 +03:00
- name: NGinx + PHP7.3
2019-09-25 23:00:25 +03:00
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/balancer:php balancer/php
2019-09-25 23:57:45 +03:00
- docker push epicmorg/balancer:php
2019-09-26 18:35:22 +03:00
2020-01-16 17:23:36 +03:00
2019-09-26 18:33:16 +03:00
- name: Apache + PHP7.3
2019-09-25 23:00:25 +03:00
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
2019-09-26 17:39:54 +03:00
- docker build --compress -t epicmorg/websites:latest websites/latest
- docker push epicmorg/websites:latest
2019-09-26 18:35:22 +03:00
2019-09-26 18:33:16 +03:00
- name: Apache + PHP7.2
2019-09-26 17:39:54 +03:00
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/websites:php7.2 websites/php7.2
- docker push epicmorg/websites:php7.2
2019-09-26 18:33:16 +03:00
##########
2020-02-27 15:58:24 +03:00
- name: PostgresSQL (latest)
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
2020-02-27 15:58:24 +03:00
- docker build --compress -t epicmorg/postgres:latest postgres/latest
- docker push epicmorg/postgres:latest
2020-01-16 17:23:36 +03:00
##########
2020-02-27 16:34:51 +03:00
- name: Bitbucket + JDK 8 (latest)
2019-09-26 18:33:16 +03:00
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
2020-02-27 16:34:51 +03:00
- docker build --compress -t epicmorg/bitbucket:latest atlassian/bitbucket/latest
2019-09-26 18:33:16 +03:00
- docker push epicmorg/bitbucket:latest
2020-02-27 16:34:51 +03:00
- name: Bitbucket + JDK 11 (latest-jdk11)
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
2020-01-16 17:07:19 +03:00
- docker build --compress -t epicmorg/bitbucket:latest-jdk11 -f atlassian/bitbucket/latest/Dockerfile.jdk11 atlassian/bitbucket/latest
- docker push epicmorg/bitbucket:latest-jdk11
2019-09-26 18:33:16 +03:00
2020-02-27 16:34:51 +03:00
- name: Confluence + JDK 8 (latest)
2019-09-26 18:33:16 +03:00
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/confluence:latest atlassian/confluence/latest
- docker push epicmorg/confluence:latest
2020-02-27 16:34:51 +03:00
- name: Confluence + JDK 11 (latest-jdk11)
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
2020-01-16 17:07:19 +03:00
- docker build --compress -t epicmorg/confluence:latest-jdk11 -f atlassian/confluence/latest/Dockerfile.jdk11 atlassian/confluence/latest
- docker push epicmorg/confluence:latest-jdk11
2019-09-26 18:33:16 +03:00
2020-02-27 16:34:51 +03:00
- name: Jira + JDK 8 (latest)
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
2019-09-26 17:39:54 +03:00
- docker build --compress -t epicmorg/jira:latest atlassian/jira/latest
2019-09-25 23:00:25 +03:00
- docker push epicmorg/jira:latest
2020-02-27 16:34:51 +03:00
- name: Jira + JDK 11 (latest-jdk11)
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
2020-01-16 17:07:19 +03:00
- docker build --compress -t epicmorg/jira:latest-jdk11 -f atlassian/jira/latest/Dockerfile.jdk11 atlassian/jira/latest
- docker push epicmorg/jira:latest-jdk11
2020-03-04 00:31:57 +03:00
- name: Fisheye + Crucible + JDK 8 (latest)
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/fisheye-crucible:latest atlassian/fisheye-crucible/latest
- docker push epicmorg/fisheye-crucible:latest
- name: Postgres (latest)
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/postgres:latest postgres/latest
- docker push epicmorg/postgres:latest
2020-01-16 17:31:47 +03:00
##########
2020-02-27 16:34:51 +03:00
- name: qBitTorrent (latest)
2020-01-16 17:31:47 +03:00
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/qbittorrent:latest qbittorrent/latest
- docker push epicmorg/qbittorrent:latest
2020-02-27 16:34:51 +03:00
- name: qBitTorrent (unstable)
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
2020-01-16 17:31:47 +03:00
- docker build --compress -t epicmorg/qbittorrent:unstable qbittorrent/latest
- docker push epicmorg/qbittorrent:unstable
2020-02-27 16:34:51 +03:00
- name: qBitTorrent (stable)
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
2020-01-16 17:31:47 +03:00
- docker build --compress -t epicmorg/qbittorrent:stable qbittorrent/stable
- docker push epicmorg/qbittorrent:stable
2020-01-15 13:22:13 +03:00
2019-09-26 17:39:54 +03:00
#########################################
#### Our minor priority images
#########################################
2019-10-02 03:42:42 +03:00