GithubHelp home page GithubHelp logo

isabella232 / install-octopus-cli-action Goto Github PK

View Code? Open in Web Editor NEW

This project forked from octopusdeploy/install-octopus-cli-action

0.0 0.0 0.0 10.74 MB

:octocat: GitHub Action to Install the Octopus CLI

Home Page: https://github.com/marketplace/actions/install-octopus-cli

License: Other

TypeScript 100.00%

install-octopus-cli-action's Introduction

install-octopus-cli-action

This is a GitHub Action to install the Octopus CLI 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. 8.*) but not ranges

Examples

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

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

To install a specific version of the Octopus CLI:

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

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

- name: Install Octopus CLI ๐Ÿ™
  uses: OctopusDeploy/install-octopus-cli-action@v1
  with:
    version: 9.0.0
- name: list-octopusdeploy-deployments
  run: >
    octo list-deployments --server=${{ env.serverURL }}
      --apiKey=${{ secrets.apiKey }}

๐Ÿ“ฅ Inputs

The following input is optional:

Name Description Default
version The version number of the Octopus CLI to download and install (i.e. 7.4.3190). * (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 dependabot[bot] avatar github-actions[bot] avatar hnrkndrssn avatar jbristowe avatar johnsimons avatar matt-richardson 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.