Skip to content

fix(variable set): scope for group variables

Kai Armstrong requested to merge phikai-environment-scope-group-variables into main

Description

This adds support for scope when setting a group variable. Previously the group API didn't support this option and had an error when trying to pass it.

Related Issues

Resolves #1204 (closed)

How has this been tested?

Create

bin/glab-scope variable set GLAB_1024_1 --value="glab_1024_1" --group=65143240 --scope="production/*" --masked="false" --protected="false"

Screenshot_2023-03-16_at_11.21.02_AM

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)
  • Test gap
Edited by Kai Armstrong

Merge request reports