-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #186 from runpod/release-prep
Release prep
- Loading branch information
Showing
17 changed files
with
151 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Output docs/cli/demos/config.gif | ||
|
||
Set FontSize 20 | ||
Set Width 1000 | ||
Set Height 150 | ||
Set Padding 20 | ||
|
||
Type "runpod config" | ||
Enter | ||
|
||
Sleep 4s | ||
|
||
Type "<Paste your RunPod API Key here>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Output docs/cli/demos/help.gif | ||
|
||
Set FontSize 20 | ||
Set Width 1000 | ||
Set Height 500 | ||
Set Padding 20 | ||
|
||
Type "runpod --help" | ||
Enter | ||
|
||
Sleep 6s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Output docs/cli/demos/ssh.gif | ||
|
||
Set FontSize 20 | ||
Set Width 1000 | ||
Set Height 200 | ||
Set Padding 20 | ||
|
||
Type "runpod ssh add-key" | ||
Enter | ||
|
||
Sleep 4s | ||
|
||
Type "y" | ||
Enter | ||
|
||
Sleep 4s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: vhs | ||
on: | ||
push: | ||
# paths: | ||
# - vhs.tape | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
vhs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install runpod | ||
run: | | ||
pip install . | ||
# runpod --help | ||
- uses: charmbracelet/vhs-action@v1 | ||
with: | ||
path: ".github/tape_collection/cli_help.tape" | ||
|
||
# runpod config | ||
- uses: charmbracelet/vhs-action@v1 | ||
with: | ||
path: ".github/tape_collection/cli_config.tape" | ||
|
||
# runpod ssh | ||
- uses: charmbracelet/vhs-action@v1 | ||
with: | ||
path: ".github/tape_collection/cli_ssh.tape" | ||
|
||
# Add gifs to commit | ||
- uses: stefanzweifel/git-auto-commit-action@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
commit_message: Update generated VHS GIF | ||
commit_user_name: vhs-action 📼 | ||
commit_user_email: [email protected] | ||
commit_author: vhs-action 📼 <[email protected]> | ||
file_pattern: "*.gif" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# [BETA] | RunPod Python CLI Reference | ||
|
||
Note: This CLI is not the same as runpodctl and provides a different set of features. | ||
|
||
## Getting Started | ||
|
||
![runpod --help](demos/help.gif) | ||
|
||
### Configure | ||
|
||
![runpod config](demos/config.gif) | ||
|
||
Store your RunPod API key by running `runpod config`. Optionally you can also call the command with your API key `runpod config YOUR_API_KEY` or include the `--profile` to save multiple keys (stored under "default" profile is not specified) Credentials are stored in `~/.runpod/config.toml`. | ||
|
||
![runpod ssh add-key](demos/ssh.gif) | ||
|
||
Add a SSH key to you account by running `runpod ssh add-key`. To specify and existing key pass in `--key` or `--key-file` to use a file. Keys are stored in `~/.runpod/ssh/`. If no key is specified a new one will be generated and stored. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 7 additions & 2 deletions
9
runpod/cli/groups/project/starter_templates/default/builder/requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
# List your python dependencies here. See https://pip.pypa.io/en/stable/user_guide/#requirements-files | ||
# Required Python packages get listed here, one per line. | ||
# Reccomended to lock the version number to avoid unexpected changes. | ||
|
||
runpod==1.3.0 | ||
# You can also install packages from a git repository, e.g.: | ||
# git+https://github.com/runpod/runpod-python.git | ||
# To learn more, see https://pip.pypa.io/en/stable/reference/requirements-file-format/ | ||
|
||
<<RUNPOD>> |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters