gitlab-ci-variables-cli
gitlab-ci-variables-cli copied to clipboard
feat: add new options (masked, protected, raw, scope) and handle HTTP errors
Thanks for this!
I needed to add support for the masked to insert secrets but it was not supported.
I added other options as well (see reference).
I also handled Axios errors, and added a retry if a masked variable fails to be inserted due to GitLab's requirements.
I also had a few building issues that I fixed (eg npm link is removed in NPM 9+, and JS files needed to be executable in bin).