Hello guys! I would like to call a python script via bamboo task (inline script) This python script load variables from yaml file like this:
parser.add_argument( '--config_path', default='config.yaml', help='path of the configuration file')
with open(args.config_path) as source:
config = yaml.safe_load(source)
git_config = config['git']
git_username = git_config['username']
git_password = git_config['password']
In yaml file I would like to use bamboo variables, how should I define bamboo variables inside yaml file?
Thanks for yout answer!