Test anchor

This commit is contained in:
Christoph Honal 2020-02-13 08:42:21 +01:00
parent 00d1895acd
commit b7114e200a

View File

@ -1,8 +1,5 @@
pipeline: anchors:
build-cli: - &anchor_env
image: plugins/docker
group: build
environment:
PROP_SERVER_USER: PROP_SERVER_USER:
from_secret: prop_server_user from_secret: prop_server_user
PROP_SERVER_KEY: PROP_SERVER_KEY:
@ -13,6 +10,15 @@ pipeline:
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
---
kind: pipeline
name: build-cli
steps:
- name: build
image: plugins/docker
environment:
<<: *anchor_env
UI_MODE: cli UI_MODE: cli
settings: settings:
build_args_from_env: build_args_from_env:
@ -30,21 +36,14 @@ pipeline:
registry: registry.chrz.de:443 registry: registry.chrz.de:443
tags: tags:
- 'cli-x86_64' - 'cli-x86_64'
---
build-gui: kind: pipeline
name: build-gui
steps:
- name: build
image: plugins/docker image: plugins/docker
group: build
environment: environment:
PROP_SERVER_USER: <<: *anchor_env
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: build_args_from_env: