File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -129,11 +129,15 @@ docker run \
129
129
--env " RUBY_VERSION=${RUBY_VERSION} " \
130
130
--env " WORKFLOW=${WORKFLOW} " \
131
131
--env " CLIENTS_GITHUB_TOKEN=${CLIENTS_GITHUB_TOKEN} " \
132
- --name test-runner \
132
+ --name elasticsearch-ruby \
133
133
--volume " ${repo} :/usr/src/app" \
134
134
--rm \
135
135
" ${product} " \
136
- bundle exec rake automation:${TASK} [" ${args_string} " ]
136
+ /bin/bash -c " git clone https://$CLIENTS_GITHUB_TOKEN @github.com/elastic/elastic-client-generator-ruby.git && \
137
+ pushd elastic-client-generator-ruby/elasticsearch && \
138
+ bundle install &&
139
+ popd && \
140
+ bundle exec rake automation:${TASK} [\" ${args_string} \" ]"
137
141
138
142
# ------------------------------------------------------- #
139
143
# Post Command tasks & checks
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ namespace :automation do
46
46
47
47
sh "export ES_RUBY_CLIENT_PATH=#{ path } " \
48
48
' && cd elastic-client-generator-ruby/elasticsearch ' \
49
- ' && sudo bundle install ' \
50
49
" && bundle exec rake update[#{ branch } ]" \
51
50
' && bundle exec rake gen_es' \
52
51
' && cd ../../ ' \
You can’t perform that action at this time.
0 commit comments