Giter VIP home page Giter VIP logo

install-octopus-cli-action's Introduction

install-octopus-cli-action

This is a GitHub Action to install the new Octopus CLI (octopus) on runners and self-hosted environments. Once installed, the Octopus CLI may be used to issue commands to Octopus Deploy. Subsequent actions may use the Octopus CLI, which is cached and available via PATH.

What is the Octopus CLI?

The Octopus CLI is a command line tool that builds on top of the Octopus REST API. It enables you to package applications for deployment and manage your environments, deployments, channels, projects, and workers in Octopus Deploy.

Features

  • Download, install, and cache Octopus CLI to be used in workflows
  • Supports SemVer-based version numbers with wildcards (i.e. 0.8.*) but not ranges

Migration Guide(s)

Please refer to the migration guide if moving between major versions of this action.

Examples

To install the latest version (i.e. * or latest) of the Octopus CLI:

- name: Install Octopus CLI ๐Ÿ™
  uses: OctopusDeploy/install-octopus-cli-action@v3
  with:
    version: '*'

To install a specific version of the Octopus CLI:

- name: Install Octopus CLI ๐Ÿ™
  uses: OctopusDeploy/install-octopus-cli-action@v3
  with:
    version: 0.8.0

Here's an example of invoking the account list command after installing the Octopus CLI:

- name: Install Octopus CLI ๐Ÿ™
  uses: OctopusDeploy/install-octopus-cli-action@v3
  with:
    version: 0.8.0
- name: list-octopusdeploy-accounts
  env:
    OCTOPUS_API_KEY: ${{ secrets.apiKey }}
    OCTOPUS_URL: ${{ secrets.serverURL }}
    OCTOPUS_SPACE: 'Outer Space'
  run: >
    octopus account list

๐Ÿ“ฅ Inputs

The following input is optional:

Name Description Default
version The release version number of the Octopus CLI to download and install (e.g. 0.8.0). * (latest)

๐Ÿค Contributions

Contributions are welcome! โค๏ธ Please read our Contributing Guide for information about how to get involved in this project.

install-octopus-cli-action's People

Contributors

adminturneddevops avatar benjimac93 avatar dependabot[bot] avatar github-actions[bot] avatar hnrkndrssn avatar jbristowe avatar matt-richardson avatar slewis74 avatar team-integrations-fnm-bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.