From e11f12ea9556e25bfcd0503455b3a74fd65e001e Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Thu, 8 Feb 2024 10:28:54 +0200 Subject: [PATCH 1/3] created new release Signed-off-by: Noam Gal --- CHANGELOG.md | 14 ++++++++++++++ Makefile | 2 +- docs/releases/release_notes.md | 6 +++--- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b2a53595..f11c532f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog: +# v0.4.18 +- [chore] Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 [#523](https://github.com/argoproj-labs/argocd-autopilot/pull/523) +- [chore] Bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc [#525](https://github.com/argoproj-labs/argocd-autopilot/pull/525) +- [chore] Bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 [#528](https://github.com/argoproj-labs/argocd-autopilot/pull/528) +- [chore] Bump code.gitea.io/sdk/gitea from 0.16.0 to 0.17.0 [#532](https://github.com/argoproj-labs/argocd-autopilot/pull/532) +- [chore] Bump github.com/go-git/go-git/v5 from 5.9.0 to 5.11.0 [#519](https://github.com/argoproj-labs/argocd-autopilot/pull/519) [#531](https://github.com/argoproj-labs/argocd-autopilot/pull/531) [#539](https://github.com/argoproj-labs/argocd-autopilot/pull/539) +- [chore] Bump github.com/spf13/viper from 1.17.0 to 1.18.2 [#537](https://github.com/argoproj-labs/argocd-autopilot/pull/537) [#543](https://github.com/argoproj-labs/argocd-autopilot/pull/543) +- [chore] Bump golang.org/x/crypto from 0.16.0 to 0.17.1 [#542](https://github.com/argoproj-labs/argocd-autopilot/pull/542) [#544](https://github.com/argoproj-labs/argocd-autopilot/pull/544) +- [chore] Bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 [#546](https://github.com/argoproj-labs/argocd-autopilot/pull/546) +- [chore] Bump github.com/argoproj/argo-cd/v2 to 2.10.0 [#554](https://github.com/argoproj-labs/argocd-autopilot/pull/554) +- [chore] Bump github.com/xanzy/go-gitlab from 0.93.1 to 0.97.0 [#518](https://github.com/argoproj-labs/argocd-autopilot/pull/518) [#526](https://github.com/argoproj-labs/argocd-autopilot/pull/526) [#541](https://github.com/argoproj-labs/argocd-autopilot/pull/541) [#552](https://github.com/argoproj-labs/argocd-autopilot/pull/552) +- [chore] Bump github.com/ktrysmt/go-bitbucket from 0.9.70 to 0.9.75 [#524](https://github.com/argoproj-labs/argocd-autopilot/pull/524) [#527](https://github.com/argoproj-labs/argocd-autopilot/pull/527) [#540](https://github.com/argoproj-labs/argocd-autopilot/pull/540) [#553](https://github.com/argoproj-labs/argocd-autopilot/pull/553) +- [chore] updated golang to 1.22 [#555](https://github.com/argoproj-labs/argocd-autopilot/pull/555) + # v0.4.17 - [chore] Bump code.gitea.io/sdk/gitea from 0.15.1 to 0.16.0 [#503](https://github.com/argoproj-labs/argocd-autopilot/pull/503) - [chore] Bump github.com/argoproj/argo-cd/v2 from 2.8.3 to 2.8.4 [#503](https://github.com/argoproj-labs/argocd-autopilot/pull/503) diff --git a/Makefile b/Makefile index 962a6a4b..aef6bfba 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION=v0.4.17 +VERSION=v0.4.18 OUT_DIR=dist CLI_NAME?=argocd-autopilot diff --git a/docs/releases/release_notes.md b/docs/releases/release_notes.md index 739d7948..32f86141 100644 --- a/docs/releases/release_notes.md +++ b/docs/releases/release_notes.md @@ -56,7 +56,7 @@ argocd-autopilot version ```bash # download and extract the binary -curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.4.17/argocd-autopilot-linux-amd64.tar.gz | tar zx +curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.4.18/argocd-autopilot-linux-amd64.tar.gz | tar zx # move the binary to your $PATH mv ./argocd-autopilot-* /usr/local/bin/argocd-autopilot @@ -69,7 +69,7 @@ argocd-autopilot version ```bash # download and extract the binary -curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.4.17/argocd-autopilot-darwin-amd64.tar.gz | tar zx +curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.4.18/argocd-autopilot-darwin-amd64.tar.gz | tar zx # move the binary to your $PATH mv ./argocd-autopilot-* /usr/local/bin/argocd-autopilot @@ -86,5 +86,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.4.17 + -it quay.io/argoprojlabs/argocd-autopilot:v0.4.18 ``` From 5554fa7f73ac7604a779663f3b95abbce1724931 Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Thu, 8 Feb 2024 10:31:41 +0200 Subject: [PATCH 2/3] fixed `project create` help text Signed-off-by: Noam Gal --- cmd/commands/project.go | 2 +- .../argocd-autopilot_project_create.md | 2 +- docs/releases/release_notes.md | 24 +++++++++++-------- 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/cmd/commands/project.go b/cmd/commands/project.go index de6fc24c..146d9e7b 100644 --- a/cmd/commands/project.go +++ b/cmd/commands/project.go @@ -130,7 +130,7 @@ func NewProjectCreateCommand() *cobra.Command { } cmd.Flags().StringVar(&kubeServer, "dest-server", "", "The default destination kubernetes server for applications in this project") - cmd.Flags().StringVar(&kubeContext, "dest-kube-context", "", "The default destination kubernetes context for applications in this project (will be ignored if --dest-kube-server is supplied)") + cmd.Flags().StringVar(&kubeContext, "dest-kube-context", "", "The default destination kubernetes context for applications in this project (will be ignored if --dest-server is supplied)") cmd.Flags().BoolVar(&dryRun, "dry-run", false, "If true, print manifests instead of applying them to the cluster (nothing will be commited to git)") cmd.Flags().StringToStringVar(&labels, "labels", nil, "Optional labels that will be set on the Application resource. (e.g. \"app.kubernetes.io/managed-by={{ placeholder }}\"") cmd.Flags().StringToStringVar(&annotations, "annotations", nil, "Optional annotations that will be set on the Application resource. (e.g. \"argocd.argoproj.io/sync-wave={{ placeholder }}\"") diff --git a/docs/commands/argocd-autopilot_project_create.md b/docs/commands/argocd-autopilot_project_create.md index 9cc193bf..9a9723c4 100644 --- a/docs/commands/argocd-autopilot_project_create.md +++ b/docs/commands/argocd-autopilot_project_create.md @@ -41,7 +41,7 @@ argocd-autopilot project create [PROJECT] [flags] --config string Path to Argo CD config (default "/home/user/.config/argocd/config") --controller-name string Name of the Argo CD Application controller; set this or the ARGOCD_APPLICATION_CONTROLLER_NAME environment variable when the controller's name label differs from the default, for example when installing via the Helm chart (default "argocd-application-controller") --core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server - --dest-kube-context string The default destination kubernetes context for applications in this project (will be ignored if --dest-kube-server is supplied) + --dest-kube-context string The default destination kubernetes context for applications in this project (will be ignored if --dest-server is supplied) --dest-server string The default destination kubernetes server for applications in this project --dry-run If true, print manifests instead of applying them to the cluster (nothing will be commited to git) --exec-command string Command to run to provide client credentials to the cluster. You may need to build a custom ArgoCD image to ensure the command is available at runtime. diff --git a/docs/releases/release_notes.md b/docs/releases/release_notes.md index 32f86141..853f6117 100644 --- a/docs/releases/release_notes.md +++ b/docs/releases/release_notes.md @@ -1,19 +1,23 @@ ### Changes -- [chore] Bump code.gitea.io/sdk/gitea from 0.15.1 to 0.16.0 [#503](https://github.com/argoproj-labs/argocd-autopilot/pull/503) -- [chore] Bump github.com/argoproj/argo-cd/v2 from 2.8.3 to 2.8.4 [#503](https://github.com/argoproj-labs/argocd-autopilot/pull/503) -- [chore] Bump github.com/briandowns/spinner from 1.18.1 to 1.23.0 [#499](https://github.com/argoproj-labs/argocd-autopilot/pull/499) -- [chore] Bump github.com/go-git/go-git/v5 from 5.7.0 to 5.9.0 [#505](https://github.com/argoproj-labs/argocd-autopilot/pull/505) -- [chore] Bump github.com/ktrysmt/go-bitbucket from 0.9.60 to 0.9.70 [#502](https://github.com/argoproj-labs/argocd-autopilot/pull/502) [#506](https://github.com/argoproj-labs/argocd-autopilot/pull/506) [#514](https://github.com/argoproj-labs/argocd-autopilot/pull/514) -- [chore] Bump github.com/spf13/viper from 1.16.0 to 1.17.0 [#511](https://github.com/argoproj-labs/argocd-autopilot/pull/511) -- [chore] Bump github.com/xanzy/go-gitlab from 0.86.0 to 0.93.1 [#500](https://github.com/argoproj-labs/argocd-autopilot/pull/500) [#508](https://github.com/argoproj-labs/argocd-autopilot/pull/508) [#512](https://github.com/argoproj-labs/argocd-autopilot/pull/512) -- [chore] Bump golang.org/x/net from 0.15.0 to 0.17.0 [#513](https://github.com/argoproj-labs/argocd-autopilot/pull/513) -- [chore] Bump k8s.io/* deps to v0.24.17 [#513](https://github.com/argoproj-labs/argocd-autopilot/pull/513) -- [chore] removed git-lfs from docker image [#513](https://github.com/argoproj-labs/argocd-autopilot/pull/513) +- [chore] Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 [#523](https://github.com/argoproj-labs/argocd-autopilot/pull/523) +- [chore] Bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc [#525](https://github.com/argoproj-labs/argocd-autopilot/pull/525) +- [chore] Bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 [#528](https://github.com/argoproj-labs/argocd-autopilot/pull/528) +- [chore] Bump code.gitea.io/sdk/gitea from 0.16.0 to 0.17.0 [#532](https://github.com/argoproj-labs/argocd-autopilot/pull/532) +- [chore] Bump github.com/go-git/go-git/v5 from 5.9.0 to 5.11.0 [#519](https://github.com/argoproj-labs/argocd-autopilot/pull/519) [#531](https://github.com/argoproj-labs/argocd-autopilot/pull/531) [#539](https://github.com/argoproj-labs/argocd-autopilot/pull/539) +- [chore] Bump github.com/spf13/viper from 1.17.0 to 1.18.2 [#537](https://github.com/argoproj-labs/argocd-autopilot/pull/537) [#543](https://github.com/argoproj-labs/argocd-autopilot/pull/543) +- [chore] Bump golang.org/x/crypto from 0.16.0 to 0.17.1 [#542](https://github.com/argoproj-labs/argocd-autopilot/pull/542) [#544](https://github.com/argoproj-labs/argocd-autopilot/pull/544) +- [chore] Bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 [#546](https://github.com/argoproj-labs/argocd-autopilot/pull/546) +- [chore] Bump github.com/argoproj/argo-cd/v2 to 2.10.0 [#554](https://github.com/argoproj-labs/argocd-autopilot/pull/554) +- [chore] Bump github.com/xanzy/go-gitlab from 0.93.1 to 0.97.0 [#518](https://github.com/argoproj-labs/argocd-autopilot/pull/518) [#526](https://github.com/argoproj-labs/argocd-autopilot/pull/526) [#541](https://github.com/argoproj-labs/argocd-autopilot/pull/541) [#552](https://github.com/argoproj-labs/argocd-autopilot/pull/552) +- [chore] Bump github.com/ktrysmt/go-bitbucket from 0.9.70 to 0.9.75 [#524](https://github.com/argoproj-labs/argocd-autopilot/pull/524) [#527](https://github.com/argoproj-labs/argocd-autopilot/pull/527) [#540](https://github.com/argoproj-labs/argocd-autopilot/pull/540) [#553](https://github.com/argoproj-labs/argocd-autopilot/pull/553) +- [chore] updated golang to 1.22 [#555](https://github.com/argoproj-labs/argocd-autopilot/pull/555) +- [docs] fixed "project create" documentation and help text [#550](https://github.com/argoproj-labs/argocd-autopilot/pull/550) ### Contributors: - Noam Gal ([@noam-codefresh](https://github.com/noam-codefresh)) +- [priyanshusd](https://github.com/priyanshusd) ## Installation: From e273a5870178cf76dafbf4eba6beadd5f972f852 Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Thu, 8 Feb 2024 11:41:35 +0200 Subject: [PATCH 3/3] updated changelog Signed-off-by: Noam Gal --- CHANGELOG.md | 7 +++++-- docs/releases/release_notes.md | 8 +++++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f11c532f..1e091654 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,15 @@ - [chore] Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 [#523](https://github.com/argoproj-labs/argocd-autopilot/pull/523) - [chore] Bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc [#525](https://github.com/argoproj-labs/argocd-autopilot/pull/525) - [chore] Bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 [#528](https://github.com/argoproj-labs/argocd-autopilot/pull/528) -- [chore] Bump code.gitea.io/sdk/gitea from 0.16.0 to 0.17.0 [#532](https://github.com/argoproj-labs/argocd-autopilot/pull/532) +- [chore] Bump code.gitea.io/sdk/gitea from 0.16.0 to 0.17.1 [#532](https://github.com/argoproj-labs/argocd-autopilot/pull/532) [#544](https://github.com/argoproj-labs/argocd-autopilot/pull/544) - [chore] Bump github.com/go-git/go-git/v5 from 5.9.0 to 5.11.0 [#519](https://github.com/argoproj-labs/argocd-autopilot/pull/519) [#531](https://github.com/argoproj-labs/argocd-autopilot/pull/531) [#539](https://github.com/argoproj-labs/argocd-autopilot/pull/539) - [chore] Bump github.com/spf13/viper from 1.17.0 to 1.18.2 [#537](https://github.com/argoproj-labs/argocd-autopilot/pull/537) [#543](https://github.com/argoproj-labs/argocd-autopilot/pull/543) - [chore] Bump golang.org/x/crypto from 0.16.0 to 0.17.1 [#542](https://github.com/argoproj-labs/argocd-autopilot/pull/542) [#544](https://github.com/argoproj-labs/argocd-autopilot/pull/544) - [chore] Bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 [#546](https://github.com/argoproj-labs/argocd-autopilot/pull/546) -- [chore] Bump github.com/argoproj/argo-cd/v2 to 2.10.0 [#554](https://github.com/argoproj-labs/argocd-autopilot/pull/554) +- [chore] Bump github.com/argoproj/argo-cd/v2 from 2.8.4 to 2.10.0 [#554](https://github.com/argoproj-labs/argocd-autopilot/pull/554) +- [chore] Bump k8s.io/* from 0.24.17 to 0.26.11 [#554](https://github.com/argoproj-labs/argocd-autopilot/pull/554) +- [chore] Bump sigs.k8s.io/kustomize/api from 0.11.5 to 0.12.1[#554](https://github.com/argoproj-labs/argocd-autopilot/pull/554) +- [chore] Bump sigs.k8s.io/kustomize/kyaml from 0.13.7 to 0.13.9 [#554](https://github.com/argoproj-labs/argocd-autopilot/pull/554) - [chore] Bump github.com/xanzy/go-gitlab from 0.93.1 to 0.97.0 [#518](https://github.com/argoproj-labs/argocd-autopilot/pull/518) [#526](https://github.com/argoproj-labs/argocd-autopilot/pull/526) [#541](https://github.com/argoproj-labs/argocd-autopilot/pull/541) [#552](https://github.com/argoproj-labs/argocd-autopilot/pull/552) - [chore] Bump github.com/ktrysmt/go-bitbucket from 0.9.70 to 0.9.75 [#524](https://github.com/argoproj-labs/argocd-autopilot/pull/524) [#527](https://github.com/argoproj-labs/argocd-autopilot/pull/527) [#540](https://github.com/argoproj-labs/argocd-autopilot/pull/540) [#553](https://github.com/argoproj-labs/argocd-autopilot/pull/553) - [chore] updated golang to 1.22 [#555](https://github.com/argoproj-labs/argocd-autopilot/pull/555) diff --git a/docs/releases/release_notes.md b/docs/releases/release_notes.md index 853f6117..6085dd2b 100644 --- a/docs/releases/release_notes.md +++ b/docs/releases/release_notes.md @@ -3,16 +3,18 @@ - [chore] Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 [#523](https://github.com/argoproj-labs/argocd-autopilot/pull/523) - [chore] Bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc [#525](https://github.com/argoproj-labs/argocd-autopilot/pull/525) - [chore] Bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 [#528](https://github.com/argoproj-labs/argocd-autopilot/pull/528) -- [chore] Bump code.gitea.io/sdk/gitea from 0.16.0 to 0.17.0 [#532](https://github.com/argoproj-labs/argocd-autopilot/pull/532) +- [chore] Bump code.gitea.io/sdk/gitea from 0.16.0 to 0.17.1 [#532](https://github.com/argoproj-labs/argocd-autopilot/pull/532) [#544](https://github.com/argoproj-labs/argocd-autopilot/pull/544) - [chore] Bump github.com/go-git/go-git/v5 from 5.9.0 to 5.11.0 [#519](https://github.com/argoproj-labs/argocd-autopilot/pull/519) [#531](https://github.com/argoproj-labs/argocd-autopilot/pull/531) [#539](https://github.com/argoproj-labs/argocd-autopilot/pull/539) - [chore] Bump github.com/spf13/viper from 1.17.0 to 1.18.2 [#537](https://github.com/argoproj-labs/argocd-autopilot/pull/537) [#543](https://github.com/argoproj-labs/argocd-autopilot/pull/543) - [chore] Bump golang.org/x/crypto from 0.16.0 to 0.17.1 [#542](https://github.com/argoproj-labs/argocd-autopilot/pull/542) [#544](https://github.com/argoproj-labs/argocd-autopilot/pull/544) - [chore] Bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 [#546](https://github.com/argoproj-labs/argocd-autopilot/pull/546) -- [chore] Bump github.com/argoproj/argo-cd/v2 to 2.10.0 [#554](https://github.com/argoproj-labs/argocd-autopilot/pull/554) +- [chore] Bump github.com/argoproj/argo-cd/v2 from 2.8.4 to 2.10.0 [#554](https://github.com/argoproj-labs/argocd-autopilot/pull/554) +- [chore] Bump k8s.io/* from 0.24.17 to 0.26.11 [#554](https://github.com/argoproj-labs/argocd-autopilot/pull/554) +- [chore] Bump sigs.k8s.io/kustomize/api from 0.11.5 to 0.12.1[#554](https://github.com/argoproj-labs/argocd-autopilot/pull/554) +- [chore] Bump sigs.k8s.io/kustomize/kyaml from 0.13.7 to 0.13.9 [#554](https://github.com/argoproj-labs/argocd-autopilot/pull/554) - [chore] Bump github.com/xanzy/go-gitlab from 0.93.1 to 0.97.0 [#518](https://github.com/argoproj-labs/argocd-autopilot/pull/518) [#526](https://github.com/argoproj-labs/argocd-autopilot/pull/526) [#541](https://github.com/argoproj-labs/argocd-autopilot/pull/541) [#552](https://github.com/argoproj-labs/argocd-autopilot/pull/552) - [chore] Bump github.com/ktrysmt/go-bitbucket from 0.9.70 to 0.9.75 [#524](https://github.com/argoproj-labs/argocd-autopilot/pull/524) [#527](https://github.com/argoproj-labs/argocd-autopilot/pull/527) [#540](https://github.com/argoproj-labs/argocd-autopilot/pull/540) [#553](https://github.com/argoproj-labs/argocd-autopilot/pull/553) - [chore] updated golang to 1.22 [#555](https://github.com/argoproj-labs/argocd-autopilot/pull/555) -- [docs] fixed "project create" documentation and help text [#550](https://github.com/argoproj-labs/argocd-autopilot/pull/550) ### Contributors: