• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 6745750469
88%

Build:
DEFAULT BRANCH: master
Ran 03 Nov 2023 01:32PM UTC
Jobs 1
Files 507
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Nov 2023 01:22PM UTC coverage: 86.433% (+0.01%) from 86.422%
6745750469

push

github

Totktonada
config: support replicaset/group name templates

See the documentation request below for details about the feature.

The template variables are substituted in three different places.

* On deducing configuration of the current instance from the cluster
  configuration.
* On calculation of URIs of replicaset peers to form
  `box.cfg({replication = <...>})` value.
* On calculation of URIs of all cluster members for generation of
  `vshard.{router,storage}.cfg()` configuration.

That's why we need a lot of testing code around this small feature.

Part of #8862

@TarantoolBot document
Title: config: support {{ replicaset_name }} and {{ group_name }}

The declarative configuration supports `{{ instance_name }}` template
variable from the beginning.

Now, two more ones were added: `{{ replicaset_name }}` and
`{{ group_name }}`.

All the template variables are set according to the
instance/replicaset/group topology from the given configuration.

Example:

NO_WRAP
```yaml
console:
  socket: '{{ group_name }}/{{ replicaset_name }}/{{ instance_name }}.admin'

groups:
  g:
    replicasets:
      r:
        instances:
          i: {}
```
NO_WRAP

The admin console will be at `g/r/i.admin` for instance `i`.

65644 of 117996 branches covered (0.0%)

97592 of 112911 relevant lines covered (86.43%)

2634472.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6745750469.1 03 Nov 2023 01:32PM UTC 0
86.43
GitHub Action Run
Source Files on build 6745750469
Detailed source file information is not available for this build.
  • Back to Repo
  • f059973d on github
  • Prev Build on master (#6744350652)
  • Next Build on master (#6745927655)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc