Sha256: 5ff0af429c16caa425cfb09d12e9ebb35884925e18b2282f80d75d01a48f5d1a
Contents?: true
Size: 716 Bytes
Versions: 14
Compression:
Stored size: 716 Bytes
Contents
#!/bin/bash set -e # Setup python environment source <%= @local_install_dir %>/pythonenv/bin/activate # template config file export LUIGI_CONFIG_TEMPLATE_PATH=<%= @luigiscripts_path %>/client.cfg.template # expanded config file export LUIGI_CONFIG_PATH=<%= @luigiscripts_path %>/client.cfg # Setup parameters in environment variables <% @parameters.each do |p| %> export <%= p['name'] %>="<%= p['value'] %>"; <% end %> # Run stillson to expand the configuration template if [ -f "$LUIGI_CONFIG_TEMPLATE_PATH" ] then stillson "$LUIGI_CONFIG_TEMPLATE_PATH" -o $LUIGI_CONFIG_PATH else echo "No luigi client configuration template found in expected location $LUIGI_CONFIG_TEMPLATE_PATH. Not expanding." fi
Version data entries
14 entries across 14 versions & 1 rubygems