https://github.com/unionai-oss/flytectl-setup-action
Install and setup flytectl for use in other actions
https://github.com/unionai-oss/flytectl-setup-action
flyte
Last synced: 4 months ago
JSON representation
Install and setup flytectl for use in other actions
- Host: GitHub
- URL: https://github.com/unionai-oss/flytectl-setup-action
- Owner: unionai-oss
- Created: 2021-06-06T17:25:13.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-16T03:55:05.000Z (over 1 year ago)
- Last Synced: 2025-05-18T11:11:24.637Z (5 months ago)
- Topics: flyte
- Language: TypeScript
- Homepage: https://github.com/flyteorg/flytectl
- Size: 637 KB
- Stars: 6
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# flytectl-setup-action
This action sets up [flytectl](https://docs.flyte.org/projects/flytectl/en/stable/) for use in actions.
## Usage
Refer to the [action.yml](https://github.com/unionai/flytectl-setup-action/blob/master/action.yml) to see all of the action parameters.
**Inputs**
Name | Description | Example
--- | --- | ---
version | The version of flytectl to download and use, Default value is latest | v0.2.20Install specific version of flytectl
```yaml
steps:
- uses: actions/checkout@v2
- uses: unionai-oss/flytectl-setup-action@master
with:
version: '0.2.21' # The version of flytectl to download and use.
- run: flytectl --help
```Install latest version of flytectl
```yaml
steps:
- uses: actions/checkout@v2
- uses: unionai-oss/flytectl-setup-action@master
- run: flytectl --help
```## Getting started Example
```bash
name: flytectl-setup-action
on: [push]
jobs:
install-flytectl:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: unionai-oss/flytectl-setup-action@master
- name: Setup demo cluster
run: flytectl demo start
- name: Setup flytectl config
run: flytectl config init
```