Code Monkey home page Code Monkey logo

push-build-information-action's Introduction

push-build-information-action

This is a GitHub Action to push build information to Octopus Deploy.

This action captures the following build information:

  • BuildNumber: The unique ID of the build that was triggered.
  • BuildUrl: The link to the build that was triggered.
  • Branch: The branch or tag name that triggered the build.
  • VcsRoot: The URL to the GitHub repository.
  • VcsCommitNumber: The commit SHA that triggered the build.
  • Commits: List of commits that was part of the build.

Examples

Incorporate the following actions in your workflow to push build information to Octopus Deploy using an API key, a target instance (i.e. server), and a package:

env:
  OCTOPUS_API_KEY: ${{ secrets.OCTOPUS_API_KEY }} # API key used with Octopus Deploy instance
  OCTOPUS_HOST: ${{ secrets.OCTOPUS_HOST }}       # address of Octopus Deploy instance (i.e. https://demo.octopus.app)
  OCTOPUS_SPACE: '<spacename>'                    # or you can specify a Space ID
steps:
  - uses: actions/checkout@v2
  - name: Push build information to Octopus Deploy ๐Ÿ™
    uses: OctopusDeploy/push-build-information-action@v1
    with:
      packages: |
        '<packageId1>'
      version: '<versionofpackages>'

๐Ÿ“ฅ Inputs

The following inputs are required:

Name Description Default
packages A multi-line list of packages to push build information to Octopus Deploy.
version The version of the package(s).

The following inputs are optional:

Name Description Default
branch The branch name, if omitted the GitHub ref will be used.
debug Logs the build information data. false
overwrite_mode Determines the action to perform with build information if it already exists in the repository. Valid input values are FailIfExists, OverwriteExisting, and IgnoreIfExists. FailIfExists

๐Ÿค Contributions

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

push-build-information-action's People

Contributors

dependabot[bot] avatar domenicsim1 avatar github-actions[bot] avatar hnrkndrssn avatar jbristowe avatar knd775 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.