Skip to content

Commit 81e0ba4

Browse files
achandrasekarGerrit Code Review
authored and
Gerrit Code Review
committed
Rename ruby project to tests
Change-Id: I5ac67e6a4ebb795a02a0062f00e967bbb3f4db24
1 parent 37d3caf commit 81e0ba4

File tree

330 files changed

+12
-12
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

330 files changed

+12
-12
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ tags
3030
*.gem
3131

3232
tmp/
33-
ruby/common/test_files/deployment/dcmap.yml
33+
tests/common/test_files/deployment/dcmap.yml
3434

3535
#image building related
3636
**/build/

devbox/README.md

+1-1
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

ruby/.gitignore tests/.gitignore

File renamed without changes.
File renamed without changes.

ruby/Gemfile tests/Gemfile

File renamed without changes.
File renamed without changes.

ruby/README.md tests/README.md

ruby/Rakefile tests/Rakefile

File renamed without changes.

ruby/ci/run_ci.sh tests/ci/run_ci.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ export PATH=/opt/ruby/bin:$PATH
2424
export BUNDLE_PATH=/tmp/bundle
2525

2626
# run rubocop
27-
cd $WORKSPACE/ruby/
27+
cd $WORKSPACE/tests/
2828
bundle install
2929
bundle exec rubocop
3030

3131
# run rubocop-photon specs
32-
cd $WORKSPACE/ruby/rubocop-photon
32+
cd $WORKSPACE/tests/rubocop-photon
3333
bundle install
3434
bundle exec rspec --format RspecJunitFormatter --out reports/rspec.xml
3535

3636
# Run the ruby rspecs
37-
cd $WORKSPACE/ruby/common
37+
cd $WORKSPACE/tests/common
3838
bundle install
3939
bundle exec rspec --format RspecJunitFormatter --out reports/rspec.xml
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

ruby/integration_tests/README.md tests/integration_tests/README.md

+2-2
File renamed without changes.

ruby/integration_tests/ci/UWSim/mount_shared_nas.rb tests/integration_tests/ci/UWSim/mount_shared_nas.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
require 'yaml'
1313
require 'net/ssh'
1414

15-
# Sample usage: ruby esxcloud/ruby/integration_tests/ci/UWSim/mount_shared_nas.rb 10.146.58.19
15+
# Sample usage: ruby photon-controller/tests/integration_tests/ci/UWSim/mount_shared_nas.rb 10.146.58.19
1616
abort('Please provide Shared NAS ip address') if ARGV.empty?
1717

1818
shared_nas_ip = ARGV.first

ruby/integration_tests/ci/common.sh tests/integration_tests/ci/common.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ then
99
fi
1010

1111
if [ -z "$TESTS" ]; then
12-
export TESTS=$WORKSPACE/ruby/integration_tests
12+
export TESTS=$WORKSPACE/tests/integration_tests
1313
echo Assume default TESTS root $TESTS
1414
fi
1515

ruby/integration_tests/ci/punisher.sh tests/integration_tests/ci/punisher.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SYSLOG_HOST=${IP_RANGE}.102
1111
export API_ADDRESS=http://$APIFE_HOST:9000
1212
export no_proxy=$APIFE_HOST,$no_proxy
1313

14-
cd $WORKSPACE/ruby
14+
cd $WORKSPACE/tests
1515
./bin/load-flavors $API_ADDRESS common/test_files/flavors
1616

1717
cd $TESTS
File renamed without changes.

ruby/integration_tests/ci/start_devbox.sh tests/integration_tests/ci/start_devbox.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
export WORKSPACE=${WORKSPACE:=$(git rev-parse --show-toplevel)}
44
export DEVBOX=${DEVBOX:="$WORKSPACE/devbox"}
5-
export TESTS=${TESTS:="$WORKSPACE/ruby/integration_tests"}
5+
export TESTS=${TESTS:="$WORKSPACE/tests/integration_tests"}
66
export ENVOY_VIB_URL=${ENVOY_VIB_URL:="http://s3.amazonaws.com/photon-platform/artifacts/vibs/envoy/develop/latest/vmware-envoy-latest.vib"}
77
export LIGHTWAVE_VIB_URL=${LIGHTWAVE_VIB_URL:="http://s3.amazonaws.com/photon-platform/artifacts/vibs/lightwave/develop/latest/VMware-lightwave-esx-latest.vib"}
88

ruby/integration_tests/spec/api/cluster/harbor_kube_lifecycle_spec.rb tests/integration_tests/spec/api/cluster/harbor_kube_lifecycle_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def create_kubernetes_application(ssh)
288288
end
289289

290290
def populate_busybox_config_file()
291-
busybox_yaml_path = "#{ENV['WORKSPACE']}/ruby/integration_tests/spec/api/cluster/busybox.yaml"
291+
busybox_yaml_path = "#{ENV['WORKSPACE']}/tests/integration_tests/spec/api/cluster/busybox.yaml"
292292
busybox_yaml_content = File.read(busybox_yaml_path)
293293

294294
busybox_yaml_content["$HARBOR_MASTER_IP"] = ENV["SWARM_ETCD_1_IP"]

0 commit comments

Comments
 (0)