Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Initiate building of binaries on Enterprise release

  • Loading branch information...
commit 11499e0bfeb2e299b4f5a8de77af4f04daff18e9 1 parent 93efcd2
Hongli Lai FooBarWidget authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 build/packaging.rb
9 build/packaging.rb
View
@@ -187,13 +187,20 @@ def word_wrap(text, max = 72)
else
dir = "/u/apps/passenger_website/shared"
subdir = string_option('NAME', version)
+ git_url = `git config remote.origin.url`.strip
+
sh "scp #{PKG_DIR}/#{basename}.{gem,tar.gz,gem.asc,tar.gz.asc} app@shell.phusion.nl:#{dir}/"
sh "ssh app@shell.phusion.nl 'mkdir -p \"#{dir}/assets/#{subdir}\" && mv #{dir}/#{basename}.{gem,tar.gz,gem.asc,tar.gz.asc} \"#{dir}/assets/#{subdir}/\"'"
sh "curl -F file=@#{PKG_DIR}/#{basename}.gem --user admin:#{website_config['admin_password']} " +
"https://www.phusionpassenger.com/enterprise_gems/upload"
+ puts "Initiating building of binaries"
+ command = "cd /srv/passenger_autobuilder/app && " +
+ "/tools/silence-unless-failed chpst -l /tmp/passenger_autobuilder.lock " +
+ "./autobuild-with-pbuilder #{git_url} passenger-enterprise --tag=#{tag}"
+ ssh "psg_autobuilder_run@juvia-helper.phusion.nl at now <<<'#{command}'"
+
puts "Initiating building of Debian packages"
- git_url = `git config remote.origin.url`.strip
command = "cd /srv/passenger_apt_automation && " +
"chpst -l /tmp/passenger_apt_automation.lock " +
"/tools/silence-unless-failed " +
Please sign in to comment.
Something went wrong with that request. Please try again.