-
Notifications
You must be signed in to change notification settings - Fork 37
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 #70 from justinmerrell/wsl-fix
Final Code Cleanup
- Loading branch information
Showing
45 changed files
with
477 additions
and
318 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 |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
id: release | ||
with: | ||
release-type: go | ||
package-name: runpodctl | ||
package-name: runpod | ||
pull-request-title-pattern: release${component} ${version} | ||
|
||
- uses: actions/checkout@v2 | ||
|
@@ -30,10 +30,10 @@ jobs: | |
- name: build | ||
if: ${{ steps.release.outputs.release_created }} | ||
run: | | ||
env GOOS=linux GOARCH=amd64 go build -ldflags "-X 'main.Version=${{ steps.release.outputs.tag_name }}'" -o bin/runpodctl-linux-amd64 . | ||
env GOOS=darwin GOARCH=amd64 go build -ldflags "-X 'main.Version=${{ steps.release.outputs.tag_name }}'" -o bin/runpodctl-darwin-amd64 . | ||
env GOOS=darwin GOARCH=arm64 go build -ldflags "-X 'main.Version=${{ steps.release.outputs.tag_name }}'" -o bin/runpodctl-darwin-arm64 . | ||
env GOOS=windows GOARCH=amd64 go build -ldflags "-X 'main.Version=${{ steps.release.outputs.tag_name }}'" -o bin/runpodctl-windows-amd64 . | ||
env GOOS=linux GOARCH=amd64 go build -ldflags "-X 'main.Version=${{ steps.release.outputs.tag_name }}'" -o bin/runpod-linux-amd64 . | ||
env GOOS=darwin GOARCH=amd64 go build -ldflags "-X 'main.Version=${{ steps.release.outputs.tag_name }}'" -o bin/runpod-darwin-amd64 . | ||
env GOOS=darwin GOARCH=arm64 go build -ldflags "-X 'main.Version=${{ steps.release.outputs.tag_name }}'" -o bin/runpod-darwin-arm64 . | ||
env GOOS=windows GOARCH=amd64 go build -ldflags "-X 'main.Version=${{ steps.release.outputs.tag_name }}'" -o bin/runpod-windows-amd64.exe . | ||
- name: upload linux amd64 release binary | ||
if: ${{ steps.release.outputs.release_created }} | ||
|
@@ -42,36 +42,39 @@ jobs: | |
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.release.outputs.upload_url }} | ||
asset_path: bin/runpodctl-linux-amd | ||
asset_name: runpodctl-linux-amd | ||
asset_path: bin/runpod-linux-amd64 | ||
asset_name: runpod-linux-amd64 | ||
asset_content_type: application/octet-stream | ||
|
||
- name: upload darwin amd64 release binary | ||
if: ${{ steps.release.outputs.release_created }} | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.release.outputs.upload_url }} | ||
asset_path: bin/runpodctl-darwin-amd | ||
asset_name: runpodctl-darwin-amd | ||
asset_path: bin/runpod-darwin-amd64 | ||
asset_name: runpod-darwin-amd64 | ||
asset_content_type: application/octet-stream | ||
|
||
- name: upload darwin arm64 release binary | ||
if: ${{ steps.release.outputs.release_created }} | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.release.outputs.upload_url }} | ||
asset_path: bin/runpodctl-darwin-arm | ||
asset_name: runpodctl-darwin-arm | ||
asset_path: bin/runpod-darwin-arm64 | ||
asset_name: runpod-darwin-arm64 | ||
asset_content_type: application/octet-stream | ||
|
||
- name: upload windows amd64 release binary | ||
if: ${{ steps.release.outputs.release_created }} | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.release.outputs.upload_url }} | ||
asset_path: bin/runpodctl-win-amd | ||
asset_name: runpodctl-win-amd | ||
asset_path: bin/runpod-windows-amd64.exe | ||
asset_name: runpod-windows-amd64.exe | ||
asset_content_type: application/octet-stream |
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
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
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
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
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
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 |
---|---|---|
|
@@ -6,3 +6,4 @@ | |
# To learn more, see https://pip.pypa.io/en/stable/reference/requirements-file-format/ | ||
|
||
<<RUNPOD>> | ||
hf_transfer |
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
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
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
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,29 @@ | ||
## runpod | ||
|
||
CLI for runpod.io | ||
|
||
### Synopsis | ||
|
||
CLI tool to manage your pods for runpod.io | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for runpod | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [runpod config](runpod_config.md) - CLI Config | ||
* [runpod create](runpod_create.md) - create a resource | ||
* [runpod get](runpod_get.md) - get resource | ||
* [runpod project](runpod_project.md) - manage projects | ||
* [runpod receive](runpod_receive.md) - receive file(s), or folder | ||
* [runpod remove](runpod_remove.md) - remove a resource | ||
* [runpod send](runpod_send.md) - send file(s), or folder | ||
* [runpod start](runpod_start.md) - start a resource | ||
* [runpod stop](runpod_stop.md) - stop a resource | ||
* [runpod update](runpod_update.md) - update runpod cli | ||
* [runpod version](runpod_version.md) - runpod cli version | ||
|
||
###### Auto generated by spf13/cobra on 26-Jan-2024 |
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
Oops, something went wrong.