Skip to content

Commit e9106db

Browse files
committed
fixup
1 parent c3675b1 commit e9106db

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/make.sh

+6-2
Original file line numberDiff line numberDiff 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

rake_tasks/automation.rake

-1
Original file line numberDiff line numberDiff 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 ../../ ' \

0 commit comments

Comments
 (0)