Skip to content

Commit 5c8fde0

Browse files
Removed redundant auth for cloning the market-place git source repo (#163)
* Removed redundant auth for cloning the market-place git source repo * Bumped cli-v2 version to 0.0.151
1 parent 5e2dbc2 commit 5c8fde0

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=v0.0.150
1+
VERSION=v0.0.151
22

33
OUT_DIR=dist
44
YEAR?=$(shell date +"%Y")

cmd/commands/runtime.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,9 @@ func RunRuntimeInstall(ctx context.Context, opts *RuntimeInstallOptions) error {
338338
rt.Spec.Repo = opts.InsCloneOpts.Repo
339339

340340
var installationErr error
341-
341+
342342
defer reportInstallationErrorToPlatform(ctx, opts.RuntimeName, &installationErr)
343-
343+
344344
log.G(ctx).WithField("version", rt.Spec.Version).Infof("Installing runtime '%s'", opts.RuntimeName)
345345
err = apcmd.RunRepoBootstrap(ctx, &apcmd.RepoBootstrapOptions{
346346
AppSpecifier: rt.Spec.FullSpecifier(),
@@ -403,7 +403,6 @@ func RunRuntimeInstall(ctx context.Context, opts *RuntimeInstallOptions) error {
403403

404404
mpCloneOpts := &git.CloneOptions{
405405
Repo: store.Get().MarketplaceRepo,
406-
Auth: opts.GsCloneOpts.Auth,
407406
FS: fs.Create(memfs.New()),
408407
}
409408
mpCloneOpts.Parse()
@@ -430,7 +429,7 @@ func RunRuntimeInstall(ctx context.Context, opts *RuntimeInstallOptions) error {
430429
wg.Wait()
431430

432431
log.G(ctx).Infof("Done installing runtime '%s'", opts.RuntimeName)
433-
432+
434433
return nil
435434
}
436435

docs/releases/release_notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ cf version
2020
### Linux
2121
```bash
2222
# download and extract the binary
23-
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.150/cf-linux-amd64.tar.gz | tar zx
23+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.151/cf-linux-amd64.tar.gz | tar zx
2424

2525
# move the binary to your $PATH
2626
mv ./cf-linux-amd64 /usr/local/bin/cf
@@ -32,7 +32,7 @@ cf version
3232
### Mac
3333
```bash
3434
# download and extract the binary
35-
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.150/cf-darwin-amd64.tar.gz | tar zx
35+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.151/cf-darwin-amd64.tar.gz | tar zx
3636

3737
# move the binary to your $PATH
3838
mv ./cf-darwin-amd64 /usr/local/bin/cf

manifests/runtime.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
namespace: "{{ namespace }}"
66
spec:
77
defVersion: 1.0.0
8-
version: 0.0.150
8+
version: 0.0.151
99
bootstrapSpecifier: github.com/codefresh-io/cli-v2/manifests/argo-cd
1010
components:
1111
- name: events

0 commit comments

Comments
 (0)