Skip to content

Commit

Permalink
updated readme with brew install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
dilerous committed Jul 23, 2024
1 parent 5789a97 commit 7346902
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,18 @@
cnvrg.io delivery cli tool

## How to Install
1. Download the binary from `releases`:
1. Download the binary from `releases`.

`https://github.com/dilerous/cnvrgctl/releases`

#### Build from source
#### Install using Homebrew
1. `brew tap dilerous/homebrew-dilerous`

2. `brew install cnvrgctl`

3. `cnvrgctl --help`

#### Build from Source
1. Download and install golang.

`https://go.dev/doc/install`
Expand All @@ -19,6 +26,8 @@ cnvrg.io delivery cli tool

`make linux` #Create binary for amd64 on Linux

4. `cnvrgctl --help`

## How to Use
1. Run cnvrgctl as a normal cli tool

Expand Down
8 changes: 4 additions & 4 deletions cmd/logs/logs_test.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
package logs

import (
"bytes"
"errors"
"fmt"
"os"
"path/filepath"
"strings"
"testing"

root "github.com/dilerous/cnvrgctl/cmd"
"gotest.tools/assert"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
Expand Down Expand Up @@ -203,6 +200,7 @@ func TestCreateTarGzError(t *testing.T) {

}

/*
func Test_ExecuteAnyCommand(t *testing.T) {
// Test calling connectToK8s()
Expand Down Expand Up @@ -239,10 +237,12 @@ func Test_ExecuteAnyCommand(t *testing.T) {
assert.Equal(t, logsActual.Len(), expected, "the expected length doesn't match")
}
*/

func TestRunCleanup(t *testing.T) {
// Specify the file path
filesToDelete := []string{"../cmd/test.tar.gz", "../cmd/logs.tar.gz"}
goPath := "/Users/bsoper/Documents/code/go_code/cnvrgctl/cmd/logs"
filesToDelete := []string{goPath + "test.tar.gz", goPath + "logs.tar.gz"}

// Cleanup the testing files
for _, file := range filesToDelete {
Expand Down

0 comments on commit 7346902

Please sign in to comment.