Sha256: 380be66211910a6c394c34e218192feb954239812d42643dcd2c2ff017e331cb

Contents?: true

Size: 564 Bytes

Versions: 7

Compression:

Stored size: 564 Bytes

Contents

module Context
  module Steps
    module RakeSteps
      def then_do_rake(rake_action)
        stop_test("L'action #{rake_action} à échouer", :rake_fail) unless system("cd habitat/plan.sh/; rake #{rake_action}") || true
      end

      def then_bump_version
        stop_test("Bumper la version a échoué", :rake_bump_fail) unless GVB.internal_revision.nil? || system("git version-bump patch")
      end

      def then_save_version
        stop_test("Bumper la version a échoué", :rake_bump_fail) unless write_cookbook_version 
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
deploy-context-2.13.39 x86_64-linux/lib/deploy-context/steps/rake.rb
deploy-context-2.13.38 x86_64-linux/lib/deploy-context/steps/rake.rb
deploy-context-2.13.36 x86_64-linux/lib/deploy-context/steps/rake.rb
deploy-context-2.13.35 x86_64-linux/lib/deploy-context/steps/rake.rb
deploy-context-2.13.34 x86_64-linux/lib/deploy-context/steps/rake.rb
deploy-context-2.13.26 /home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/steps/rake.rb
deploy-context-2.13.25 /home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/steps/rake.rb