yaml anchors
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Christoph Honal 2020-02-13 11:35:54 +01:00
parent 4817157642
commit 2de282a7f7

View File

@ -1,3 +1,31 @@
global-variables:
default_environment: &default_environment
PROP_SERVER_USER:
from_secret: prop_server_user
PROP_SERVER_KEY:
from_secret: prop_server_key
PROP_SERVER:
from_secret: prop_server
PROP_DIR_SDR:
from_secret: prop_dir_sdr
PROP_DIR_DECODER:
from_secret: prop_dir_decoder
default_settings: &default_settings
build_args_from_env:
- PROP_SERVER
- PROP_DIR_SDR
- PROP_DIR_DECODER
- PROP_SERVER_USER
- PROP_SERVER_KEY
- UI_MODE
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: registry.chrz.de:443/move2docker
registry: registry.chrz.de:443
kind: pipeline kind: pipeline
name: default name: default
@ -6,31 +34,10 @@ steps:
image: plugins/docker image: plugins/docker
depends_on: [ clone ] depends_on: [ clone ]
environment: environment:
PROP_SERVER_USER: <<: *default_environment
from_secret: prop_server_user
PROP_SERVER_KEY:
from_secret: prop_server_key
PROP_SERVER:
from_secret: prop_server
PROP_DIR_SDR:
from_secret: prop_dir_sdr
PROP_DIR_DECODER:
from_secret: prop_dir_decoder
UI_MODE: cli UI_MODE: cli
settings: settings:
build_args_from_env: <<: *default_settings
- PROP_SERVER
- PROP_DIR_SDR
- PROP_DIR_DECODER
- PROP_SERVER_USER
- PROP_SERVER_KEY
- UI_MODE
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: registry.chrz.de:443/move2docker
registry: registry.chrz.de:443
tags: tags:
- 'cli-x86_64' - 'cli-x86_64'
@ -38,30 +45,19 @@ steps:
image: plugins/docker image: plugins/docker
depends_on: [ clone ] depends_on: [ clone ]
environment: environment:
PROP_SERVER_USER: <<: *default_environment
from_secret: prop_server_user
PROP_SERVER_KEY:
from_secret: prop_server_key
PROP_SERVER:
from_secret: prop_server
PROP_DIR_SDR:
from_secret: prop_dir_sdr
PROP_DIR_DECODER:
from_secret: prop_dir_decoder
UI_MODE: gui UI_MODE: gui
settings: settings:
build_args_from_env: <<: *default_settings
- PROP_SERVER
- PROP_DIR_SDR
- PROP_DIR_DECODER
- PROP_SERVER_USER
- PROP_SERVER_KEY
- UI_MODE
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: registry.chrz.de:443/move2docker
registry: registry.chrz.de:443
tags: tags:
- 'gui-x86_64' - 'gui-x86_64'
- name: notify
image: drillster/drone-email
settings:
host: smtp
port: 25
skip_verify: true
from: drone@chrz.de
when:
status: [ success, failure ]