Skip to content

cluster: add the ability to manipulate the configuration #506

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
LeonidVas opened this issue Jun 22, 2023 · 0 comments · Fixed by #587
Closed

cluster: add the ability to manipulate the configuration #506

LeonidVas opened this issue Jun 22, 2023 · 0 comments · Fixed by #587
Assignees

Comments

@LeonidVas
Copy link
Contributor

In the scope of the task needs to add the ability to manipulate configuration (show / update) of single instance and cluster (config from etcd) according to https://www.notion.so/tarantool/tt-3-0-fbd40e724dce4a04919d1a35c506a65b

@LeonidVas LeonidVas added 3sp and removed 8sp labels Jul 20, 2023
oleg-jukovec added a commit that referenced this issue Aug 22, 2023
The configuration is imported from the Tarantool implementation.

Part of #506
oleg-jukovec added a commit that referenced this issue Aug 22, 2023
The configuration is imported from the Tarantool implementation.

Part of #506
oleg-jukovec added a commit that referenced this issue Aug 22, 2023
The configuration is imported from the Tarantool implementation.

Part of #506
oleg-jukovec added a commit that referenced this issue Aug 24, 2023
The configuration is imported from the Tarantool implementation.

Part of #506
oleg-jukovec added a commit that referenced this issue Aug 24, 2023
oleg-jukovec added a commit that referenced this issue Aug 24, 2023
oleg-jukovec added a commit that referenced this issue Aug 24, 2023
oleg-jukovec added a commit that referenced this issue Aug 24, 2023
oleg-jukovec added a commit that referenced this issue Aug 24, 2023
oleg-jukovec added a commit that referenced this issue Aug 24, 2023
The patch fixes a different list of Python dependencies on macOS.

Part of #506
oleg-jukovec added a commit that referenced this issue Aug 24, 2023
The configuration is imported from the Tarantool implementation.

Part of #506
oleg-jukovec added a commit that referenced this issue Aug 24, 2023
oleg-jukovec added a commit that referenced this issue Aug 29, 2023
* `tt cluster show` to show a configuration.
* `tt cluster public` to public a configuration.

Closes #506
oleg-jukovec added a commit that referenced this issue Aug 29, 2023
The configuration is imported from the Tarantool implementation.

Part of #506
oleg-jukovec added a commit that referenced this issue Aug 29, 2023
* `tt cluster show` to show a configuration.
* `tt cluster public` to public a configuration.

Closes #506
oleg-jukovec added a commit that referenced this issue Aug 29, 2023
* `tt cluster show` to show a configuration.
* `tt cluster public` to public a configuration.

Closes #506
oleg-jukovec added a commit that referenced this issue Aug 29, 2023
* `tt cluster show` to show a configuration.
* `tt cluster public` to public a configuration.

Closes #506
oleg-jukovec added a commit that referenced this issue Aug 29, 2023
The patch fixes a different list of Python dependencies on macOS.

Part of #506
oleg-jukovec added a commit that referenced this issue Aug 29, 2023
The configuration is imported from the Tarantool implementation.

Part of #506
oleg-jukovec added a commit that referenced this issue Aug 29, 2023
* `tt cluster show` to show a configuration.
* `tt cluster public` to public a configuration.

Closes #506
oleg-jukovec added a commit that referenced this issue Aug 30, 2023
* `tt cluster show` to show a configuration.
* `tt cluster public` to public a configuration.

Part of #506
oleg-jukovec added a commit that referenced this issue Aug 30, 2023
* `tt cluster show` to show a configuration.
* `tt cluster public` to public a configuration.

Part of #506
oleg-jukovec added a commit that referenced this issue Aug 30, 2023
The configuration is imported from the Tarantool implementation.

Part of #506
oleg-jukovec added a commit that referenced this issue Aug 30, 2023
* `tt cluster show` to show a configuration.
* `tt cluster public` to public a configuration.

Part of #506
oleg-jukovec added a commit that referenced this issue Aug 30, 2023
* `tt cluster show` to show a configuration.
* `tt cluster public` to public a configuration.

Part of #506
oleg-jukovec added a commit that referenced this issue Sep 15, 2023
* `tt cluster show` to show a configuration.
* `tt cluster publish` to publish a configuration.

@TarantoolBot document
Title: new module - `cluster`

The patch introduces a new module `cluster`. The module has two
commands:

* show - to show a configuration for a cluster or an instance.
* publish - to publish a cluster or an instance configuration.

The target could be a cluster or an instance configuration. It could
be a fully-merged (from all sources) configuration for an application
or just a remote configuration part in case of etcd.

Usage:

* `tt cluster show (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) [--validate]`
  * The optional `--validate` flag enables validation for a showed
    configuration.
* `tt cluster publish (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) file [--force]`
  * The optional `--force` flag skips validation of uploaded
    configuration.

The `APP_NAME` is a name of an application.

The `INSTANCE_NAME` is a name of an instance in the application.

The `URI` specifies a etcd connection settings in the following format:

`http(s)://[username:password@]host:port[/prefix][?arguments]`

* `prefix` - a base path to Tarantool configuration in etcd.

Possible arguments:

* `name` - a name of an instance in the cluster configuration.
* `timeout` - a request timeout in seconds (default 3.0).
* `ssl_key_file` - a path to a private SSL key file.
* `ssl_cert_file` - a path to an SSL certificate file.
* `ssl_ca_file` - a path to a trusted certificate authorities (CA)
  file.
* `ssl_ca_path` - a path to a trusted certificate authorities (CA)
  directory.
* `verify_host` - set off (default true) verification of the
  certificate’s name against the host.
* `verify_peer` - set off (default true) verification of the peer’s
  SSL certificate.

Part of #506
oleg-jukovec added a commit that referenced this issue Sep 15, 2023
The patch adds a scheduled job [1] that creates or update [2] a pull
request every day if a generated code have been changed.

1. https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onschedule
2. https://github.com/marketplace/actions/create-pull-request

Closes #506
oleg-jukovec added a commit that referenced this issue Sep 15, 2023
* `tt cluster show` to show a configuration.
* `tt cluster publish` to publish a configuration.

@TarantoolBot document
Title: new module - `cluster`

The patch introduces a new module `cluster`. The module has two
commands:

* show - to show a configuration for a cluster or an instance.
* publish - to publish a cluster or an instance configuration.

The target could be a cluster or an instance configuration. It could
be a fully-merged (from all sources) configuration for an application
or just a remote configuration part in case of etcd.

Usage:

* `tt cluster show (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) [--validate]`
  * The optional `--validate` flag enables validation for a showed
    configuration.
* `tt cluster publish (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) file [--force]`
  * The optional `--force` flag skips validation of uploaded
    configuration.

The `APP_NAME` is a name of an application.

The `INSTANCE_NAME` is a name of an instance in the application.

The `URI` specifies a etcd connection settings in the following format:

`http(s)://[username:password@]host:port[/prefix][?arguments]`

* `prefix` - a base path to Tarantool configuration in etcd.

Possible arguments:

* `name` - a name of an instance in the cluster configuration.
* `timeout` - a request timeout in seconds (default 3.0).
* `ssl_key_file` - a path to a private SSL key file.
* `ssl_cert_file` - a path to an SSL certificate file.
* `ssl_ca_file` - a path to a trusted certificate authorities (CA)
  file.
* `ssl_ca_path` - a path to a trusted certificate authorities (CA)
  directory.
* `verify_host` - set off (default true) verification of the
  certificate’s name against the host.
* `verify_peer` - set off (default true) verification of the peer’s
  SSL certificate.

Part of #506
oleg-jukovec added a commit that referenced this issue Sep 15, 2023
The patch adds a scheduled job [1] that creates or update [2] a pull
request every day if a generated code have been changed.

1. https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onschedule
2. https://github.com/marketplace/actions/create-pull-request

Closes #506
oleg-jukovec added a commit that referenced this issue Sep 15, 2023
* `tt cluster show` to show a configuration.
* `tt cluster publish` to publish a configuration.

@TarantoolBot document
Title: new module - `cluster`

The patch introduces a new module `cluster`. The module has two
commands:

* show - to show a configuration for a cluster or an instance.
* publish - to publish a cluster or an instance configuration.

The target could be a cluster or an instance configuration. It could
be a fully-merged (from all sources) configuration for an application
or just a remote configuration part in case of etcd.

Usage:

* `tt cluster show (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) [--validate]`
  * The optional `--validate` flag enables validation for a showed
    configuration.
* `tt cluster publish (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) file [--force]`
  * The optional `--force` flag skips validation of uploaded
    configuration.

The `APP_NAME` is a name of an application.

The `INSTANCE_NAME` is a name of an instance in the application.

The `URI` specifies a etcd connection settings in the following format:

`http(s)://[username:password@]host:port[/prefix][?arguments]`

* `prefix` - a base path to Tarantool configuration in etcd.

Possible arguments:

* `name` - a name of an instance in the cluster configuration.
* `timeout` - a request timeout in seconds (default 3.0).
* `ssl_key_file` - a path to a private SSL key file.
* `ssl_cert_file` - a path to an SSL certificate file.
* `ssl_ca_file` - a path to a trusted certificate authorities (CA)
  file.
* `ssl_ca_path` - a path to a trusted certificate authorities (CA)
  directory.
* `verify_host` - set off (default true) verification of the
  certificate’s name against the host.
* `verify_peer` - set off (default true) verification of the peer’s
  SSL certificate.

Part of #506
oleg-jukovec added a commit that referenced this issue Sep 15, 2023
The patch adds a scheduled job [1] that creates or update [2] a pull
request every day if a generated code have been changed.

1. https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onschedule
2. https://github.com/marketplace/actions/create-pull-request

Closes #506
oleg-jukovec added a commit that referenced this issue Sep 15, 2023
* `tt cluster show` to show a configuration.
* `tt cluster publish` to publish a configuration.

@TarantoolBot document
Title: new module - `cluster`

The patch introduces a new module `cluster`. The module has two
commands:

* show - to show a configuration for a cluster or an instance.
* publish - to publish a cluster or an instance configuration.

The target could be a cluster or an instance configuration. It could
be a fully-merged (from all sources) configuration for an application
or just a remote configuration part in case of etcd.

Usage:

* `tt cluster show (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) [--validate]`
  * The optional `--validate` flag enables validation for a showed
    configuration.
* `tt cluster publish (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) file [--force]`
  * The optional `--force` flag skips validation of uploaded
    configuration.

The `APP_NAME` is a name of an application.

The `INSTANCE_NAME` is a name of an instance in the application.

The `URI` specifies a etcd connection settings in the following format:

`http(s)://[username:password@]host:port[/prefix][?arguments]`

* `prefix` - a base path to Tarantool configuration in etcd.

Possible arguments:

* `name` - a name of an instance in the cluster configuration.
* `timeout` - a request timeout in seconds (default 3.0).
* `ssl_key_file` - a path to a private SSL key file.
* `ssl_cert_file` - a path to an SSL certificate file.
* `ssl_ca_file` - a path to a trusted certificate authorities (CA)
  file.
* `ssl_ca_path` - a path to a trusted certificate authorities (CA)
  directory.
* `verify_host` - set off (default true) verification of the
  certificate’s name against the host.
* `verify_peer` - set off (default true) verification of the peer’s
  SSL certificate.

Part of #506
oleg-jukovec added a commit that referenced this issue Sep 15, 2023
The patch adds a scheduled job [1] that creates or update [2] a pull
request every day if a generated code have been changed.

1. https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onschedule
2. https://github.com/marketplace/actions/create-pull-request

Closes #506
oleg-jukovec added a commit that referenced this issue Sep 15, 2023
* `tt cluster show` to show a configuration.
* `tt cluster publish` to publish a configuration.

@TarantoolBot document
Title: new module - `cluster`

The patch introduces a new module `cluster`. The module has two
commands:

* show - to show a configuration for a cluster or an instance.
* publish - to publish a cluster or an instance configuration.

The target could be a cluster or an instance configuration. It could
be a fully-merged (from all sources) configuration for an application
or just a remote configuration part in case of etcd.

Usage:

* `tt cluster show (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) [--validate]`
  * The optional `--validate` flag enables validation for a showed
    configuration.
* `tt cluster publish (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) file [--force]`
  * The optional `--force` flag skips validation of uploaded
    configuration.

The `APP_NAME` is a name of an application.

The `INSTANCE_NAME` is a name of an instance in the application.

The `URI` specifies a etcd connection settings in the following format:

`http(s)://[username:password@]host:port[/prefix][?arguments]`

* `prefix` - a base path to Tarantool configuration in etcd.

Possible arguments:

* `name` - a name of an instance in the cluster configuration.
* `timeout` - a request timeout in seconds (default 3.0).
* `ssl_key_file` - a path to a private SSL key file.
* `ssl_cert_file` - a path to an SSL certificate file.
* `ssl_ca_file` - a path to a trusted certificate authorities (CA)
  file.
* `ssl_ca_path` - a path to a trusted certificate authorities (CA)
  directory.
* `verify_host` - set off (default true) verification of the
  certificate’s name against the host.
* `verify_peer` - set off (default true) verification of the peer’s
  SSL certificate.

Part of #506
oleg-jukovec added a commit that referenced this issue Sep 15, 2023
The patch adds a scheduled job [1] that creates or update [2] a pull
request every day if a generated code have been changed.

1. https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onschedule
2. https://github.com/marketplace/actions/create-pull-request

Closes #506
oleg-jukovec added a commit that referenced this issue Sep 15, 2023
The patch unifies a list of Python dependencies for all jobs.

Part of #506
oleg-jukovec added a commit that referenced this issue Sep 15, 2023
The configuration is imported from the Tarantool implementation.

Part of #506
oleg-jukovec added a commit that referenced this issue Sep 15, 2023
* `tt cluster show` to show a configuration.
* `tt cluster publish` to publish a configuration.

@TarantoolBot document
Title: new module - `cluster`

The patch introduces a new module `cluster`. The module has two
commands:

* show - to show a configuration for a cluster or an instance.
* publish - to publish a cluster or an instance configuration.

The target could be a cluster or an instance configuration. It could
be a fully-merged (from all sources) configuration for an application
or just a remote configuration part in case of etcd.

Usage:

* `tt cluster show (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) [--validate]`
  * The optional `--validate` flag enables validation for a showed
    configuration.
* `tt cluster publish (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) file [--force]`
  * The optional `--force` flag skips validation of uploaded
    configuration.

The `APP_NAME` is a name of an application.

The `INSTANCE_NAME` is a name of an instance in the application.

The `URI` specifies a etcd connection settings in the following format:

`http(s)://[username:password@]host:port[/prefix][?arguments]`

* `prefix` - a base path to Tarantool configuration in etcd.

Possible arguments:

* `name` - a name of an instance in the cluster configuration.
* `timeout` - a request timeout in seconds (default 3.0).
* `ssl_key_file` - a path to a private SSL key file.
* `ssl_cert_file` - a path to an SSL certificate file.
* `ssl_ca_file` - a path to a trusted certificate authorities (CA)
  file.
* `ssl_ca_path` - a path to a trusted certificate authorities (CA)
  directory.
* `verify_host` - set off (default true) verification of the
  certificate’s name against the host.
* `verify_peer` - set off (default true) verification of the peer’s
  SSL certificate.

Part of #506
oleg-jukovec added a commit that referenced this issue Sep 15, 2023
The patch adds a scheduled job [1] that creates or update [2] a pull
request every day if a generated code have been changed.

1. https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onschedule
2. https://github.com/marketplace/actions/create-pull-request

Closes #506
oleg-jukovec added a commit that referenced this issue Sep 15, 2023
* `tt cluster show` to show a configuration.
* `tt cluster publish` to publish a configuration.

@TarantoolBot document
Title: new module - `cluster`

The patch introduces a new module `cluster`. The module has two
commands:

* show - to show a configuration for a cluster or an instance.
* publish - to publish a cluster or an instance configuration.

The target could be a cluster or an instance configuration. It could
be a fully-merged (from all sources) configuration for an application
or just a remote configuration part in case of etcd.

Usage:

* `tt cluster show (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) [--validate]`
  * The optional `--validate` flag enables validation for a showed
    configuration.
* `tt cluster publish (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) file [--force]`
  * The optional `--force` flag skips validation of uploaded
    configuration.

The `APP_NAME` is a name of an application.

The `INSTANCE_NAME` is a name of an instance in the application.

The `URI` specifies a etcd connection settings in the following format:

`http(s)://[username:password@]host:port[/prefix][?arguments]`

* `prefix` - a base path to Tarantool configuration in etcd.

Possible arguments:

* `name` - a name of an instance in the cluster configuration.
* `timeout` - a request timeout in seconds (default 3.0).
* `ssl_key_file` - a path to a private SSL key file.
* `ssl_cert_file` - a path to an SSL certificate file.
* `ssl_ca_file` - a path to a trusted certificate authorities (CA)
  file.
* `ssl_ca_path` - a path to a trusted certificate authorities (CA)
  directory.
* `verify_host` - set off (default true) verification of the
  certificate’s name against the host.
* `verify_peer` - set off (default true) verification of the peer’s
  SSL certificate.

Part of #506
oleg-jukovec added a commit that referenced this issue Sep 15, 2023
The patch adds a scheduled job [1] that creates or update [2] a pull
request every day if a generated code have been changed.

1. https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onschedule
2. https://github.com/marketplace/actions/create-pull-request

Closes #506
oleg-jukovec added a commit that referenced this issue Sep 15, 2023
The configuration is imported from the Tarantool implementation.

Part of #506
oleg-jukovec added a commit that referenced this issue Sep 15, 2023
* `tt cluster show` to show a configuration.
* `tt cluster publish` to publish a configuration.

@TarantoolBot document
Title: new module - `cluster`

The patch introduces a new module `cluster`. The module has two
commands:

* show - to show a configuration for a cluster or an instance.
* publish - to publish a cluster or an instance configuration.

The target could be a cluster or an instance configuration. It could
be a fully-merged (from all sources) configuration for an application
or just a remote configuration part in case of etcd.

Usage:

* `tt cluster show (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) [--validate]`
  * The optional `--validate` flag enables validation for a showed
    configuration.
* `tt cluster publish (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) file [--force]`
  * The optional `--force` flag skips validation of uploaded
    configuration.

The `APP_NAME` is a name of an application.

The `INSTANCE_NAME` is a name of an instance in the application.

The `URI` specifies a etcd connection settings in the following format:

`http(s)://[username:password@]host:port[/prefix][?arguments]`

* `prefix` - a base path to Tarantool configuration in etcd.

Possible arguments:

* `name` - a name of an instance in the cluster configuration.
* `timeout` - a request timeout in seconds (default 3.0).
* `ssl_key_file` - a path to a private SSL key file.
* `ssl_cert_file` - a path to an SSL certificate file.
* `ssl_ca_file` - a path to a trusted certificate authorities (CA)
  file.
* `ssl_ca_path` - a path to a trusted certificate authorities (CA)
  directory.
* `verify_host` - set off (default true) verification of the
  certificate’s name against the host.
* `verify_peer` - set off (default true) verification of the peer’s
  SSL certificate.

Part of #506
oleg-jukovec added a commit that referenced this issue Sep 15, 2023
The patch adds a scheduled job [1] that creates or update [2] a pull
request every day if a generated code have been changed.

1. https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onschedule
2. https://github.com/marketplace/actions/create-pull-request

Closes #506
oleg-jukovec added a commit that referenced this issue Sep 19, 2023
* `tt cluster show` to show a configuration.
* `tt cluster publish` to publish a configuration.

@TarantoolBot document
Title: new module - `cluster`

The patch introduces a new module `cluster`. The module has two
commands:

* show - to show a configuration for a cluster or an instance.
* publish - to publish a cluster or an instance configuration.

The target could be a cluster or an instance configuration. It could
be a fully-merged (from all sources) configuration for an application
or just a remote configuration part in case of etcd.

Usage:

* `tt cluster show (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) [--validate]`
  * The optional `--validate` flag enables validation for a showed
    configuration.
* `tt cluster publish (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) file [--force]`
  * The optional `--force` flag skips validation of uploaded
    configuration.

The `APP_NAME` is a name of an application.

The `INSTANCE_NAME` is a name of an instance in the application.

The `URI` specifies a etcd connection settings in the following format:

`http(s)://[username:password@]host:port[/prefix][?arguments]`

* `prefix` - a base path to Tarantool configuration in etcd.

Possible arguments:

* `name` - a name of an instance in the cluster configuration.
* `timeout` - a request timeout in seconds (default 3.0).
* `ssl_key_file` - a path to a private SSL key file.
* `ssl_cert_file` - a path to an SSL certificate file.
* `ssl_ca_file` - a path to a trusted certificate authorities (CA)
  file.
* `ssl_ca_path` - a path to a trusted certificate authorities (CA)
  directory.
* `verify_host` - set off (default true) verification of the
  certificate’s name against the host.
* `verify_peer` - set off (default true) verification of the peer’s
  SSL certificate.

Part of #506
oleg-jukovec added a commit that referenced this issue Sep 19, 2023
The patch adds a scheduled job [1] that creates or update [2] a pull
request every day if a generated code have been changed.

1. https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onschedule
2. https://github.com/marketplace/actions/create-pull-request

Closes #506
oleg-jukovec added a commit that referenced this issue Sep 19, 2023
* `tt cluster show` to show a configuration.
* `tt cluster publish` to publish a configuration.

@TarantoolBot document
Title: new module - `cluster`

The patch introduces a new module `cluster`. The module has two
commands:

* show - to show a configuration for a cluster or an instance.
* publish - to publish a cluster or an instance configuration.

The target could be a cluster or an instance configuration. It could
be a fully-merged (from all sources) configuration for an application
or just a remote configuration part in case of etcd.

Usage:

* `tt cluster show (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) [--validate]`
  * The optional `--validate` flag enables validation for a showed
    configuration.
* `tt cluster publish (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) file [--force]`
  * The optional `--force` flag skips validation of uploaded
    configuration.

The `APP_NAME` is a name of an application.

The `INSTANCE_NAME` is a name of an instance in the application.

The `URI` specifies a etcd connection settings in the following format:

`http(s)://[username:password@]host:port[/prefix][?arguments]`

* `prefix` - a base path to Tarantool configuration in etcd.

Possible arguments:

* `name` - a name of an instance in the cluster configuration.
* `timeout` - a request timeout in seconds (default 3.0).
* `ssl_key_file` - a path to a private SSL key file.
* `ssl_cert_file` - a path to an SSL certificate file.
* `ssl_ca_file` - a path to a trusted certificate authorities (CA)
  file.
* `ssl_ca_path` - a path to a trusted certificate authorities (CA)
  directory.
* `verify_host` - set off (default true) verification of the
  certificate’s name against the host.
* `verify_peer` - set off (default true) verification of the peer’s
  SSL certificate.

Part of #506
oleg-jukovec added a commit that referenced this issue Sep 19, 2023
The patch adds a scheduled job [1] that creates or update [2] a pull
request every day if a generated code have been changed.

1. https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onschedule
2. https://github.com/marketplace/actions/create-pull-request

Closes #506
oleg-jukovec added a commit that referenced this issue Sep 19, 2023
* `tt cluster show` to show a configuration.
* `tt cluster publish` to publish a configuration.

@TarantoolBot document
Title: new module - `cluster`

The patch introduces a new module `cluster`. The module has two
commands:

* show - to show a configuration for a cluster or an instance.
* publish - to publish a cluster or an instance configuration.

The target could be a cluster or an instance configuration. It could
be a fully-merged (from all sources) configuration for an application
or just a remote configuration part in case of etcd.

Usage:

* `tt cluster show (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) [--validate]`
  * The optional `--validate` flag enables validation for a showed
    configuration.
* `tt cluster publish (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) file [--force]`
  * The optional `--force` flag skips validation of uploaded
    configuration.

The `APP_NAME` is a name of an application.

The `INSTANCE_NAME` is a name of an instance in the application.

The `URI` specifies a etcd connection settings in the following format:

`http(s)://[username:password@]host:port[/prefix][?arguments]`

* `prefix` - a base path to Tarantool configuration in etcd.

Possible arguments:

* `name` - a name of an instance in the cluster configuration.
* `timeout` - a request timeout in seconds (default 3.0).
* `ssl_key_file` - a path to a private SSL key file.
* `ssl_cert_file` - a path to an SSL certificate file.
* `ssl_ca_file` - a path to a trusted certificate authorities (CA)
  file.
* `ssl_ca_path` - a path to a trusted certificate authorities (CA)
  directory.
* `verify_host` - set off (default true) verification of the
  certificate’s name against the host.
* `verify_peer` - set off (default true) verification of the peer’s
  SSL certificate.

Part of #506
oleg-jukovec added a commit that referenced this issue Sep 19, 2023
The patch adds a scheduled job [1] that creates or update [2] a pull
request every day if a generated code have been changed.

1. https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onschedule
2. https://github.com/marketplace/actions/create-pull-request

Closes #506
psergee pushed a commit that referenced this issue Sep 20, 2023
The patch unifies a list of Python dependencies for all jobs.

Part of #506
psergee pushed a commit that referenced this issue Sep 20, 2023
The configuration is imported from the Tarantool implementation.

Part of #506
psergee pushed a commit that referenced this issue Sep 20, 2023
* `tt cluster show` to show a configuration.
* `tt cluster publish` to publish a configuration.

@TarantoolBot document
Title: new module - `cluster`

The patch introduces a new module `cluster`. The module has two
commands:

* show - to show a configuration for a cluster or an instance.
* publish - to publish a cluster or an instance configuration.

The target could be a cluster or an instance configuration. It could
be a fully-merged (from all sources) configuration for an application
or just a remote configuration part in case of etcd.

Usage:

* `tt cluster show (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) [--validate]`
  * The optional `--validate` flag enables validation for a showed
    configuration.
* `tt cluster publish (<APP_NAME> | <APP_NAME:INSTANCE_NAME> | <URI>) file [--force]`
  * The optional `--force` flag skips validation of uploaded
    configuration.

The `APP_NAME` is a name of an application.

The `INSTANCE_NAME` is a name of an instance in the application.

The `URI` specifies a etcd connection settings in the following format:

`http(s)://[username:password@]host:port[/prefix][?arguments]`

* `prefix` - a base path to Tarantool configuration in etcd.

Possible arguments:

* `name` - a name of an instance in the cluster configuration.
* `timeout` - a request timeout in seconds (default 3.0).
* `ssl_key_file` - a path to a private SSL key file.
* `ssl_cert_file` - a path to an SSL certificate file.
* `ssl_ca_file` - a path to a trusted certificate authorities (CA)
  file.
* `ssl_ca_path` - a path to a trusted certificate authorities (CA)
  directory.
* `verify_host` - set off (default true) verification of the
  certificate’s name against the host.
* `verify_peer` - set off (default true) verification of the peer’s
  SSL certificate.

Part of #506
psergee pushed a commit that referenced this issue Sep 20, 2023
The patch adds a scheduled job [1] that creates or update [2] a pull
request every day if a generated code have been changed.

1. https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onschedule
2. https://github.com/marketplace/actions/create-pull-request

Closes #506
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants