Sha256: 560508d640fe721bca02b364d925ce93e5e05fda886661151396910bd6a70950

Contents?: true

Size: 375 Bytes

Versions: 21

Compression:

Stored size: 375 Bytes

Contents

module Shipit
  class DeployCommands < TaskCommands
    def steps
      deploy_spec.deploy_steps!
    end

    def env
      commit = @task.until_commit
      super.merge(
        'SHA' => commit.sha,
        'REVISION' => commit.sha,
      )
    end

    protected

    def permalink
      Shipit::Engine.routes.url_helpers.stack_deploy_url(@stack, @task)
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
shipit-engine-0.12.1 lib/shipit/deploy_commands.rb
shipit-engine-0.12.0 lib/shipit/deploy_commands.rb
shipit-engine-0.11.0 lib/shipit/deploy_commands.rb
shipit-engine-0.10.0 lib/shipit/deploy_commands.rb
shipit-engine-0.9.0 lib/shipit/deploy_commands.rb
shipit-engine-0.8.9 lib/shipit/deploy_commands.rb
shipit-engine-0.8.8 lib/shipit/deploy_commands.rb
shipit-engine-0.8.7 lib/shipit/deploy_commands.rb
shipit-engine-0.8.6 lib/shipit/deploy_commands.rb
shipit-engine-0.8.5 lib/shipit/deploy_commands.rb
shipit-engine-0.8.4 lib/shipit/deploy_commands.rb
shipit-engine-0.8.3 lib/shipit/deploy_commands.rb
shipit-engine-0.8.2 lib/shipit/deploy_commands.rb
shipit-engine-0.8.1 lib/shipit/deploy_commands.rb
shipit-engine-0.8.0 lib/shipit/deploy_commands.rb
shipit-engine-0.7.0 lib/shipit/deploy_commands.rb
shipit-engine-0.6.4 lib/shipit/deploy_commands.rb
shipit-engine-0.6.3 lib/shipit/deploy_commands.rb
shipit-engine-0.6.2 lib/shipit/deploy_commands.rb
shipit-engine-0.6.1 lib/shipit/deploy_commands.rb