This commit is contained in:
Christoph Honal 2020-02-13 08:35:07 +01:00
parent 12b182da16
commit 00d1895acd

View File

@ -1,67 +1,64 @@
kind: pipeline pipeline:
name: default build-cli:
image: plugins/docker
group: build
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
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
tags:
- 'cli-x86_64'
steps: build-gui:
- name: build-cli image: plugins/docker
image: plugins/docker group: build
group: build environment:
environment: PROP_SERVER_USER:
PROP_SERVER_USER: from_secret: prop_server_user
from_secret: prop_server_user PROP_SERVER_KEY:
PROP_SERVER_KEY: from_secret: prop_server_key
from_secret: prop_server_key PROP_SERVER:
PROP_SERVER: from_secret: prop_server
from_secret: prop_server PROP_DIR_SDR:
PROP_DIR_SDR: from_secret: prop_dir_sdr
from_secret: prop_dir_sdr PROP_DIR_DECODER:
PROP_DIR_DECODER: from_secret: prop_dir_decoder
from_secret: prop_dir_decoder UI_MODE: gui
UI_MODE: cli settings:
settings: build_args_from_env:
build_args_from_env: - PROP_SERVER
- PROP_SERVER - PROP_DIR_SDR
- PROP_DIR_SDR - PROP_DIR_DECODER
- PROP_DIR_DECODER - PROP_SERVER_USER
- PROP_SERVER_USER - PROP_SERVER_KEY
- PROP_SERVER_KEY - UI_MODE
- UI_MODE username:
username: from_secret: docker_username
from_secret: docker_username password:
password: from_secret: docker_password
from_secret: docker_password repo: registry.chrz.de:443/move2docker
repo: registry.chrz.de:443/move2docker registry: registry.chrz.de:443
registry: registry.chrz.de:443 tags:
tags: - 'gui-x86_64'
- 'cli-x86_64'
- name: build-gui
image: plugins/docker
group: build
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
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
tags:
- 'gui-x86_64'