Skip to content

Update the version logic and tagging#268

Open
pawbhard wants to merge 4 commits into
grpc:mainfrom
pawbhard:tag_fix
Open

Update the version logic and tagging#268
pawbhard wants to merge 4 commits into
grpc:mainfrom
pawbhard:tag_fix

Conversation

@pawbhard

Copy link
Copy Markdown
Contributor

Update the logic to determine if we need to tag the image
Also added a check to retag version if not present for pre-built image

Test for bash logic

bpawan@bpawan:~/workspace/code/psm-interop$ for val in kokoro kokoro-github-subscriber anonymous user123; do                                                                                                                                                                                              
      KOKORO_BUILD_INITIATOR="$val"                                                                                                                                                                                                                               
      if [[ "${KOKORO_BUILD_INITIATOR:-anonymous}" != kokoro* ]]; then                                                                                                                                                                                            
        echo "$val: DEV"                                                                                                                                                                                                                                          
      else                                                                                                                                                                                                                                                        
        echo "$val: OFFICIAL"                                                                                                                                                                                                                                     
      fi                                                                                                                                                                                                                                                          
    done   
kokoro: OFFICIAL
kokoro-github-subscriber: OFFICIAL
anonymous: DEV
user123: DEV
bpawan@bpawan:~/workspace/code/psm-interop$ 

@pawbhard
pawbhard requested a review from sergiitk July 21, 2026 05:15
@pawbhard
pawbhard requested a review from a team as a code owner July 21, 2026 05:15
@pawbhard
pawbhard requested a review from arjan-bal July 21, 2026 05:15
Comment thread .kokoro/psm_interop_kokoro_lib.sh
Comment thread .kokoro/psm_interop_kokoro_lib.sh Outdated
Comment thread .kokoro/psm_interop_kokoro_lib.sh Outdated
Comment thread .kokoro/psm_interop_kokoro_lib.sh Outdated
Comment thread .kokoro/psm_interop_kokoro_lib.sh Outdated

@pawbhard pawbhard left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed comments , @sergiitk PTAL

Comment thread .kokoro/psm_interop_kokoro_lib.sh Outdated
Comment thread .kokoro/psm_interop_kokoro_lib.sh Outdated
Comment thread .kokoro/psm_interop_kokoro_lib.sh Outdated
@pawbhard
pawbhard requested a review from sergiitk July 21, 2026 08:26
Comment thread .kokoro/psm_interop_kokoro_lib.sh Outdated
Comment thread .kokoro/psm_interop_kokoro_lib.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants