Skip to content

Commit

Permalink
WIP: test oparin base_ref
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed Aug 29, 2022
1 parent d54bf23 commit 79bf97e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/manageiq/cross_repo/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ def run_test_script(test_script)
w.write(test_script)
w.close

puts "** AG: #{env_vars.inspect}"

system!(env_vars, "/bin/bash -s", :in => r, :out => $stdout, :err => $stderr)
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/manageiq/cross_repo/runner/github.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def self.available?
def env_vars
super.merge(
"CI" => "true",
"GITHUB_BASE_REF" => nil, # TODO: test_repo.base_ref,
"GITHUB_BASE_REF" => "oparin", # TODO: test_repo.base_ref,
"GITHUB_REF_NAME" => test_repo.ref || test_repo.sha,
"GITHUB_REPOSITORY" => test_repo.identifier,
"GITHUB_REPOSITORY_OWNER" => test_repo.org,
Expand Down

0 comments on commit 79bf97e

Please sign in to comment.