From a1f8f76da14f46a7f21a7ed8821948a6f1ff3e5d Mon Sep 17 00:00:00 2001 From: rotem-cf Date: Tue, 23 Nov 2021 17:49:04 +0200 Subject: [PATCH 1/5] sent the prepared repo FS instead of CloneOpts.FS bump version --- CHANGELOG.md | 2 +- Makefile | 2 +- cmd/commands/app.go | 2 +- docs/releases/release_notes.md | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e9fe875..6f131712 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog: -# v0.2.24 +# v0.2.25 ### Features * Added `--context` flag to `repo bootstrap`, `repo uninstall` and `app create`. [#199](https://github.com/argoproj-labs/argocd-autopilot/pull/199) diff --git a/Makefile b/Makefile index 0fcec2f2..ca036725 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION=v0.2.24 +VERSION=v0.2.25 OUT_DIR=dist CLI_NAME?=argocd-autopilot diff --git a/cmd/commands/app.go b/cmd/commands/app.go index 11c5b4de..64f42683 100644 --- a/cmd/commands/app.go +++ b/cmd/commands/app.go @@ -215,7 +215,7 @@ func RunAppCreate(ctx context.Context, opts *AppCreateOptions) error { } if opts.Timeout > 0 { - namespace, err := getInstallationNamespace(opts.CloneOpts.FS) + namespace, err := getInstallationNamespace(repofs) if err != nil { return fmt.Errorf("failed to get application namespace: %w", err) } diff --git a/docs/releases/release_notes.md b/docs/releases/release_notes.md index 237f2dbb..de8d364f 100644 --- a/docs/releases/release_notes.md +++ b/docs/releases/release_notes.md @@ -20,7 +20,7 @@ argocd-autopilot version ### Linux and WSL (using curl): ```bash # download and extract the binary -curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.2.24/argocd-autopilot-linux-amd64.tar.gz | tar zx +curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.2.25/argocd-autopilot-linux-amd64.tar.gz | tar zx # move the binary to your $PATH mv ./argocd-autopilot-* /usr/local/bin/argocd-autopilot @@ -32,7 +32,7 @@ argocd-autopilot version ### Mac (using curl): ```bash # download and extract the binary -curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.2.24/argocd-autopilot-darwin-amd64.tar.gz | tar zx +curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.2.25/argocd-autopilot-darwin-amd64.tar.gz | tar zx # move the binary to your $PATH mv ./argocd-autopilot-* /usr/local/bin/argocd-autopilot @@ -47,5 +47,5 @@ When using the Docker image, you have to provide the `.kube` and `.gitconfig` di docker run \ -v ~/.kube:/home/autopilot/.kube \ -v ~/.gitconfig:/home/autopilot/.gitconfig \ - -it quay.io/argoprojlabs/argocd-autopilot:v0.2.24 + -it quay.io/argoprojlabs/argocd-autopilot:v0.2.25 ``` From 4adf24e0046ed0fb618ff853acca2cf1205a447b Mon Sep 17 00:00:00 2001 From: rotem-cf Date: Tue, 23 Nov 2021 18:23:44 +0200 Subject: [PATCH 2/5] change log fix --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f131712..2d78d007 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ # v0.2.25 +### Bug Fixes +* Fixed failed installation into a repo sub-directory [#206](https://github.com/argoproj-labs/argocd-autopilot/pull/206) + +# v0.2.24 + ### Features * Added `--context` flag to `repo bootstrap`, `repo uninstall` and `app create`. [#199](https://github.com/argoproj-labs/argocd-autopilot/pull/199) From b5b71c185dff96614541dd4b57bd1ac04e0c6939 Mon Sep 17 00:00:00 2001 From: rotem-cf Date: Wed, 24 Nov 2021 11:58:26 +0200 Subject: [PATCH 3/5] revert some changes --- CHANGELOG.md | 5 ----- Makefile | 2 +- docs/releases/release_notes.md | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d78d007..8e9fe875 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,5 @@ # Changelog: -# v0.2.25 - -### Bug Fixes -* Fixed failed installation into a repo sub-directory [#206](https://github.com/argoproj-labs/argocd-autopilot/pull/206) - # v0.2.24 ### Features diff --git a/Makefile b/Makefile index ca036725..0fcec2f2 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION=v0.2.25 +VERSION=v0.2.24 OUT_DIR=dist CLI_NAME?=argocd-autopilot diff --git a/docs/releases/release_notes.md b/docs/releases/release_notes.md index de8d364f..67219655 100644 --- a/docs/releases/release_notes.md +++ b/docs/releases/release_notes.md @@ -20,7 +20,7 @@ argocd-autopilot version ### Linux and WSL (using curl): ```bash # download and extract the binary -curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.2.25/argocd-autopilot-linux-amd64.tar.gz | tar zx +curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.2.24/argocd-autopilot-linux-amd64.tar.gz | tar zx # move the binary to your $PATH mv ./argocd-autopilot-* /usr/local/bin/argocd-autopilot From 459c76e9c08286e817085e29b389560267e420a4 Mon Sep 17 00:00:00 2001 From: rotem-cf Date: Wed, 24 Nov 2021 11:59:39 +0200 Subject: [PATCH 4/5] revert some changes --- docs/releases/release_notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/releases/release_notes.md b/docs/releases/release_notes.md index 67219655..6fb2f483 100644 --- a/docs/releases/release_notes.md +++ b/docs/releases/release_notes.md @@ -32,7 +32,7 @@ argocd-autopilot version ### Mac (using curl): ```bash # download and extract the binary -curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.2.25/argocd-autopilot-darwin-amd64.tar.gz | tar zx +curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.2.24/argocd-autopilot-darwin-amd64.tar.gz | tar zx # move the binary to your $PATH mv ./argocd-autopilot-* /usr/local/bin/argocd-autopilot From fe853976007704ec522f22d8c0e5288f82f70b6b Mon Sep 17 00:00:00 2001 From: rotem-cf Date: Wed, 24 Nov 2021 12:00:19 +0200 Subject: [PATCH 5/5] revert --- docs/releases/release_notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/releases/release_notes.md b/docs/releases/release_notes.md index 6fb2f483..237f2dbb 100644 --- a/docs/releases/release_notes.md +++ b/docs/releases/release_notes.md @@ -47,5 +47,5 @@ When using the Docker image, you have to provide the `.kube` and `.gitconfig` di docker run \ -v ~/.kube:/home/autopilot/.kube \ -v ~/.gitconfig:/home/autopilot/.gitconfig \ - -it quay.io/argoprojlabs/argocd-autopilot:v0.2.25 + -it quay.io/argoprojlabs/argocd-autopilot:v0.2.24 ```