Skip to content

reliablyhq/actions

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Reliably GitHub Actions | Optimise your operations

License

InstallationDocumentation


The Reliably CLI is your interface to the Reliably services.

Requirements

This action requires the following:

  • That you have created an account with Reliably
  • A token. You can generate one from the Reliably dashboard then store it as an Environment secret in your GitHub repository under the name RELIABLY_SERVICE_TOKEN

Actions

Plan

The main action in this repository is the plan action. It features:

  • Runs Reliably plan from within a GitHub workflow
  • Allows you to keep your sensitive data in a GitHub Environment so that you keep them close to your operations
  • Reports its results back to Reliably
  • Stores the result files (the log and journal) as a commit in the repository
  • Stores a file listing all the licences of all the packages used as part of run within the commit

The basic action usage is as follows:

name: Execute a Reliably Plan

on:
  workflow_dispatch:

jobs:
  execute-reliably-plan:
    runs-on: ubuntu-22.04
    steps:
    - uses: actions/checkout@v3
    - uses: reliablyhq/actions/plan@main

Store this as a workflow called reliably-plan.yaml.

More information

The Reliably Plan Action has properties which are passed to the underlying script. These are passed to the action using with.

Property Default Description
python-version "3.11" Run Reliably using this version of Python (3.11+)
github-token GitHub token with enough permissions to commit to the repository. Usually set it with ${{ secrets.GITHUB_TOKEN }}
reliably-service-token Reliably token to authenticate with Reliably services. Usually set it with ${{ secrets.RELIABLY_SERVICE_TOKEN }}
reliably-host "app.reliably.com" The Reliably host. Only useful if you run Reliably on your own host
org-id Reliably organization identifier for this run
plan-id Reliably plan identifier for this run
working-dir "./plans" Repository relative directory where to run the plan from
reliably-experiment-extra A JSOn encoded object loaded by reliably to add to the results

Various notes

  • The action automatically installs the Reliably CLI and many Chaos Toolkit extensions for you
  • If you create a bin directory at the top of your repository, the action will automatically add it to the PATH if your plan requires access to specific utilities.
  • The action downloads and provided the aws-iam-authenticator binary for you so you can authenticate against AWS EKS clusters

Setup

This action is useful when you want to install the Reliably CLI and call one of its commands.