glab(1)

NAME
glab-dependency-firewall-configure - Configure Dependency Firewall registry URLs for a package manager.

SYNOPSIS
glab dependency-firewall configure [flags]

DESCRIPTION
Write a package manager's resolve and deploy registry URLs to .gitlab/df/config.json.

Supported package managers: npm.

The file is written relative to the current working directory, so run this command from the directory you run the package manager in.

Only the flags you pass are updated; existing values and unknown keys are preserved.

This feature is in beta and might not be ready for production use. It might be unstable and breaking changes can occur outside of major releases. For more information, see https://docs.gitlab.com/policy/development_stages_support/.

OPTIONS
--repo-deploy=""
    Full registry URL to deploy (publish) packages to.

--repo-resolve=""
    Full registry URL to resolve (install) packages from.

OPTIONS INHERITED FROM PARENT COMMANDS
-h, --help[=false]
    Show help for this command.

EXAMPLE
    # Set the resolve (read) and deploy (publish) registry URLs for npm
    glab dependency-firewall configure npm --repo-resolve https://gitlab.com/api/v4/projects/42/packages/npm/ --repo-deploy https://gitlab.com/api/v4/projects/42/packages/npm/
    # Update only the resolve URL; the deploy URL is preserved
    glab dependency-firewall configure npm --repo-resolve https://gitlab.com/api/v4/projects/42/packages/npm/

SEE ALSO
glab-dependency-firewall(1)