https://github.com/configu/setup-cli-orb
Sets up Configu CLI in your CircleCI workflow
https://github.com/configu/setup-cli-orb
circleci circleci-orbs configuration configuration-files configuration-management
Last synced: 6 months ago
JSON representation
Sets up Configu CLI in your CircleCI workflow
- Host: GitHub
- URL: https://github.com/configu/setup-cli-orb
- Owner: configu
- License: apache-2.0
- Created: 2022-07-19T15:24:59.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-04T13:44:32.000Z (8 months ago)
- Last Synced: 2025-03-06T00:02:03.325Z (7 months ago)
- Topics: circleci, circleci-orbs, configuration, configuration-files, configuration-management
- Homepage: https://circleci.com/developer/orbs/orb/configu/setup-cli-orb
- Size: 15.6 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# configu/setup-cli-orb
[](https://circleci.com/gh/configu/setup-cli-orb) [](https://circleci.com/orbs/registry/orb/configu/setup-cli-orb) [](https://discuss.circleci.com/c/ecosystem/orbs)
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
```yaml
version: 2.1
orbs:
configu: configu/setup-cli-orb@X.Y.Zjobs:
use-configu:
docker:
- image: cimg/base:stable
steps:
- configu/setupworkflows:
deploy:
jobs:
- use-configu
```A specific version of Configu CLI can be installed.
```yaml
steps:
- configu/setup:
version: 0.4.4
- run: configu --version
```Credentials for `Configu store` ([app.configu.com](https://app.configu.com/)) can be configured.
```yaml
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](https://github.com/configu/setup-cli-orb/blob/main/src/commands/setup.yml#L4).
## License
This orb is licensed under [Apache License 2.0](https://github.com/configu/setup-cli-orb/blob/main/LICENSE).
## References
- [Configu SaaS platform (app.configu.com)](https://app.configu.com/)
- [Configu Documentation](https://configu.com/docs)
- [CircleCI Orb Registry Page](https://circleci.com/orbs/registry/orb/configu/setup-cli-orb) - The official registry page of this orb for all versions, executors, commands, and jobs described.
- [CircleCI Orb Docs](https://circleci.com/docs/2.0/orb-intro/#section=configuration) - Docs for using, creating, and publishing CircleCI Orbs.