Update .travis.yml

This commit is contained in:
STAM 2019-09-26 17:58:04 +03:00 committed by GitHub
parent 092becfec7
commit e874056816
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,36 +7,33 @@ addons:
apt: apt:
packages: packages:
- docker-ce - docker-ce
jobs: matrix:
include: include:
######################################### - name: Zabbix agent
#### forks of images
#########################################
- stage: Zabbix agent
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/zabbix-agent:latest zabbix/agent - docker build --compress -t epicmorg/zabbix-agent:latest zabbix/agent
- docker push epicmorg/zabbix-agent:latest - docker push epicmorg/zabbix-agent:latest
- stage: Zabbix java gateway - name: Zabbix java gateway
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/zabbix-java-gateway:latest zabbix/java-gateway - docker build --compress -t epicmorg/zabbix-java-gateway:latest zabbix/java-gateway
- docker push epicmorg/zabbix-java-gateway:latest - docker push epicmorg/zabbix-java-gateway:latest
- stage: Zabbix server - name: Zabbix server
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/zabbix-server-mysql:latest zabbix/server - docker build --compress -t epicmorg/zabbix-server-mysql:latest zabbix/server
- docker push epicmorg/zabbix-server-mysql:latest - docker push epicmorg/zabbix-server-mysql:latest
- stage: Zabbix web - name: Zabbix web
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/zabbix-web-apache-mysql:latest zabbix/web - docker build --compress -t epicmorg/zabbix-web-apache-mysql:latest zabbix/web
- docker push epicmorg/zabbix-web-apache-mysql:latest - docker push epicmorg/zabbix-web-apache-mysql:latest
- stage: NextCloud - name: NextCloud
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/nextcloud:latest nextcloud - docker build --compress -t epicmorg/nextcloud:latest nextcloud
@ -46,73 +43,73 @@ jobs:
#### Our High priority images #### Our High priority images
######################################### #########################################
- stage: Base Production - name: Base Production
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/prod:latest epicmorg/prod - docker build --compress -t epicmorg/prod:latest epicmorg/prod
- docker push epicmorg/prod:latest - docker push epicmorg/prod:latest
- stage: Base develop - name: Base develop
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/devel:latest epicmorg/devel - docker build --compress -t epicmorg/devel:latest epicmorg/devel
- docker push epicmorg/devel:latest - docker push epicmorg/devel:latest
- stage: TeamCityAgent image - name: TeamCityAgent image
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/teamcity-agent:latest teamcity-agent - docker build --compress -t epicmorg/teamcity-agent:latest teamcity-agent
- docker push epicmorg/teamcity-agent:latest - docker push epicmorg/teamcity-agent:latest
- stage: Nginx image - name: Nginx image
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/balancer:latest balancer/latest - docker build --compress -t epicmorg/balancer:latest balancer/latest
- docker push epicmorg/balancer:latest - docker push epicmorg/balancer:latest
- stage: Nginx-php image - name: Nginx-php image
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/balancer:php balancer/php - docker build --compress -t epicmorg/balancer:php balancer/php
- docker push epicmorg/balancer:php - docker push epicmorg/balancer:php
- stage: Apache+PHP7 image - name: Apache+PHP7 image
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/websites:latest websites/latest - docker build --compress -t epicmorg/websites:latest websites/latest
- docker push epicmorg/websites:latest - docker push epicmorg/websites:latest
- stage: Apache+PHP7.2 image - name: Apache+PHP7.2 image
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/websites:php7.2 websites/php7.2 - docker build --compress -t epicmorg/websites:php7.2 websites/php7.2
- docker push epicmorg/websites:php7.2 - docker push epicmorg/websites:php7.2
- stage: Jira Latest image - name: Jira Latest image
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/jira:latest atlassian/jira/latest - docker build --compress -t epicmorg/jira:latest atlassian/jira/latest
- docker push epicmorg/jira:latest - docker push epicmorg/jira:latest
- stage: Jira 7.10.0 image - name: Jira 7.10.0 image
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/jira:7.10.0 atlassian/jira/7.10.0 - docker build --compress -t epicmorg/jira:7.10.0 atlassian/jira/7.10.0
- docker push epicmorg/jira:7.10.0 - docker push epicmorg/jira:7.10.0
- stage: Confluence Latest image - name: Confluence Latest image
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/confluence:latest atlassian/confluence/latest - docker build --compress -t epicmorg/confluence:latest atlassian/confluence/latest
- docker push epicmorg/confluence:latest - docker push epicmorg/confluence:latest
- stage: Confluence 6.9.0 image - name: Confluence 6.9.0 image
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/confluence:6.9.0 atlassian/confluence/6.9.0 - docker build --compress -t epicmorg/confluence:6.9.0 atlassian/confluence/6.9.0
- docker push epicmorg/confluence:6.9.0 - docker push epicmorg/confluence:6.9.0
- stage: Bitbucket Latest image - name: Bitbucket Latest image
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/bitbucket:latest atlassian/bitbucket/latest - docker build --compress -t epicmorg/bitbucket:latest atlassian/bitbucket/latest
@ -123,13 +120,13 @@ jobs:
#### Our medium priority images #### Our medium priority images
######################################### #########################################
- stage: Jira 7.13.3 image - name: Jira 7.13.3 image
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/jira:7.13.3 atlassian/jira/7.13.3 - docker build --compress -t epicmorg/jira:7.13.3 atlassian/jira/7.13.3
- docker push epicmorg/jira:7.13.3 - docker push epicmorg/jira:7.13.3
- stage: Confluence 6.13.4 image - name: Confluence 6.13.4 image
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/confluence:6.9.0 atlassian/confluence/6.9.0 - docker build --compress -t epicmorg/confluence:6.9.0 atlassian/confluence/6.9.0
@ -138,7 +135,7 @@ jobs:
######################################### #########################################
#### Our minor priority images #### Our minor priority images
######################################### #########################################
# - stage: Name of image # - name: Name of image
# script: # script:
# - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin # - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
# - docker build --compress -t epicmorg/repo:tag path/to/folder # - docker build --compress -t epicmorg/repo:tag path/to/folder