vx-builder 0.5.59 → 0.5.60

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 69530684d24b4ed96ba8b958dc8e2c53590166f2
4
- data.tar.gz: f582ea7996ffc14d29167c3337c148630e5bc180
3
+ metadata.gz: 844421cc9984d1f8585cc4e9d910d8b584dea3b9
4
+ data.tar.gz: d75f133b2548c4b6a440271e0c810e6b9c69f12f
5
5
  SHA512:
6
- metadata.gz: f212b9ddc5c6a7561d12800fd041e3d14f3b9854763a0456b4c3d0f692ae6b1177dc8f79587402079d99d31772b2fe9e804fffe86e1e615c13bb3b37bbaea174
7
- data.tar.gz: ccbe0355c417e1f78552aa1a73c45d349c3662e04da533ece5bdc4f9740fca7501ee6b115e74655dfa798b99f2906529e3d32fbe50fa693cc024a0d1bb9af870
6
+ metadata.gz: 1590ec881a64403884258e8d67cdaaa24c9c25c3872f5350f13d452e1bbc301877c59fc6d9f696648388cbb3f6b402d7f5d072ebe9fc6372b36f150e21bb3cdc
7
+ data.tar.gz: 07e709814d992ad8682df55cb107bf4444e65a6778fa08760c6d1c2cba1541f9a075a0fe79912a6de34eef993e0133300b263143c1544a750a0aa6c3fd7b1310
@@ -34,7 +34,9 @@ module Vx
34
34
  gemfile
35
35
  services
36
36
  image
37
+
37
38
  bundler_args
39
+ pip_args
38
40
 
39
41
  before_install
40
42
  install
@@ -31,7 +31,11 @@ module Vx
31
31
  i.add_task "python", "announce"
32
32
 
33
33
  do_install(env) do
34
- i.add_task "python", "action" => "pip:install", "pip_args" => PIP_OPTS
34
+ pip_args = PIP_OPTS
35
+ if args = env.source.pip_args.first
36
+ pip_args = args
37
+ end
38
+ i.add_task "python", "action" => "pip:install", "pip_args" => pip_args
35
39
  end
36
40
  end
37
41
 
@@ -1,5 +1,5 @@
1
1
  module Vx
2
2
  module Builder
3
- VERSION = "0.5.59"
3
+ VERSION = "0.5.60"
4
4
  end
5
5
  end
@@ -22,22 +22,18 @@ mkdir -p ${VX_ROOT}/code/vexor/vx-test-repo
22
22
  chmod 0750 $(pwd)/bin/parallel_rspec
23
23
  (echo IyEvYmluL2Jhc2gKCmk9MApmaWxlcz0oKQoKQkxBQ0s9IlwwMzNbMzBtIgpSRUQ9IlwwMzNbMzFtIgpHUkVFTj0iXDAzM1szMm0iCllFTExPVz0iXDAzM1szM20iCkJMVUU9IlwwMzNbMzRtIgpQSU5LPSJcMDMzWzM1bSIKQ1lBTj0iXDAzM1szNm0iCldISVRFPSJcMDMzWzM3bSIKTk9STUFMPSJcMDMzWzA7MzltIgoKSk9CUz0ke0NJX1BBUkFMTEVMX0pPQlM6LTF9CkpPQl9OVU1CRVI9JHtDSV9QQVJBTExFTF9KT0JfTlVNQkVSOi0wfQoKZm9yIGZpbGUgaW4gJChmaW5kIC4vZmVhdHVyZXMgLW5hbWUgIiouZmVhdHVyZSIgfCBzb3J0KQpkbwogIGlmIFsgJCgoJGkgJSAkSk9CUykpIC1lcSAkSk9CX05VTUJFUiBdCiAgdGhlbgogICAgZmlsZXMrPSIgJGZpbGUiCiAgZmkKICAoKGkrKykpCmRvbmUKCmVjaG8gLWUgIiR7R1JFRU59UGFyYWxsZWwgcnVubmluZyAkKCgke0pPQl9OVU1CRVJ9ICsgMSkpIG9mICR7Sk9CU30gJHtOT1JNQUx9IgplY2hvICJidW5kbGUgZXhlYyBzcGluYWNoICRAICR7ZmlsZXNbQF19IgpleGVjIGJ1bmRsZSBleGVjIHNwaW5hY2ggJEAgJHtmaWxlc1tAXX0K | base64 --decode) > $(pwd)/bin/parallel_spinach
24
24
  chmod 0750 $(pwd)/bin/parallel_spinach
25
- (echo IyEvYmluL2Jhc2gKCnNldCAtZQoKIyBUT0RPOiByZW1vdmUgYWZ0ZXIgaW1hZ2UgdXBkYXRlZApkZWZhdWx0X2J1bmRsZT0iL29wdC92ZXhvci9wYWNrYWdlcy9ydWJ5LTEuOS4zLXA1NDcvYmluL2J1bmRsZSIKCnJ1Ynlf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WyAhIC1mIHNldHRpbmdzLnB5IF0gOyB0aGVuCiAgICBpZiBbIC1kICRhcHBfbmFtZS9zZXR0aW5ncyBdICYmCiAgICAgICBbIC1mICRhcHBfbmFtZS9zZXR0aW5ncy9kZXYucHkgXSAmJgogICAgICAgWyAhIC1mICRhcHBfbmFtZS9zZXR0aW5ncy9fX2luaXRfXy5weSBdOyB0aGVuCiAgICAgIGVjaG8gIiQgbG4gLXMgJGFwcF9uYW1lL3NldHRpbmdzL2Rldi5weSAkYXBwX25hbWUvc2V0dGluZ3MvX19pbml0X18ucHkiCiAgICAgIGxuIC1zICQocHdkKS8kYXBwX25hbWUvc2V0dGluZ3MvZGV2LnB5ICQocHdkKS8kYXBwX25hbWUvc2V0dGluZ3MvX19pbml0X18ucHkKICAgIGZpCiAgZmkKCiAgdHJ1ZQp9CgpjYXNlICIkMSIgaW4KICAicnVieTppbnN0YWxsIikKICAgIHJ1YnlfaW5zdGFsbCAkMgogICAgOzsKICAicnVieTpyYWlsczppbnN0YWxsIikKICAgIHJ1YnlfZ2VuX2RhdGFiYXNlX3NwZWNfZm9yX21vbmdvaWQgfHwgdHJ1ZQogICAgcnVieV9yYWlsc19zZXR1cAogICAgOzsKICAicHl0aG9uOmRqYW5nbzpzZXR0aW5ncyIpCiAgICBweXRob25fZGphbmdvX3NldHRpbmdzCiAgICA7OwogICopCiAgICBlY2hvICJVbmtub3duIGNvbW1hbmQgJEAiCiAgICBleGl0IDEKICAgIDs7CmVzYWMKCg== | base64 --decode) > $(pwd)/bin/vx_builder
26
26
  chmod 0750 $(pwd)/bin/vx_builder
27
+ echo "starting SSH Agent"
28
+ eval "$(ssh-agent)" > /dev/null
27
29
  (echo LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcEFJQkFBS0NBUUVBcE1rYW0rbWh3Q2RDUWRxdHU3VTlwNVZSRm1rcmJpOUhhQTN2YWdwaE12eXJ5V3F4CkM5c1krYW44akNOUlVwZWx5ako4ZjZiN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${VX_ROOT}/data/vexor/vx-test-repo/key
29
31
  export VX_PRIVATE_KEY=${VX_ROOT}/data/vexor/vx-test-repo/key
30
- (echo IyEvYmluL3NoCmV4ZWMgL3Vzci9iaW4vc3NoIC1BIC1vIExvZ0xldmVsPXF1aWV0IC1vIFN0cmljdEhvc3RLZXlDaGVja2luZz1ubyAtbyBVc2VyS25vd25Ib3N0c0ZpbGU9L2Rldi9udWxsIC1pICR7VlhfUk9PVH0vZGF0YS92ZXhvci92eC10ZXN0LXJlcG8va2V5ICRACg== | base64 --decode) > ${VX_ROOT}/data/vexor/vx-test-repo/git_ssh
31
- chmod 0750 ${VX_ROOT}/data/vexor/vx-test-repo/git_ssh
32
- export GIT_SSH=${VX_ROOT}/data/vexor/vx-test-repo/git_ssh
32
+ ssh-add $VX_PRIVATE_KEY 2> /dev/null
33
33
  echo "$ git clone --depth=50 --branch=test/pull-request git@github.com:vexor/vx-test-repo.git ${VX_ROOT}/code/vexor/vx-test-repo"
34
34
  git clone --depth=50 --branch=test/pull-request git@github.com:vexor/vx-test-repo.git ${VX_ROOT}/code/vexor/vx-test-repo
35
35
  echo "$ git checkout -qf 8f53c077072674972e21c82a286acc07fada91f5"
36
36
  ( cd ${VX_ROOT}/code/vexor/vx-test-repo && git checkout -qf 8f53c077072674972e21c82a286acc07fada91f5 ) || exit 1
37
- unset GIT_SSH
38
- echo "starting SSH Agent"
39
- eval "$(ssh-agent)" > /dev/null
40
- ssh-add $VX_PRIVATE_KEY 2> /dev/null
41
37
  cd ${VX_ROOT}/code/vexor/vx-test-repo
42
38
  echo "download latest version of vxvm"
43
39
  curl --tcp-nodelay --retry 3 --fail --silent --show-error -o $VX_ROOT/bin/vxvm https://raw.githubusercontent.com/vexor/vx-packages/master/vxvm
@@ -14,4 +14,4 @@ test -d ${VX_ROOT}/code/vexor/vx-test-repo || exit 1
14
14
  cd ${VX_ROOT}/code/vexor/vx-test-repo
15
15
 
16
16
  # after script
17
- test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher push http://example.com/test/pull-request/rvm-default-gemfile.tgz
17
+ test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher push http://localhost:3001/test/pull-request/rvm-default-gemfile.tgz
@@ -26,22 +26,18 @@ mkdir -p ${VX_ROOT}/code/vexor/vx-test-repo
26
26
  chmod 0750 $(pwd)/bin/parallel_rspec
27
27
  (echo IyEvYmluL2Jhc2gKCmk9MApmaWxlcz0oKQoKQkxBQ0s9IlwwMzNbMzBtIgpSRUQ9IlwwMzNbMzFtIgpHUkVFTj0iXDAzM1szMm0iCllFTExPVz0iXDAzM1szM20iCkJMVUU9IlwwMzNbMzRtIgpQSU5LPSJcMDMzWzM1bSIKQ1lBTj0iXDAzM1szNm0iCldISVRFPSJcMDMzWzM3bSIKTk9STUFMPSJcMDMzWzA7MzltIgoKSk9CUz0ke0NJX1BBUkFMTEVMX0pPQlM6LTF9CkpPQl9OVU1CRVI9JHtDSV9QQVJBTExFTF9KT0JfTlVNQkVSOi0wfQoKZm9yIGZpbGUgaW4gJChmaW5kIC4vZmVhdHVyZXMgLW5hbWUgIiouZmVhdHVyZSIgfCBzb3J0KQpkbwogIGlmIFsgJCgoJGkgJSAkSk9CUykpIC1lcSAkSk9CX05VTUJFUiBdCiAgdGhlbgogICAgZmlsZXMrPSIgJGZpbGUiCiAgZmkKICAoKGkrKykpCmRvbmUKCmVjaG8gLWUgIiR7R1JFRU59UGFyYWxsZWwgcnVubmluZyAkKCgke0pPQl9OVU1CRVJ9ICsgMSkpIG9mICR7Sk9CU30gJHtOT1JNQUx9IgplY2hvICJidW5kbGUgZXhlYyBzcGluYWNoICRAICR7ZmlsZXNbQF19IgpleGVjIGJ1bmRsZSBleGVjIHNwaW5hY2ggJEAgJHtmaWxlc1tAXX0K | base64 --decode) > $(pwd)/bin/parallel_spinach
28
28
  chmod 0750 $(pwd)/bin/parallel_spinach
29
- (echo IyEvYmluL2Jhc2gKCnNldCAtZQoKIyBUT0RPOiByZW1vd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ICAgdHJ1ZQogIGVsc2UKICAgIHRydWUKICBmaQp9CgpweXRob25fZGphbmdvX3NldHRpbmdzICgpIHsKICBsb2NhbCBhcHBfbmFtZT0kKGJhc2VuYW1lICQocHdkKSkKCiAgaWYgWyAhIC1mIHNldHRpbmdzLnB5IF0gOyB0aGVuCiAgICBpZiBbIC1kICRhcHBfbmFtZS9zZXR0aW5ncyBdICYmCiAgICAgICBbIC1mICRhcHBfbmFtZS9zZXR0aW5ncy9kZXYucHkgXSAmJgogICAgICAgWyAhIC1mICRhcHBfbmFtZS9zZXR0aW5ncy9fX2luaXRfXy5weSBdOyB0aGVuCiAgICAgIGVjaG8gIiQgbG4gLXMgJGFwcF9uYW1lL3NldHRpbmdzL2Rldi5weSAkYXBwX25hbWUvc2V0dGluZ3MvX19pbml0X18ucHkiCiAgICAgIGxuIC1zICQocHdkKS8kYXBwX25hbWUvc2V0dGluZ3MvZGV2LnB5ICQocHdkKS8kYXBwX25hbWUvc2V0dGluZ3MvX19pbml0X18ucHkKICAgIGZpCiAgZmkKCiAgdHJ1ZQp9CgpjYXNlICIkMSIgaW4KICAicnVieTppbnN0YWxsIikKICAgIHJ1YnlfaW5zdGFsbCAkMgogICAgOzsKICAicnVieTpyYWlsczppbnN0YWxsIikKICAgIHJ1YnlfZ2VuX2RhdGFiYXNlX3NwZWNfZm9yX21vbmdvaWQgfHwgdHJ1ZQogICAgcnVieV9yYWlsc19zZXR1cAogICAgOzsKICAicHl0aG9uOmRqYW5nbzpzZXR0aW5ncyIpCiAgICBweXRob25fZGphbmdvX3NldHRpbmdzCiAgICA7OwogICopCiAgICBlY2hvICJVbmtub3duIGNvbW1hbmQgJEAiCiAgICBleGl0IDEKICAgIDs7CmVzYWMKCg== | base64 --decode) > $(pwd)/bin/vx_builder
30
30
  chmod 0750 $(pwd)/bin/vx_builder
31
+ echo "starting SSH Agent"
32
+ eval "$(ssh-agent)" > /dev/null
31
33
  (echo LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRV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NadW1MMGF3WDdyaUM0RHpJazZaWllSZGJuYlE9PQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo= | base64 --decode) > ${VX_ROOT}/data/vexor/vx-test-repo/key
32
34
  chmod 0600 ${VX_ROOT}/data/vexor/vx-test-repo/key
33
35
  export VX_PRIVATE_KEY=${VX_ROOT}/data/vexor/vx-test-repo/key
34
- (echo IyEvYmluL3NoCmV4ZWMgL3Vzci9iaW4vc3NoIC1BIC1vIExvZ0xldmVsPXF1aWV0IC1vIFN0cmljdEhvc3RLZXlDaGVja2luZz1ubyAtbyBVc2VyS25vd25Ib3N0c0ZpbGU9L2Rldi9udWxsIC1pICR7VlhfUk9PVH0vZGF0YS92ZXhvci92eC10ZXN0LXJlcG8va2V5ICRACg== | base64 --decode) > ${VX_ROOT}/data/vexor/vx-test-repo/git_ssh
35
- chmod 0750 ${VX_ROOT}/data/vexor/vx-test-repo/git_ssh
36
- export GIT_SSH=${VX_ROOT}/data/vexor/vx-test-repo/git_ssh
36
+ ssh-add $VX_PRIVATE_KEY 2> /dev/null
37
37
  echo "$ git clone --depth=50 --branch=test/pull-request git@github.com:vexor/vx-test-repo.git ${VX_ROOT}/code/vexor/vx-test-repo"
38
38
  git clone --depth=50 --branch=test/pull-request git@github.com:vexor/vx-test-repo.git ${VX_ROOT}/code/vexor/vx-test-repo
39
39
  echo "$ git checkout -qf 8f53c077072674972e21c82a286acc07fada91f5"
40
40
  ( cd ${VX_ROOT}/code/vexor/vx-test-repo && git checkout -qf 8f53c077072674972e21c82a286acc07fada91f5 ) || exit 1
41
- unset GIT_SSH
42
- echo "starting SSH Agent"
43
- eval "$(ssh-agent)" > /dev/null
44
- ssh-add $VX_PRIVATE_KEY 2> /dev/null
45
41
  cd ${VX_ROOT}/code/vexor/vx-test-repo
46
42
  echo "download latest version of vxvm"
47
43
  curl --tcp-nodelay --retry 3 --fail --silent --show-error -o $VX_ROOT/bin/vxvm https://raw.githubusercontent.com/vexor/vx-packages/master/vxvm
@@ -54,8 +50,8 @@ echo \$\ export\ BUNDLE_GEMFILE\=\$\{PWD\}/Gemfile
54
50
  export BUNDLE_GEMFILE=${PWD}/Gemfile
55
51
  echo \$\ export\ GEM_HOME\=\~/.rubygems
56
52
  export GEM_HOME=~/.rubygems
57
- export CASHER_DIR=$HOME/.casher && ( mkdir -p $CASHER_DIR/bin && /usr/bin/curl https://raw2.github.com/dima-exe/casher/master/bin/casher --tcp-nodelay --retry 3 --fail --silent --show-error -o $HOME/.casher/bin/casher && chmod +x $HOME/.casher/bin/casher ) || true
58
- test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher fetch http://example.com/test/pull-request/rvm-default-gemfile.tgz http://example.com/master/rvm-default-gemfile.tgz || true
53
+ export CASHER_DIR=$HOME/.casher && ( mkdir -p $CASHER_DIR/bin && /usr/bin/curl https://raw.githubusercontent.com/dima-exe/casher/master/bin/casher --tcp-nodelay --retry 3 --fail --silent --show-error -o $HOME/.casher/bin/casher && chmod +x $HOME/.casher/bin/casher ) || true
54
+ test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher fetch http://localhost:3001/test/pull-request/rvm-default-gemfile.tgz http://localhost:3001/master/rvm-default-gemfile.tgz || true
59
55
  test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher add ~/.rubygems || true
60
56
  unset CASHER_DIR
61
57
 
@@ -14,4 +14,4 @@ test -d ${VX_ROOT}/code/vexor/vx-test-repo || exit 1
14
14
  cd ${VX_ROOT}/code/vexor/vx-test-repo
15
15
 
16
16
  # after script
17
- test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher push http://example.com/test/pull-request/rvm-default-gemfile.tgz
17
+ test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher push http://localhost:3001/test/pull-request/rvm-default-gemfile.tgz
@@ -22,22 +22,18 @@ mkdir -p ${VX_ROOT}/code/vexor/vx-test-repo
22
22
  chmod 0750 $(pwd)/bin/parall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ZXR0aW5ncyBdICYmCiAgICAgICBbIC1mICRhcHBfbmFtZS9zZXR0aW5ncy9kZXYucHkgXSAmJgogICAgICAgWyAhIC1mICRhcHBfbmFtZS9zZXR0aW5ncy9fX2luaXRfXy5weSBdOyB0aGVuCiAgICAgIGVjaG8gIiQgbG4gLXMgJGFwcF9uYW1lL3NldHRpbmdzL2Rldi5weSAkYXBwX25hbWUvc2V0dGluZ3MvX19pbml0X18ucHkiCiAgICAgIGxuIC1zICQocHdkKS8kYXBwX25hbWUvc2V0dGluZ3MvZGV2LnB5ICQocHdkKS8kYXBwX25hbWUvc2V0dGluZ3MvX19pbml0X18ucHkKICAgIGZpCiAgZmkKCiAgdHJ1ZQp9CgpjYXNlICIkMSIgaW4KICAicnVieTppbnN0YWxsIikKICAgIHJ1YnlfaW5zdGFsbCAkMgogICAgOzsKICAicnVieTpyYWlsczppbnN0YWxsIikKICAgIHJ1YnlfZ2VuX2RhdGFiYXNlX3NwZWNfZm9yX21vbmdvaWQgfHwgdHJ1ZQogICAgcnVieV9yYWlsc19zZXR1cAogICAgOzsKICAicHl0aG9uOmRqYW5nbzpzZXR0aW5ncyIpCiAgICBweXRob25fZGphbmdvX3NldHRpbmdzCiAgICA7OwogICopCiAgICBlY2hvICJVbmtub3duIGNvbW1hbmQgJEAiCiAgICBleGl0IDEKICAgIDs7CmVzYWMKCg== | base64 --decode) > $(pwd)/bin/vx_builder
26
26
  chmod 0750 $(pwd)/bin/vx_builder
27
+ echo "starting SSH Agent"
28
+ eval "$(ssh-agent)" > /dev/null
27
29
  (echo LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcEFJQkFBS0NBUUVBcE1rYW0rbWh3Q2RDUWRxdHU3VTlwNVZSRm1rcmJpOUhhQTN2YWdwaE12eXJ5V3F4CkM5c1krYW44akNOUlVwZWx5ako4ZjZiNi9WNWg0V2NubHdwT3ZWR0duczRIT2JuWWo4OUdLb0JGK1FwVDI4bXAKQ01pMGt6SE5T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test-repo/key
30
- (echo IyEvYmluL3NoCmV4ZWMgL3Vzci9iaW4vc3NoIC1BIC1vIExvZ0xldmVsPXF1aWV0IC1vIFN0cmljdEhvc3RLZXlDaGVja2luZz1ubyAtbyBVc2VyS25vd25Ib3N0c0ZpbGU9L2Rldi9udWxsIC1pICR7VlhfUk9PVH0vZGF0YS92ZXhvci92eC10ZXN0LXJlcG8va2V5ICRACg== | base64 --decode) > ${VX_ROOT}/data/vexor/vx-test-repo/git_ssh
31
- chmod 0750 ${VX_ROOT}/data/vexor/vx-test-repo/git_ssh
32
- export GIT_SSH=${VX_ROOT}/data/vexor/vx-test-repo/git_ssh
32
+ ssh-add $VX_PRIVATE_KEY 2> /dev/null
33
33
  echo "$ git clone --depth=50 --branch=test/pull-request git@github.com:vexor/vx-test-repo.git ${VX_ROOT}/code/vexor/vx-test-repo"
34
34
  git clone --depth=50 --branch=test/pull-request git@github.com:vexor/vx-test-repo.git ${VX_ROOT}/code/vexor/vx-test-repo
35
35
  echo "$ git checkout -qf 8f53c077072674972e21c82a286acc07fada91f5"
36
36
  ( cd ${VX_ROOT}/code/vexor/vx-test-repo && git checkout -qf 8f53c077072674972e21c82a286acc07fada91f5 ) || exit 1
37
- unset GIT_SSH
38
- echo "starting SSH Agent"
39
- eval "$(ssh-agent)" > /dev/null
40
- ssh-add $VX_PRIVATE_KEY 2> /dev/null
41
37
  cd ${VX_ROOT}/code/vexor/vx-test-repo
42
38
  echo "download latest version of vxvm"
43
39
  curl --tcp-nodelay --retry 3 --fail --silent --show-error -o $VX_ROOT/bin/vxvm https://raw.githubusercontent.com/vexor/vx-packages/master/vxvm
@@ -50,8 +46,8 @@ echo \$\ export\ BUNDLE_GEMFILE\=\$\{PWD\}/Gemfile
50
46
  export BUNDLE_GEMFILE=${PWD}/Gemfile
51
47
  echo \$\ export\ GEM_HOME\=\~/.rubygems
52
48
  export GEM_HOME=~/.rubygems
53
- export CASHER_DIR=$HOME/.casher && ( mkdir -p $CASHER_DIR/bin && /usr/bin/curl https://raw2.github.com/dima-exe/casher/master/bin/casher --tcp-nodelay --retry 3 --fail --silent --show-error -o $HOME/.casher/bin/casher && chmod +x $HOME/.casher/bin/casher ) || true
54
- test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher fetch http://example.com/test/pull-request/rvm-default-gemfile.tgz http://example.com/master/rvm-default-gemfile.tgz || true
49
+ export CASHER_DIR=$HOME/.casher && ( mkdir -p $CASHER_DIR/bin && /usr/bin/curl https://raw.githubusercontent.com/dima-exe/casher/master/bin/casher --tcp-nodelay --retry 3 --fail --silent --show-error -o $HOME/.casher/bin/casher && chmod +x $HOME/.casher/bin/casher ) || true
50
+ test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher fetch http://localhost:3001/test/pull-request/rvm-default-gemfile.tgz http://localhost:3001/master/rvm-default-gemfile.tgz || true
55
51
  test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher add ~/.rubygems || true
56
52
  unset CASHER_DIR
57
53
 
@@ -14,4 +14,4 @@ test -d ${VX_ROOT}/code/vexor/vx-test-repo || exit 1
14
14
  cd ${VX_ROOT}/code/vexor/vx-test-repo
15
15
 
16
16
  # after script
17
- test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher push http://example.com/test/pull-request/rvm-1.9.3-gemfile.tgz
17
+ test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher push http://localhost:3001/test/pull-request/rvm-1.9.3-gemfile.tgz
@@ -22,22 +22,18 @@ mkdir -p ${VX_ROOT}/code/vexor/vx-test-repo
22
22
  chmod 0750 $(pwd)/bin/parallel_rspec
23
23
  (echo IyEvYmluL2Jhc2gKCmk9MApmaWxlcz0oKQoKQkxBQ0s9IlwwMzNbMzBtIgpSRUQ9IlwwMzNbMzFtIgpHUkVFTj0iXDAzM1szMm0iCllFTExPVz0iXDAzM1szM20iCkJMVUU9IlwwMzNbMzRtIgpQSU5LPSJcMDMzWzM1bSIKQ1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dzL2Rldi5weSAkYXBwX25hbWUvc2V0dGluZ3MvX19pbml0X18ucHkiCiAgICAgIGxuIC1zICQocHdkKS8kYXBwX25hbWUvc2V0dGluZ3MvZGV2LnB5ICQocHdkKS8kYXBwX25hbWUvc2V0dGluZ3MvX19pbml0X18ucHkKICAgIGZpCiAgZmkKCiAgdHJ1ZQp9CgpjYXNlICIkMSIgaW4KICAicnVieTppbnN0YWxsIikKICAgIHJ1YnlfaW5zdGFsbCAkMgogICAgOzsKICAicnVieTpyYWlsczppbnN0YWxsIikKICAgIHJ1YnlfZ2VuX2RhdGFiYXNlX3NwZWNfZm9yX21vbmdvaWQgfHwgdHJ1ZQogICAgcnVieV9yYWlsc19zZXR1cAogICAgOzsKICAicHl0aG9uOmRqYW5nbzpzZXR0aW5ncyIpCiAgICBweXRob25fZGphbmdvX3NldHRpbmdzCiAgICA7OwogICopCiAgICBlY2hvICJVbmtub3duIGNvbW1hbmQgJEAiCiAgICBleGl0IDEKICAgIDs7CmVzYWMKCg== | base64 --decode) > $(pwd)/bin/vx_builder
26
26
  chmod 0750 $(pwd)/bin/vx_builder
27
+ echo "starting SSH Agent"
28
+ eval "$(ssh-agent)" > /dev/null
27
29
  (echo LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcEFJQkFBS0NBUUVBcE1rYW0rbWh3Q2RDUWRxdHU3VTlwNVZSRm1rcmJpOUhhQTN2YWdwaE12eXJ5V3F4CkM5c1krYW44akNOUlVwZWx5ako4ZjZiNi9WNWg0V2NubHdwT3ZWR0duczRIT2JuWWo4OUdLb0JGK1FwVDI4bXAKQ01pMGt6SE5TV01SWmcvZDl4M0FmMmNESWdKaGdHS2RLTGhPYitTSjJpUnpLQTZ5d215TlRyVUI0dEpocGdKLwpQQTFsR2xZWGtHYWQyS1JBZmc3bVRjdVFycUxKNHFpMlhkZ0FIY3RJU045d1VkYkUxeDVIRlB5enVrd0t1QkFFCmg3bTZWVnJKenNrS05yQnN1T1ZTWn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nWUI2ODhyTWs3Mmp2cEU4UkpMcERSWTIKbkg4NjVVTWJjSHNBSWw0ZWQrRElWMFlGMVpMRDBReVN5WXl5V0FteWUxcmVHUjdhbkVudnpCN05GZE0wcm9DOApNNXBWL3FlTW1kcWY0UmJEN280NXBzRGlEcXJ1TStaQnhzOFJHRzh1RStxeE5hd05oNTlxS25xOEVDRVhjaWpOClNLR0VFTE1halNTdkg5ZFp3QlFaWXdLQmdRQ2NCaGlJOWJzRjJVWm04WU10RW0zSVhFLzhIbi92R1gxcmU4V1kKclM0WkhxYjEwYkw4cG8rM3k3U2FmSUkzbjNkTWdsZVdHWWJMZExPbnNDOWFmRXBEUGhBTmc2Z3R5VEhBbi92Uwp5WFMrVWpQYkZ4RUE3MThKUlVoZG5mU3g4bXBERjMySVVCUTJBV1FJT3hrcDFhSDVwZ1luK0pDcTRScFd4MzJZCm1xWUZLUUtCZ1FDYkVzdllsZmVXSkRpK0NCSCt6aGZrZldJWTlTaXl1SEVVUWE0aE5iYVMvRGtETWdxTjU4Q3UKOGdYR1NmdEVpVGNMYXQwYTBQNnZlYWNnUEt1aEFIZTFLN2g4NCtSMHJFL2N2MVFUQnBXMzhSUWdhYkxzK2V4eQpqeUY1UjFOSEkvTFhzREJOYWlSMDVzclhkaVNadW1MMGF3WDdyaUM0RHpJazZaWllSZGJuYlE9PQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo= | base64 --decode) > ${VX_ROOT}/data/vexor/vx-test-repo/key
28
30
  chmod 0600 ${VX_ROOT}/data/vexor/vx-test-repo/key
29
31
  export VX_PRIVATE_KEY=${VX_ROOT}/data/vexor/vx-test-repo/key
30
- (echo IyEvYmluL3NoCmV4ZWMgL3Vzci9iaW4vc3NoIC1BIC1vIExvZ0xldmVsPXF1aWV0IC1vIFN0cmljdEhvc3RLZXlDaGVja2luZz1ubyAtbyBVc2VyS25vd25Ib3N0c0ZpbGU9L2Rldi9udWxsIC1pICR7VlhfUk9PVH0vZGF0YS92ZXhvci92eC10ZXN0LXJlcG8va2V5ICRACg== | base64 --decode) > ${VX_ROOT}/data/vexor/vx-test-repo/git_ssh
31
- chmod 0750 ${VX_ROOT}/data/vexor/vx-test-repo/git_ssh
32
- export GIT_SSH=${VX_ROOT}/data/vexor/vx-test-repo/git_ssh
32
+ ssh-add $VX_PRIVATE_KEY 2> /dev/null
33
33
  echo "$ git clone --depth=50 --branch=test/pull-request git@github.com:vexor/vx-test-repo.git ${VX_ROOT}/code/vexor/vx-test-repo"
34
34
  git clone --depth=50 --branch=test/pull-request git@github.com:vexor/vx-test-repo.git ${VX_ROOT}/code/vexor/vx-test-repo
35
35
  echo "$ git checkout -qf 8f53c077072674972e21c82a286acc07fada91f5"
36
36
  ( cd ${VX_ROOT}/code/vexor/vx-test-repo && git checkout -qf 8f53c077072674972e21c82a286acc07fada91f5 ) || exit 1
37
- unset GIT_SSH
38
- echo "starting SSH Agent"
39
- eval "$(ssh-agent)" > /dev/null
40
- ssh-add $VX_PRIVATE_KEY 2> /dev/null
41
37
  cd ${VX_ROOT}/code/vexor/vx-test-repo
42
38
  echo "download latest version of vxvm"
43
39
  curl --tcp-nodelay --retry 3 --fail --silent --show-error -o $VX_ROOT/bin/vxvm https://raw.githubusercontent.com/vexor/vx-packages/master/vxvm
@@ -50,8 +46,8 @@ echo \$\ export\ BUNDLE_GEMFILE\=\$\{PWD\}/Gemfile
50
46
  export BUNDLE_GEMFILE=${PWD}/Gemfile
51
47
  echo \$\ export\ GEM_HOME\=\~/.rubygems
52
48
  export GEM_HOME=~/.rubygems
53
- export CASHER_DIR=$HOME/.casher && ( mkdir -p $CASHER_DIR/bin && /usr/bin/curl https://raw2.github.com/dima-exe/casher/master/bin/casher --tcp-nodelay --retry 3 --fail --silent --show-error -o $HOME/.casher/bin/casher && chmod +x $HOME/.casher/bin/casher ) || true
54
- test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher fetch http://example.com/test/pull-request/rvm-1.9.3-gemfile.tgz http://example.com/master/rvm-1.9.3-gemfile.tgz || true
49
+ export CASHER_DIR=$HOME/.casher && ( mkdir -p $CASHER_DIR/bin && /usr/bin/curl https://raw.githubusercontent.com/dima-exe/casher/master/bin/casher --tcp-nodelay --retry 3 --fail --silent --show-error -o $HOME/.casher/bin/casher && chmod +x $HOME/.casher/bin/casher ) || true
50
+ test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher fetch http://localhost:3001/test/pull-request/rvm-1.9.3-gemfile.tgz http://localhost:3001/master/rvm-1.9.3-gemfile.tgz || true
55
51
  test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher add ~/.rubygems || true
56
52
  unset CASHER_DIR
57
53
 
@@ -14,4 +14,4 @@ test -d ${VX_ROOT}/code/vexor/vx-test-repo || exit 1
14
14
  cd ${VX_ROOT}/code/vexor/vx-test-repo
15
15
 
16
16
  # after script
17
- test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher push http://example.com/test/pull-request/rvm-2.0.0-gemfile.tgz
17
+ test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher push http://localhost:3001/test/pull-request/rvm-2.0.0-gemfile.tgz
@@ -22,22 +22,18 @@ mkdir -p ${VX_ROOT}/code/vexor/vx-test-repo
22
22
  chmod 0750 $(pwd)/bin/parallel_rspec
23
23
  (echo IyEvYmluL2Jhc2gKCmk9MApmaWxlcz0oKQoKQkxBQ0s9IlwwMzNbMzBtIgpSRUQ9IlwwMzNbMzFtIgpHUkVFTj0iXDAzM1szMm0iCllFTExPVz0iXDAzM1szM20iCkJMVUU9IlwwMzNbMzRtIgpQSU5LPSJcMDMzWzM1bSIKQ1lBTj0iXDAzM1szNm0iCldISVRFPSJcMDMzWzM3bSIKTk9STUFMPSJcMDMzWzA7MzltIgoKSk9CUz0ke0NJX1BBUkFMTEVMX0pPQlM6LTF9CkpPQl9OVU1CRVI9JHtDSV9QQVJBTExFTF9KT0JfTlVNQkVSOi0wfQoKZm9yIGZpb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kKCiAgdHJ1ZQp9CgpjYXNlICIkMSIgaW4KICAicnVieTppbnN0YWxsIikKICAgIHJ1YnlfaW5zdGFsbCAkMgogICAgOzsKICAicnVieTpyYWlsczppbnN0YWxsIikKICAgIHJ1YnlfZ2VuX2RhdGFiYXNlX3NwZWNfZm9yX21vbmdvaWQgfHwgdHJ1ZQogICAgcnVieV9yYWlsc19zZXR1cAogICAgOzsKICAicHl0aG9uOmRqYW5nbzpzZXR0aW5ncyIpCiAgICBweXRob25fZGphbmdvX3NldHRpbmdzCiAgICA7OwogICopCiAgICBlY2hvICJVbmtub3duIGNvbW1hbmQgJEAiCiAgICBleGl0IDEKICAgIDs7CmVzYWMKCg== | base64 --decode) > $(pwd)/bin/vx_builder
26
26
  chmod 0750 $(pwd)/bin/vx_builder
27
+ echo "starting SSH Agent"
28
+ eval "$(ssh-agent)" > /dev/null
27
29
  (echo LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcEFJQkFBS0NBUUVBcE1rYW0rbWh3Q2RDUWRxdHU3VTlwNVZSRm1rcmJpOUhhQTN2YWdwaE12eXJ5V3F4CkM5c1krYW44akNOUlVwZWx5ako4ZjZiNi9WNWg0V2NubHdwT3ZWR0duczRIT2JuWWo4OUdLb0JGK1FwVDI4bXAKQ01pMGt6SE5TV01SWmcvZDl4M0FmMmNESWdKaGdHS2RLTGhPYitTSjJpUnpLQTZ5d215TlRyVUI0dEpocGdKLwpQQTFsR2xZWGtHYWQyS1JBZmc3bVRjdVFycUxKNHFpMlhkZ0FIY3RJU045d1VkYkUxeDVIRlB5enVrd0t1QkFFCmg3bTZWVnJKenNrS05yQnN1T1ZTWnVRNnJ2OVRpcVdYVnBBWGdyV3ZLenRsZjNTTkF0dG1BQmI1ZDJ1UE9hMisKcmVDV0V6SGJXT0ZnTVFEUXNYc1MzcnFDM2Z6dzRWTUtSUXdYSVFJREFRQUJBb0lCQURnWk9wVFBrY0JmM1IrYwpPYjhJY1lmbXZtYzV3ST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1RStxeE5hd05oNTlxS25xOEVDRVhjaWpOClNLR0VFTE1halNTdkg5ZFp3QlFaWXdLQmdRQ2NCaGlJOWJzRjJVWm04WU10RW0zSVhFLzhIbi92R1gxcmU4V1kKclM0WkhxYjEwYkw4cG8rM3k3U2FmSUkzbjNkTWdsZVdHWWJMZExPbnNDOWFmRXBEUGhBTmc2Z3R5VEhBbi92Uwp5WFMrVWpQYkZ4RUE3MThKUlVoZG5mU3g4bXBERjMySVVCUTJBV1FJT3hrcDFhSDVwZ1luK0pDcTRScFd4MzJZCm1xWUZLUUtCZ1FDYkVzdllsZmVXSkRpK0NCSCt6aGZrZldJWTlTaXl1SEVVUWE0aE5iYVMvRGtETWdxTjU4Q3UKOGdYR1NmdEVpVGNMYXQwYTBQNnZlYWNnUEt1aEFIZTFLN2g4NCtSMHJFL2N2MVFUQnBXMzhSUWdhYkxzK2V4eQpqeUY1UjFOSEkvTFhzREJOYWlSMDVzclhkaVNadW1MMGF3WDdyaUM0RHpJazZaWllSZGJuYlE9PQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo= | base64 --decode) > ${VX_ROOT}/data/vexor/vx-test-repo/key
28
30
  chmod 0600 ${VX_ROOT}/data/vexor/vx-test-repo/key
29
31
  export VX_PRIVATE_KEY=${VX_ROOT}/data/vexor/vx-test-repo/key
30
- (echo IyEvYmluL3NoCmV4ZWMgL3Vzci9iaW4vc3NoIC1BIC1vIExvZ0xldmVsPXF1aWV0IC1vIFN0cmljdEhvc3RLZXlDaGVja2luZz1ubyAtbyBVc2VyS25vd25Ib3N0c0ZpbGU9L2Rldi9udWxsIC1pICR7VlhfUk9PVH0vZGF0YS92ZXhvci92eC10ZXN0LXJlcG8va2V5ICRACg== | base64 --decode) > ${VX_ROOT}/data/vexor/vx-test-repo/git_ssh
31
- chmod 0750 ${VX_ROOT}/data/vexor/vx-test-repo/git_ssh
32
- export GIT_SSH=${VX_ROOT}/data/vexor/vx-test-repo/git_ssh
32
+ ssh-add $VX_PRIVATE_KEY 2> /dev/null
33
33
  echo "$ git clone --depth=50 --branch=test/pull-request git@github.com:vexor/vx-test-repo.git ${VX_ROOT}/code/vexor/vx-test-repo"
34
34
  git clone --depth=50 --branch=test/pull-request git@github.com:vexor/vx-test-repo.git ${VX_ROOT}/code/vexor/vx-test-repo
35
35
  echo "$ git checkout -qf 8f53c077072674972e21c82a286acc07fada91f5"
36
36
  ( cd ${VX_ROOT}/code/vexor/vx-test-repo && git checkout -qf 8f53c077072674972e21c82a286acc07fada91f5 ) || exit 1
37
- unset GIT_SSH
38
- echo "starting SSH Agent"
39
- eval "$(ssh-agent)" > /dev/null
40
- ssh-add $VX_PRIVATE_KEY 2> /dev/null
41
37
  cd ${VX_ROOT}/code/vexor/vx-test-repo
42
38
  echo "download latest version of vxvm"
43
39
  curl --tcp-nodelay --retry 3 --fail --silent --show-error -o $VX_ROOT/bin/vxvm https://raw.githubusercontent.com/vexor/vx-packages/master/vxvm
@@ -50,8 +46,8 @@ echo \$\ export\ BUNDLE_GEMFILE\=\$\{PWD\}/Gemfile
50
46
  export BUNDLE_GEMFILE=${PWD}/Gemfile
51
47
  echo \$\ export\ GEM_HOME\=\~/.rubygems
52
48
  export GEM_HOME=~/.rubygems
53
- export CASHER_DIR=$HOME/.casher && ( mkdir -p $CASHER_DIR/bin && /usr/bin/curl https://raw2.github.com/dima-exe/casher/master/bin/casher --tcp-nodelay --retry 3 --fail --silent --show-error -o $HOME/.casher/bin/casher && chmod +x $HOME/.casher/bin/casher ) || true
54
- test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher fetch http://example.com/test/pull-request/rvm-2.0.0-gemfile.tgz http://example.com/master/rvm-2.0.0-gemfile.tgz || true
49
+ export CASHER_DIR=$HOME/.casher && ( mkdir -p $CASHER_DIR/bin && /usr/bin/curl https://raw.githubusercontent.com/dima-exe/casher/master/bin/casher --tcp-nodelay --retry 3 --fail --silent --show-error -o $HOME/.casher/bin/casher && chmod +x $HOME/.casher/bin/casher ) || true
50
+ test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher fetch http://localhost:3001/test/pull-request/rvm-2.0.0-gemfile.tgz http://localhost:3001/master/rvm-2.0.0-gemfile.tgz || true
55
51
  test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher add ~/.rubygems || true
56
52
  unset CASHER_DIR
57
53
 
@@ -22,22 +22,18 @@ mkdir -p ${VX_ROOT}/code/vexor/vx-test-repo
22
22
  chmod 0750 $(pwd)/bin/parallel_rspec
23
23
  (echo IyEvYmluL2Jhc2gKCmk9MApmaWxlcz0oKQoKQkxBQ0s9IlwwMzNbMzBtIgpSRUQ9IlwwMzNbMzFtIgpHUkVFTj0iXDAzM1szMm0iCllFTExPVz0iXDAzM1szM20iCkJMVUU9IlwwMzNbMzRtIgpQSU5LPSJcMDMzWzM1bSIKQ1lBTj0iXDAzM1szNm0iCldISVRFPSJcMDMzWzM3bSIKTk9STUFMPSJcMDMzWzA7MzltIgoKSk9CUz0ke0NJX1BBUkFMTEVMX0pPQlM6LTF9CkpPQl9OVU1CRVI9JHtDSV9QQVJBTExFTF9KT0JfTlVNQkVSOi0wfQoKZm9yIGZpbGUgaW4gJChmaW5kIC4vZmVhdHVyZXMgLW5hbWUgIiouZmVhdHVyZSIgfCBzb3J0KQpkbwogIGlmIFsgJCgoJGkgJSAkSk9CUykpIC1lcSAkSk9CX05VTUJFUiBdCiAgdGhlbgogICAgZmlsZXMrPSIgJGZpbGUiCiAgZmkKICAoKGkrKykpCmRvbmUKCmVjaG8gLWUgIiR7R1JFRU59UGFyYWxsZWwgcnVubmluZyAkKCgke0pPQl9OVU1CRVJ9ICsgMSkpIG9mICR7Sk9CU30gJHtOT1JNQUx9IgplY2hvICJidW5kbGUgZXhlYyBzcGluYWNoICRAICR7ZmlsZXNbQF19IgpleGVjIGJ1bmRsZSBleGVjIHNwaW5hY2ggJEAgJHtmaWxlc1tAXX0K | base64 --decode) > $(pwd)/bin/parallel_spinach
24
24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9zcGVjX2Zvcl9zcWxpdGUKICAgICkgJiYgKAogICAgICBydWJ5X3JhaWxzX2RiX2NyZWF0ZQogICAgKQogICAgdHJ1ZQogIGVsc2UKICAgIHRydWUKICBmaQp9CgpweXRob25fZGphbmdvX3NldHRpbmdzICgpIHsKICBsb2NhbCBhcHBfbmFtZT0kKGJhc2VuYW1lICQocHdkKSkKCiAgaWYgWyAhIC1mIHNldHRpbmdzLnB5IF0gOyB0aGVuCiAgICBpZiBbIC1kICRhcHBfbmFtZS9zZXR0aW5ncyBdICYmCiAgICAgICBbIC1mICRhcHBfbmFtZS9zZXR0aW5ncy9kZXYucHkgXSAmJgogICAgICAgWyAhIC1mICRhcHBfbmFtZS9zZXR0aW5ncy9fX2luaXRfXy5weSBdOyB0aGVuCiAgICAgIGVjaG8gIiQgbG4gLXMgJGFwcF9uYW1lL3NldHRpbmdzL2Rldi5weSAkYXBwX25hbWUvc2V0dGluZ3MvX19pbml0X18ucHkiCiAgICAgIGxuIC1zICQocHdkKS8kYXBwX25hbWUvc2V0dGluZ3MvZGV2LnB5ICQocHdkKS8kYXBwX25hbWUvc2V0dGluZ3MvX19pbml0X18ucHkKICAgIGZpCiAgZmkKCiAgdHJ1ZQp9CgpjYXNlICIkMSIgaW4KICAicnVieTppbnN0YWxsIikKICAgIHJ1YnlfaW5zdGFsbCAkMgogICAgOzsKICAicnVieTpyYWlsczppbnN0YWxsIikKICAgIHJ1YnlfZ2VuX2RhdGFiYXNlX3NwZWNfZm9yX21vbmdvaWQgfHwgdHJ1ZQogICAgcnVieV9yYWlsc19zZXR1cAogICAgOzsKICAicHl0aG9uOmRqYW5nbzpzZXR0aW5ncyIpCiAgICBweXRob25fZGphbmdvX3NldHRpbmdzCiAgICA7OwogICopCiAgICBlY2hvICJVbmtub3duIGNvbW1hbmQgJEAiCiAgICBleGl0IDEKICAgIDs7CmVzYWMKCg== | base64 --decode) > $(pwd)/bin/vx_builder
26
26
  chmod 0750 $(pwd)/bin/vx_builder
27
+ echo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N2g4NCtSMHJFL2N2MVFUQnBXMzhSUWdhYkxzK2V4eQpqeUY1UjFOSEkvTFhzREJOYWlSMDVzclhkaVNadW1MMGF3WDdyaUM0RHpJazZaWllSZGJuYlE9PQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo= | base64 --decode) > ${VX_ROOT}/data/vexor/vx-test-repo/key
28
30
  chmod 0600 ${VX_ROOT}/data/vexor/vx-test-repo/key
29
31
  export VX_PRIVATE_KEY=${VX_ROOT}/data/vexor/vx-test-repo/key
30
- (echo IyEvYmluL3NoCmV4ZWMgL3Vzci9iaW4vc3NoIC1BIC1vIExvZ0xldmVsPXF1aWV0IC1vIFN0cmljdEhvc3RLZXlDaGVja2luZz1ubyAtbyBVc2VyS25vd25Ib3N0c0ZpbGU9L2Rldi9udWxsIC1pICR7VlhfUk9PVH0vZGF0YS92ZXhvci92eC10ZXN0LXJlcG8va2V5ICRACg== | base64 --decode) > ${VX_ROOT}/data/vexor/vx-test-repo/git_ssh
31
- chmod 0750 ${VX_ROOT}/data/vexor/vx-test-repo/git_ssh
32
- export GIT_SSH=${VX_ROOT}/data/vexor/vx-test-repo/git_ssh
32
+ ssh-add $VX_PRIVATE_KEY 2> /dev/null
33
33
  echo "$ git clone --depth=50 --branch=test/pull-request git@github.com:vexor/vx-test-repo.git ${VX_ROOT}/code/vexor/vx-test-repo"
34
34
  git clone --depth=50 --branch=test/pull-request git@github.com:vexor/vx-test-repo.git ${VX_ROOT}/code/vexor/vx-test-repo
35
35
  echo "$ git checkout -qf 8f53c077072674972e21c82a286acc07fada91f5"
36
36
  ( cd ${VX_ROOT}/code/vexor/vx-test-repo && git checkout -qf 8f53c077072674972e21c82a286acc07fada91f5 ) || exit 1
37
- unset GIT_SSH
38
- echo "starting SSH Agent"
39
- eval "$(ssh-agent)" > /dev/null
40
- ssh-add $VX_PRIVATE_KEY 2> /dev/null
41
37
  cd ${VX_ROOT}/code/vexor/vx-test-repo
42
38
  echo "download latest version of vxvm"
43
39
  curl --tcp-nodelay --retry 3 --fail --silent --show-error -o $VX_ROOT/bin/vxvm https://raw.githubusercontent.com/vexor/vx-packages/master/vxvm
@@ -50,8 +46,8 @@ echo \$\ export\ BUNDLE_GEMFILE\=\$\{PWD\}/Gemfile
50
46
  export BUNDLE_GEMFILE=${PWD}/Gemfile
51
47
  echo \$\ export\ GEM_HOME\=\~/.rubygems
52
48
  export GEM_HOME=~/.rubygems
53
- export CASHER_DIR=$HOME/.casher && ( mkdir -p $CASHER_DIR/bin && /usr/bin/curl https://raw2.github.com/dima-exe/casher/master/bin/casher --tcp-nodelay --retry 3 --fail --silent --show-error -o $HOME/.casher/bin/casher && chmod +x $HOME/.casher/bin/casher ) || true
54
- test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher fetch http://example.com/test/pull-request/rvm-1.9.3-gemfile.tgz http://example.com/master/rvm-1.9.3-gemfile.tgz || true
49
+ export CASHER_DIR=$HOME/.casher && ( mkdir -p $CASHER_DIR/bin && /usr/bin/curl https://raw.githubusercontent.com/dima-exe/casher/master/bin/casher --tcp-nodelay --retry 3 --fail --silent --show-error -o $HOME/.casher/bin/casher && chmod +x $HOME/.casher/bin/casher ) || true
50
+ test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher fetch http://localhost:3001/test/pull-request/rvm-1.9.3-gemfile.tgz http://localhost:3001/master/rvm-1.9.3-gemfile.tgz || true
55
51
  test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher add ~/.rubygems || true
56
52
  test -f $HOME/.casher/bin/casher && casher-ruby $HOME/.casher/bin/casher add ~/.rubygems || true
57
53
  unset CASHER_DIR
@@ -1,15 +1,27 @@
1
+ set -o pipefail
2
+
3
+ RED="\033[31m"
4
+ NORMAL="\033[0;39m"
5
+
1
6
  export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2
7
  export LC_ALL=en_US.UTF8
3
8
  export DEBIAN_FRONTEND=noninteractive
9
+ export TERM=xterm
4
10
 
5
11
  cd ~/
6
12
 
7
13
  rm -rf ~/citool
8
14
  git clone -q --depth=1 --branch=master https://github.com/vexor/vx-citool.git ~/citool || (
9
15
  rs=$?
10
- exit rs
16
+
17
+ echo -e "${RED}The command 'git clone -q --depth=1 --branch=master https://github.com/vexor/vx-citool.git ~/citool' failed with code $rs${NORMAL}"
18
+
19
+ exit $rs
11
20
  )
12
21
 
13
- echo LS0tCi0gbmFtZTogY2xvbmUKICB2YXJzOgogICAgc3NoX2tleTogfAogICAgICAtLS0tLUJFR0lOIFJTQSBQUklWQVRFIEtFWS0tLS0tCiAgICAgIE1JSUVwQUlCQUFLQ0FRRUFwTWthbSttaHdDZENRZHF0dTdVOXA1VlJGbWtyYmk5SGFBM3ZhZ3BoTXZ5cnlXcXgKICAgICAgQzlzWSthbjhqQ05SVXBlbHlqSjhmNmI2L1Y1aDRXY25sd3BPdlZHR25zNEhPYm5Zajg5R0tvQkYrUXBUMjhtcAogICAgICBDTWkwa3pITlNXTVJaZy9kOXgzQWYyY0RJZ0poZ0dLZEtMaE9iK1NKMmlSektBNnl3bXlOVHJVQjR0SmhwZ0ovCiAgICAgIFBBMWxHbFlYa0dhZDJLUkFmZzdtVGN1UXJxTEo0cWkyWGRnQUhjdElTTjl3VWRiRTF4NUhGUHl6dWt3S3VCQUUKICAgICAgaDdtNlZWckp6c2tLTnJCc3VPVlNadVE2cnY5VGlxV1hWcEFYZ3JXdkt6dGxmM1NOQXR0bUFCYjVkMnVQT2EyKwogICAgICByZUNXRXpIYldPRmdNUURRc1hzUzNycUMzZnp3NFZNS1JRd1hJUUlEQVFBQkFvSUJBRGdaT3BUUGtjQmYzUitjCiAgICAgIE9iOEljWWZtdm1jNXdJNVBUQ2p4YllzVkk0Zi9HdUNFRU9mdlcrNUszMjQ1NjhxSlUraWxEVnRMMW5DQlBDTkgKICAgICAgUWVRYW56bTJVblVud0svM1EvR1paOUs2UHBnTTJ3V2MvbzI5L2pPS0pkQVJDUE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zdCBscyAtMSAmJiBlY2hvIERPTkUhCi0gbmFtZTogYWZ0ZXJfc3VjY2VzcwogIHRhc2tzOgogIC0gc2hlbGw6IGVjaG8gYWZ0ZXIgc3VjY2VzcwotIG5hbWU6IHRlYXJkb3duCiAgdGFza3M6CiAgLSBjYWNoZV9wdXNoOgogICAgICB1cmw6IGh0dHA6Ly9sb2NhbGhvc3Q6MzAwMS90ZXN0L3B1bGwtcmVxdWVzdC9zY2FsYS0yLjEwLjMtcnZtLTIuMC4wLWdlbWZpbGUtbm9kZWpzLTAuMTAtcnVzdC0wLjExLjAtcHl0aG9uLTIuNy50Z3oK \
14
25
  | base64 --decode | ~/citool/bin/vx-citool -
26
+
15
27
  exit $?
@@ -51,25 +51,53 @@
51
51
  DISPLAY: ":99"
52
52
  CI_PARALLEL_JOBS: 3
53
53
  CI_PARALLEL_JOB_NUMBER: 0
54
+ global: ''
55
+ matrix: ''
54
56
  RAILS_ENV: test
55
57
  RACK_ENV: test
56
58
  GEM_HOME: "~/.rubygems"
59
+ TRAVIS_PYTHON_VERSION: py_version
57
60
  tasks:
58
61
  - services:
59
62
  - rabbitmq-server
60
63
  - cache_fetch:
61
64
  url:
62
- - http://example.com/test/pull-request/rvm-2.0.0-gemfile.tgz
63
- - http://example.com/master/rvm-2.0.0-gemfile.tgz
65
+ - http://localhost:3001/test/pull-request/scala-2.10.3-rvm-2.0.0-gemfile-nodejs-0.10-rust-0.11.0-python-2.7.tgz
66
+ - http://localhost:3001/master/scala-2.10.3-rvm-2.0.0-gemfile-nodejs-0.10-rust-0.11.0-python-2.7.tgz
64
67
  - cache_add:
65
68
  dir:
66
69
  - "~/.cache"
70
+ - "~/.sbt"
71
+ - "~/.ivy2"
67
72
  - "~/.rubygems"
73
+ - node_modules
74
+ - bower_components
75
+ - "~/.pip-downloads"
68
76
  - name: before_install
69
77
  tasks:
70
78
  - shell: echo before_install
71
79
  - name: install
80
+ environment:
81
+ PATH: "${PATH}:${PWD}/node_modules/bin"
72
82
  tasks:
83
+ - scala:
84
+ action: install
85
+ scala: 2.10.3
86
+ - ruby:
87
+ action: install
88
+ ruby: 2.0.0
89
+ - ruby: announce
90
+ - vxvm: nodejs 0.10
91
+ - shell: npm config set spin false
92
+ - shell: node --version
93
+ - shell: npm --version
94
+ - vxvm: rust 0.11.0
95
+ - shell: rustc --version
96
+ - python:
97
+ action: install
98
+ python: '2.7'
99
+ - python: virtualenv
100
+ - python: announce
73
101
  - shell: echo install
74
102
  - name: database
75
103
  tasks:
@@ -86,4 +114,4 @@
86
114
  - name: teardown
87
115
  tasks:
88
116
  - cache_push:
89
- url: http://example.com/test/pull-request/rvm-2.0.0-gemfile.tgz
117
+ url: http://localhost:3001/test/pull-request/scala-2.10.3-rvm-2.0.0-gemfile-nodejs-0.10-rust-0.11.0-python-2.7.tgz
@@ -26,6 +26,8 @@ rust: "0.11.0"
26
26
 
27
27
  python: "2.7"
28
28
 
29
+ pip_args: "pip args"
30
+
29
31
  matrix:
30
32
  exclude:
31
33
  - rvm: 2.1
@@ -41,6 +41,7 @@ describe Vx::Builder::BuildConfiguration do
41
41
  "image" => ["one", "two"],
42
42
  "jdk" => ['openjdk7'],
43
43
  "language" => ["ruby"],
44
+ "pip_args" => ["pip args"],
44
45
  "python" => ["2.7"],
45
46
  "rust" => ['0.11.0'],
46
47
  "go" => ['1.2.2'],
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vx-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.59
4
+ version: 0.5.60
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Galinsky
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-02 00:00:00.000000000 Z
11
+ date: 2014-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: vx-common