Skip to content

configu/setup-cli-orb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

configu/setup-cli-orb

CircleCI Build Status CircleCI Orb Version CircleCI Community

The configu/setup-cli-orb orb contains a bash command that sets up Configu CLI in your CircleCI workflow by downloading a specific version of Configu CLI and adding it to the PATH.

After you've used the orb's setup command, subsequent steps in the same job can run arbitrary Configu CLI commands. All of Configu commands work exactly like they do on your local command line.

Usage

The default configuration installs the latest version of Configu CLI.

version: 2.1
orbs:
  configu: configu/setup-cli-orb@X.Y.Z

jobs:
  use-configu:
    docker:
      - image: cimg/base:stable
    steps:
      - configu/setup

workflows:
  deploy:
    jobs:
      - use-configu

A specific version of Configu CLI can be installed.

steps:
  - configu/setup:
      version: 0.4.4
  - run: configu --version

Credentials for Configu store (app.configu.com) can be configured.

jobs:
  use-configu:
    steps:
      - configu/setup
      - run: configu store --name "configu" --uri "configu://-"
      - run: configu export --set "production" --schema "path/to/schema.cfgu.json"

workflows:
  deploy:
    jobs:
      - use-configu:
        # defines $CONFIGU_ORG and $CONFIGU_TOKEN
        context: configu-credentials-context

Parameters

The orb supports the following parameters.

License

This orb is licensed under Apache License 2.0.

References