File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -129,11 +129,15 @@ docker run \
129129 --env " RUBY_VERSION=${RUBY_VERSION} " \
130130 --env " WORKFLOW=${WORKFLOW} " \
131131 --env " CLIENTS_GITHUB_TOKEN=${CLIENTS_GITHUB_TOKEN} " \
132- --name test-runner \
132+ --name elasticsearch-ruby \
133133 --volume " ${repo} :/usr/src/app" \
134134 --rm \
135135 " ${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} \" ]"
137141
138142# ------------------------------------------------------- #
139143# Post Command tasks & checks
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ namespace :automation do
4646
4747 sh "export ES_RUBY_CLIENT_PATH=#{ path } " \
4848 ' && cd elastic-client-generator-ruby/elasticsearch ' \
49- ' && sudo bundle install ' \
5049 " && bundle exec rake update[#{ branch } ]" \
5150 ' && bundle exec rake gen_es' \
5251 ' && cd ../../ ' \
You can’t perform that action at this time.
0 commit comments