Skip to content

Commit ee6d286

Browse files
committed
[CI] Removes references to .ci/test-matrix.yml from tasks
1 parent 17b5fe6 commit ee6d286

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

rake_tasks/unified_release_tasks.rake

+2-3
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ namespace :unified_release do
5959

6060
desc 'Generate API code'
6161
task :codegen do
62-
version = YAML.load_file(File.expand_path(__dir__ + '/../.ci/test-matrix.yml'))['STACK_VERSION'].first
62+
version = YAML.load_file(File.expand_path(__dir__ + '/../.buildkite/pipeline.yml'))['steps'].first['env']['STACK_VERSION']
63+
6364
Rake::Task['elasticsearch:download_artifacts'].invoke(version)
6465
sh "cd #{CURRENT_PATH.join('elasticsearch-api/utils')} \
6566
&& BUNDLE_GEMFILE=`pwd`/Gemfile \
@@ -109,7 +110,6 @@ namespace :unified_release do
109110

110111
desc <<-DESC
111112
Bump the version in test matrixes:
112-
- .ci/test-matrix.yml
113113
- .github/workflows
114114
- .buildkite/pipeline.yml
115115
@@ -121,7 +121,6 @@ namespace :unified_release do
121121
abort('[!] Required argument [version] missing') unless (version = args[:version])
122122

123123
files = [
124-
'.ci/test-matrix.yml',
125124
'.github/workflows/main.yml',
126125
'.github/workflows/unified-release.yml',
127126
'.buildkite/pipeline.yml'

0 commit comments

Comments
 (0)