Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uffizzicloud/setup-action
Sets up Uffizzi with the CLI, typically used by the cluster-action or preview-action
https://github.com/uffizzicloud/setup-action
Last synced: 13 days ago
JSON representation
Sets up Uffizzi with the CLI, typically used by the cluster-action or preview-action
- Host: GitHub
- URL: https://github.com/uffizzicloud/setup-action
- Owner: UffizziCloud
- Created: 2023-07-12T15:32:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-15T14:42:01.000Z (over 1 year ago)
- Last Synced: 2023-09-16T04:16:20.240Z (over 1 year ago)
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Setup Action
The Uffizzi Setup Action is a GitHub Action that facilitates the installation of the latest Uffizzi CLI Linux binary from the [Uffizzi CLI](https://github.com/UffizziCloud/uffizzi_cli) repository. This action enables users to easily set up the Uffizzi CLI binary in their workflows and subsequently utilize it for various tasks. By using this action, users can seamlessly integrate Uffizzi's capabilities into their development workflows, allowing them to manage Kubernetes clusters effortlessly.
## Overview
The Setup Action automates downloading and configuring the Uffizzi CLI binary. With this action, users can ensure that they are always using the latest version of the CLI, facilitating efficient management of Kubernetes clusters and Preview Environments. This action serves as a prerequisite for utilizing the [Uffizzi Cluster Action](https://github.com/UffizziCloud/cluster-action), which enables the creation and deletion of Uffizzi uClusters.
## Inputs
1. **release-tag:**
- **Description:** Tag for the CLI release. Use "latest" to get the most recent release.
- **Required:** Yes
- **Default:** "latest"2. **binary-name:**
- **Description:** Name of the CLI binary.
- **Required:** Yes
- **Default:** "uffizzi-linux"## Usage
You can incorporate the Setup Action into your GitHub Actions workflows using the following configuration in your workflow YAML file:
```yaml
name: Your Workflow Nameon: [push]
jobs:
setup-uffizzi:
runs-on: ubuntu-lateststeps:
- name: Checkout code
uses: actions/checkout@v2- name: Setup Uffizzi CLI
uses: UffizziCloud/setup-action@v1
with:
release-tag: ${{ github.event.inputs.release-tag }} # Replace with the desired release tag
binary-name: ${{ github.event.inputs.binary-name }} # Replace with the desired binary name
```## How It Works
The UffizziCloud Setup Action performs the following steps to set up the Uffizzi CLI binary:1. Downloads the Uffizzi CLI binary from the specified release tag.
2. Makes the binary executable using the chmod command.This action prepares the Uffizzi CLI binary for use in subsequent steps of your workflow.