Skip to content

Commit

Permalink
GCL fix for new Louhi Automation (#1578)
Browse files Browse the repository at this point in the history
  • Loading branch information
Subbarker authored Jan 12, 2024
1 parent 7a9f247 commit f9b0c5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kokoro/config/test/ops_agent/release.gcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'common.gcl' as common
import '../image_lists.gcl' as image_lists

_parse_distro = lambda tag: {
local _parse_distro = lambda tag: {
parts = split(tag, '/')
ret = {
distro = parts[3]
Expand All @@ -11,7 +11,7 @@ _parse_distro = lambda tag: {

config build = common.ops_agent_test {
params {
local _distro_arch = _parse_distro(params.environment._LOUHI_TAG_NAME)
local _distro_arch = _parse_distro(env_vars['_LOUHI_TAG_NAME'])
platforms = image_lists.get(_distro_arch.distro + '_' + _distro_arch.arch, 'invalid_distro').release
arch = _distro_arch.arch

Expand Down

0 comments on commit f9b0c5d

Please sign in to comment.