Sha256: 741858896179c9ca70fc0ba6d37e7c54768220d0557e24ccbaa24ffad8e11350
Contents?: true
Size: 875 Bytes
Versions: 12
Compression:
Stored size: 875 Bytes
Contents
# frozen_string_literal: true module Dpl module Providers class Script < Provider register :script status :stable summary 'Minimal provider that executes a custom command' description sq(<<-STR) This deployment provider executes a single, custom command. This is usually a script that is contained in your repository, but it can be any command executable in the build environment. It is possible to pass arguments to a script deployment like so: dpl script -s './scripts/deploy.sh production --verbose' Deployment will be marked a failure if the script exits with nonzero status. STR opt '-s', '--script SCRIPT', 'The script to execute', required: true def deploy shell script, assert: 'Script failed with status %{status}' end end end end
Version data entries
12 entries across 12 versions & 2 rubygems