Skip to content

Can't create a config in a github action because of prompting for telemetry #160

@sp-aaflalo

Description

@sp-aaflalo

First Stop

  • I have read and agreed to the ThoughtSpot Dev Tools EULA.
  • I understand that if I have a critical issue with ThoughtSpot, I should reach out to my designated Account Executive and Solutions Consultant team instead of cs_tools.
  • I searched the cs_tools documentation, with the integrated search.

Platform Configuration

╭──────────────────────────────────────────────────────────────────────────────╮
│                                                                              │
│           Info snapshot taken on 2024-07-29                                  │
│                                                                              │
│               CS Tools: 1.5.9                                                │
│         Python Version: Python 3.12.4 (main, Jul 15 2024, 21:50:45) [GCC     │
│    11.4.0]                                                                   │
│            System Info: Linux (detail:                                       │
│    Linux-6.5.0-1024-azure-x86_64-with-glibc2.35)                             │
│      Configs Directory: /home/ {anonymous} /.config/cs_tools                 │
│    Activate VirtualEnv: source                                               │
│    "/opt/hostedtoolcache/Python/3.12.4/x64/bin/activate"                     │
│          Platform Tags: linux-x86_64                                         │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

Description

I'm trying to do something like this in my GitHub action:
cs_tools config create --config "default" --default --url "***" --username "***" --secret "***"

But it keeps failing because of the telemetry prompt that I can't answer (even tried yes "no" | COMMAND).

╭─────────── Would you like to send analytics to the CS Tools team? ───────────╮
│ We use this information to help the ThoughtSpot Product team prioritize new  │
│ features.                                                                    │
│                                                                              │
│ - CS Tools Environment UUID      - CS Tools Version                          │
│ - Today's Date                   - Your Operating System (Windows, Mac,      │
│ Linux)                                                                       │
│ - Python Platform Tag            - Python Version                            │
│ - Whether or not you run CS Tools on the ThoughtSpot cluster                 │
╰──────────────────────────────────────────────────────────────────────────────╯

  Response [yes/no/prompt]: 

This is quite annoying, is there a way for me to answer that prompt thought an argument of the command ?

Need to upload log files securely?

No response

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions