Skip to content

Conversation

@areusch
Copy link
Contributor

@areusch areusch commented Jul 1, 2022

  • Use python3 to run determine_docker_images.py
  • Properly detect presence of CI env var with + expansion.

@leandron @mehrdadh @driazati

 * Use python3 to run determine_docker_images.py
 * Properly detect presence of CI env var with + expansion.
Copy link
Member

@mehrdadh mehrdadh left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this!!

EXPANDED_SHORTCUT=$(lookup_image_spec "${DOCKER_IMAGE_NAME}")
if [ -n "${EXPANDED_SHORTCUT}" ]; then
if [ "${CI+x}" == "true" ]; then
if [ "${CI+x}" == "x" ]; then
Copy link
Member

Choose a reason for hiding this comment

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

this seems to detect CI set to anything, rather than just true, is that intentional?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

with +x it merely evaluates to "x" if the var is set and nothing if not, iiuc

@github-actions
Copy link
Contributor

github-actions bot commented Jul 1, 2022

Built docs for commit d1a20bc can be found here.

@areusch areusch merged commit eeb5fce into apache:main Jul 1, 2022
blackkker pushed a commit to blackkker/tvm that referenced this pull request Jul 7, 2022
* Use python3 to run determine_docker_images.py
 * Properly detect presence of CI env var with + expansion.
masahi pushed a commit to masahi/tvm that referenced this pull request Jul 15, 2022
* Use python3 to run determine_docker_images.py
 * Properly detect presence of CI env var with + expansion.
mikeseven pushed a commit to mikeseven/tvm that referenced this pull request Sep 27, 2023
* Use python3 to run determine_docker_images.py
 * Properly detect presence of CI env var with + expansion.
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