Skip to content

[FEATURE] Use SQL CLI tool from pipy in doctest gradle task #1281

Closed as not planned

Description

@Yury-Fridlyand

Is your feature request related to a problem?

sql/doctest/build.gradle

Lines 22 to 33 in 9d4a841

task cloneSqlCli(type: Exec) {
// clone the sql-cli repo locally
commandLine 'git', 'clone', 'https://github.com/opensearch-project/sql-cli.git'
}
task bootstrap(type: Exec, dependsOn: ['cloneSqlCli']) {
inputs.file "$projectDir/bootstrap.sh"
outputs.dir "$projectDir/.venv"
commandLine 'sh', "$projectDir/bootstrap.sh"
}

Currently, doctest gradle task clones sql-cli repo.

What solution would you like?
Install sql cli tool from pipy using pip.

What alternatives have you considered?
N/A

Do you have any additional context?
Make doctest more robust too. It can't start if it crashed or interrupted by Ctrl+C without manual cleanup.

Activity

  1. added
    infrastructure
    on Jan 17, 2023
  2. changed the title [-][FEATURE] Use SQL CLI too from pipy in doctest gradle task[/-] [+][FEATURE] Use SQL CLI tool from pipy in doctest gradle task[/+] on Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    infrastructure

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions