Skip to content

Commit 5da03ca

Browse files
committed
[CI] Removes GITHUB_TOKEN remaining code
1 parent 92d6c7d commit 5da03ca

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

.buildkite/pipeline.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ steps:
99
RUBY_SOURCE: "{{ matrix.ruby_source }}"
1010
EC_PROJECT_PREFIX: 'sl_ruby'
1111
CLOUD_CREDENTIALS_PATH: 'secret/ci/elastic-elasticsearch-serverless-ruby/cloud-access'
12-
GITHUB_TOKEN_PATH: 'secret/ci/elastic-elasticsearch-serverless-ruby/github-token'
1312
matrix:
1413
setup:
1514
ruby:

.buildkite/run-client.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,13 @@ docker build \
1919

2020
echo "--- :ruby: Running $TEST_SUITE tests"
2121

22-
GITHUB_TOKEN=$(vault read -field=token "$GITHUB_TOKEN_PATH")
23-
export GITHUB_TOKEN
24-
2522
docker run \
2623
-e "TEST_SUITE=${TEST_SUITE}" \
2724
-e "ELASTIC_USER=elastic" \
2825
-e "BUILDKITE=true" \
2926
-e "TRANSPORT_VERSION=${TRANSPORT_VERSION}" \
3027
-e "ELASTICSEARCH_URL=${ELASTICSEARCH_URL}" \
3128
-e "API_KEY=${ES_API_SECRET_KEY}" \
32-
-e "GITHUB_TOKEN" \
3329
--volume $repo:/usr/src/app \
3430
--name elasticsearch-ruby \
3531
--rm \

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ namespace :spec do
5252
filename = 'tests.zip'
5353
url = 'https://api.github.com/repos/elastic/elasticsearch-clients-tests/zipball/main'
5454

55-
File.open(filename, "w") do |downloaded_file|
55+
File.open(filename, 'w') do |downloaded_file|
5656
URI.open(
5757
url,
5858
'Accept' => 'application/vnd.github+json'

0 commit comments

Comments
 (0)