Skip to content

configu/setup-cli-codefresh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

configu/setup-cli-codefresh

Codefresh build status

The configu/setup-cli-codefresh project contains a typed plugin that sets up Configu CLI in your Codefresh pipelines workflow by downloading a specific version of Configu CLI and adding it to the PATH.

After you've used the plugin, subsequent commands in the same step 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.

workflow:
  configu_export:
    title: Export configurations
    type: configu
    arguments:
      COMMANDS:
        - configu --version
        - configu eval --store 'configu' --set 'test/codefresh' --schema '/codefresh/volume/${{CF_REPO_NAME}}/.cfgu.json' | configu export

A specific version of Configu CLI can be installed.

workflow:
  configu_version:
    title: Install specific version of Configu CLI
    type: configu
    arguments:
      VERSION: 0.12.5
      COMMANDS:
        - configu --version

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

  1. In your Configu platform organization, go to Settings > Access Tokens
  2. Create a new Access token and copy its value
  3. In your Codefresh project, go to to Projects > Settings > Variables
  4. Create a new CONFIGU_ORG variable with your Configu Organization id
  5. Create a new CONFIGU_TOKEN variable with the Access Token value you copied in step 2, make sure to enable "Encrypt Value".

Variables

The plugin supports the following inputs.

License

This plugin is licensed under Apache License 2.0.

References

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published