Skip to content

Releases: grafana/k6registry

v0.1.27

24 Sep 14:27
ce0df77
Compare
Choose a tag to compare

k6registry v0.1.27 is here 🎉!

This is an internal maintenance release.

  • Support for manual version number configuration
  • Update versions from arbitrary git repository

Support for manual version number configuration

Instead of using the repository manager API, it is possible to manually configure the versions of the extensions. The API of the less common repository managers is not worth supporting, on the other hand, in some cases it may be necessary to control the allowed versions.

If the versions property is specified for an extension in the registry source, it overwrites the automatic version detection.

Update versions from arbitrary git repository

The API of the less common repository managers is not worth supporting, rather the available version numbers are detected with local git operations after cloning/pulling the git repository.

The cache directory used for compliance checks, where the git repositories are kept up-to-date, is also used to detect versions (tags).

Support for import extension properties from other registry

When creating a custom registry, it is inconvenient (and a potential source of error) to duplicate the data of those extensions that are also included in the registry maintained by Grafana. Support for importing extension data from other registries helps with this.

An optional origin registry URL can be specified with the --origin command line flag. If the extension is included in the origin registry, the default values ​​of its properties will be the values ​​specified in the origin registry. To import all the properties, it is enough to specify the module property. Properties in the origin registry can be overwritten in the registry source. For example, by specifying the versions property, you can specify that only certain versions are included in the generated registry.

v0.1.26

13 Sep 05:29
868f622
Compare
Choose a tag to compare

k6registry v0.1.26 is here 🎉!

This is an internal maintenance release.

Fix change detection

The use of the out parameter was a prerequisite for change detection in GitHub Actions mode. If the api parameter is used, the out parameter is not required. As a result, when using the api parameter, change detection did not work until now. This issue is fixed in this release. Change detection now works when using the api parameter in GitHub Actions mode.

v0.1.25

11 Sep 11:48
0d0c755
Compare
Choose a tag to compare

k6registry v0.1.25 is here 🎉!

This is an internal maintenance release.

Added testability of generated files

The generated registry and catalog will play an important role in the k6 binary provisioning subsystem, so it is important that there is no loss of service due to generated files. It is advisable to test the generated files to see if they meet the minimum requirements.

The --test flag can be used to test registry and catalog files generated with the --api flag. The test is successful if the file is not empty, contains k6 and at least one extension, and if all extensions meet the minimum requirements (e.g. it has versions).

v0.1.24

11 Sep 10:25
7909c30
Compare
Choose a tag to compare

k6registry v0.1.24 is here 🎉!

This is an internal maintenance release.

Added testability of generated files

The generated registry and catalog will play an important role in the k6 binary provisioning subsystem, so it is important that there is no loss of service due to generated files. It is advisable to test the generated files to see if they meet the minimum requirements.

The --test flag can be used to test registry and catalog files generated with the --api flag. The test is successful if the file is not empty, contains k6 and at least one extension, and if all extensions meet the minimum requirements (e.g. it has versions).

v0.1.23

10 Sep 08:37
9c17379
Compare
Choose a tag to compare

k6registry v0.1.23 is here 🎉!

This is an internal maintenance release.

Fix cache saving issue

The GitHub workflow is running with user id 1001 and group id 127. The k6registry docker container runs with the default user id in debian. As a consequence, the cache directory created under XDG_CACHE_HOME fails to save.

The solution is to use the same user id and group id as the GitHub workflow in the k6registry docker container (user id: 1001, group id: 127).

v0.1.22

10 Sep 07:29
b48c917
Compare
Choose a tag to compare

k6registry v0.1.22 is here 🎉!

This is an internal maintenance release.

Retry git pull on error

In the git working directory, the file permissions are changed to make the cache persistent in GitHub action mode. As a consequence, the git pull operation will fail (if permissions have actually been changed).

To fix this, if the pull operation fails, the pull operation is repeated after a forced checkout operation.

v0.1.21

10 Sep 06:58
0940973
Compare
Choose a tag to compare

k6registry v0.1.21 is here 🎉!

This is an internal maintenance release.

Retry git pull on error

In the git working directory, the file permissions are changed to make the cache persistent in GitHub action mode. As a consequence, the git pull operation will fail (if permissions have actually been changed).

To fix this, if the pull operation fails, the pull operation is repeated after a forced checkout operation.

v0.1.20

09 Sep 13:49
430be3a
Compare
Choose a tag to compare

k6registry v0.1.20 is here 🎉!

This is an internal maintenance release.

Added verbose logging

  • CLI: added the -v/--verbose flag for verbose logging
  • GitHub action: added verbose input parameter for verbose logging

v0.1.19

03 Sep 16:02
f5c3a2d
Compare
Choose a tag to compare

k6registry v0.1.19 is here 🎉!

This is an internal maintenance release.

simplify responsibility*

  • only use registry.schema.json instead of owning it, registry.schema.json source moved to grafana/k6-extension-registry repository
  • only implement openapi.yaml and not own it, openapi.yaml source moved to grafana/k6-extension-registry repository

v0.1.18

02 Sep 06:12
7692fb3
Compare
Choose a tag to compare

k6registry v0.1.18 is here 🎉!

This is an internal maintenance release.

extension catalog support*

The registry and the catalog contain the same elements, only in different containers. The registry is a list (array), and the catalog is a map (object).

The consequence of this is that the versions property is moved from the repository object to the extension object.

During the generation of registry subsets, catalogs are also generated for the subsets (e.g. cloud.json and cloud-catalog.json).