Sha256: 15badda4af41d6a8489e45041f6c312c235753089ae0f911fcd5b326d2dcfba5

Contents?: true

Size: 325 Bytes

Versions: 22

Compression:

Stored size: 325 Bytes

Contents

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

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
shipit-engine-0.5.2 lib/deploy_commands.rb
shipit-engine-0.5.1 lib/deploy_commands.rb
shipit-engine-0.5.0 lib/deploy_commands.rb
shipit-engine-0.4.10 lib/deploy_commands.rb
shipit-engine-0.4.9 lib/deploy_commands.rb
shipit-engine-0.4.8 lib/deploy_commands.rb
shipit-engine-0.4.7 lib/deploy_commands.rb
shipit-engine-0.4.6 lib/deploy_commands.rb
shipit-engine-0.4.5 lib/deploy_commands.rb
shipit-engine-0.4.4 lib/deploy_commands.rb
shipit-engine-0.4.3 lib/deploy_commands.rb
shipit-engine-0.4.2 lib/deploy_commands.rb
shipit-engine-0.4.1 lib/deploy_commands.rb
shipit-engine-0.4.0 lib/deploy_commands.rb
shipit-engine-0.3.1 lib/deploy_commands.rb
shipit-engine-0.3.0 lib/deploy_commands.rb
shipit-engine-0.2.3 lib/deploy_commands.rb
shipit-engine-0.2.2 lib/deploy_commands.rb
shipit-engine-0.2.1 lib/deploy_commands.rb
shipit-engine-0.2.0 lib/deploy_commands.rb