No description
  • TypeScript 97%
  • JavaScript 3%
Find a file
2020-10-22 11:53:42 -07:00
.github update acceptance test to use newer binary 2020-10-22 11:46:28 -07:00
__tests__ fix typo, use beta5 in test 2020-10-09 12:33:46 -07:00
dist re-run build/package 2020-10-22 11:41:33 -07:00
src update acceptance test to use newer binary 2020-10-22 11:46:28 -07:00
.eslintignore initial commit 2020-09-04 11:23:27 -07:00
.eslintrc.json initial commit 2020-09-04 11:23:27 -07:00
.gitattributes initial commit 2020-09-04 11:23:27 -07:00
.gitignore initial commit 2020-09-04 11:23:27 -07:00
.prettierignore initial commit 2020-09-04 11:23:27 -07:00
.prettierrc.json initial commit 2020-09-04 11:23:27 -07:00
action.yml update to accept product name 2020-09-16 08:48:20 -07:00
jest.config.js initial commit 2020-09-04 11:23:27 -07:00
LICENSE initial commit 2020-09-04 11:23:27 -07:00
package-lock.json Merge pull request #24 from hashicorp/dependabot/npm_and_yarn/eslint-7.11.0 2020-10-15 17:10:06 -07:00
package.json Merge pull request #24 from hashicorp/dependabot/npm_and_yarn/eslint-7.11.0 2020-10-15 17:10:06 -07:00
README.md Correct minor indentation in example usage 2020-10-15 17:42:31 +01:00
tsconfig.json initial commit 2020-09-04 11:23:27 -07:00

setup-waypoint

This action sets up Waypoint for use by other actions by installing and configuring the CLI to communicate with an external Waypoint server.

This action is a building block for using Waypoint with GitHub Actions. If you are interested in automatically deploying, annotating, and releasing with Waypoint and GitHub actions, see the experimental hashicorp/action-waypoint action, which uses this one as a dependency.

Waypoint must be running in server mode on a network that the GitHub actions runner can communciate with for this action to be used.

For more information, see the documentation on integrating GitHub Actions with Waypoint.

Usage

env:
  WAYPOINT_SERVER_TOKEN: ${{ secrets.WAYPOINT_SERVER_TOKEN }}
  WAYPOINT_SERVER_ADDR: waypoint.example.com:9701
  WAYPOINT_SERVER_TLS: 1
  WAYPOINT_SERVER_TLS_SKIP_VERIFY: 1

steps:
  - uses: actions/checkout@v2
  - uses: hashicorp/action-setup-waypoint
    with:
      version: '0.1.0'
  - run: waypoint init
  - run: waypoint build

Inputs

Input Description Default Required
version The version of Waypoint to install

Development

Install the dependencies

$ npm install

Build the typescript and package it for distribution

$ npm run build && npm run package

Run the tests

$ npm test
...