This commit is contained in:
parent
4817157642
commit
2de282a7f7
88
.drone.yml
88
.drone.yml
@ -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
|
||||
name: default
|
||||
|
||||
@ -6,31 +34,10 @@ steps:
|
||||
image: plugins/docker
|
||||
depends_on: [ clone ]
|
||||
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_environment
|
||||
UI_MODE: cli
|
||||
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
|
||||
<<: *default_settings
|
||||
tags:
|
||||
- 'cli-x86_64'
|
||||
|
||||
@ -38,30 +45,19 @@ steps:
|
||||
image: plugins/docker
|
||||
depends_on: [ clone ]
|
||||
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_environment
|
||||
UI_MODE: gui
|
||||
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
|
||||
<<: *default_settings
|
||||
tags:
|
||||
- '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 ]
|
Loading…
Reference in New Issue
Block a user