Load the environment variable to the Walter configuration files.
We follow the format of environment varibale as the discussion in terraform
messenger:
type: ${env.MESSENGER_TYPE}
channel: ${env.SLACK_CHANNEL}
service:
type: github
token: ${env.GITHUB_KEY}
pipeline:
- stage_name: command_stage_1
stage_type: command
command: echo "hello, world"
run_after:
- stage_name: command_stage_2_group_1
stage_type: command
command: echo "${JAVA_HOME}-desu"
- stage_name: command_stage_3_group_1
stage_type: command
command: echo "hello, world, command_stage_3_group_1"
Environment validables are not able to support following part of Walter configuration file.
- block key
- e.g. ${env.BLOCKNAME} : command