From fb1297b37f375274c243f3a4dc9b0c3aa3cd9314 Mon Sep 17 00:00:00 2001 From: Vladimir Vagaytsev Date: Tue, 19 Sep 2023 19:18:35 +0200 Subject: [PATCH] chore(release): bump version to 0.13.14 (#5111) --- CHANGELOG.md | 20 +++++++++++++++++++ README.md | 2 +- cli/package.json | 2 +- core/package.json | 4 ++-- docs/getting-started/quickstart.md | 2 +- docs/guides/ephemeral-clusters.md | 2 +- docs/guides/using-garden-in-ci.md | 2 +- .../k8s-plugins/remote-k8s/ingress-and-dns.md | 2 +- .../action-types/Build/jib-container.md | 2 +- docs/reference/module-types/jib-container.md | 2 +- .../providers/conftest-kubernetes.md | 2 +- docs/reference/providers/conftest.md | 2 +- docs/reference/providers/hadolint.md | 2 +- docs/reference/providers/jib.md | 2 +- docs/terraform-plugin/about.md | 4 ++-- docs/terraform-plugin/configure-provider.md | 2 +- e2e/package.json | 2 +- package.json | 4 ++-- plugins/conftest-container/package.json | 4 ++-- plugins/conftest-kubernetes/package.json | 4 ++-- plugins/conftest/package.json | 4 ++-- plugins/jib/package.json | 4 ++-- plugins/pulumi/package.json | 4 ++-- plugins/terraform/package.json | 4 ++-- sdk/package.json | 2 +- 25 files changed, 53 insertions(+), 33 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 012a92b3d2..5d5d650bbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,24 @@ + +## [0.13.14](https://github.com/garden-io/garden/compare/0.13.13...0.13.14) (2023-09-19) + +### Bug Fixes + +* remove rsync dependency from homebrew formula ([#5086](https://github.com/garden-io/garden/issues/5086)) ([640b51a14](https://github.com/garden-io/garden/commit/640b51a14)) +* print the output of Run and Test actions on the info log level ([#5059](https://github.com/garden-io/garden/issues/5059)) ([30e6fa008](https://github.com/garden-io/garden/commit/30e6fa008)) +* avoid crash during kubectl retry ([#5098](https://github.com/garden-io/garden/issues/5098)) ([c5a7679cb](https://github.com/garden-io/garden/commit/c5a7679cb)) +* use shell matching platform when running scripts ([#5034](https://github.com/garden-io/garden/issues/5034)) ([22013ae77](https://github.com/garden-io/garden/commit/22013ae77)) +* do not error if actionSources are empty ([#5036](https://github.com/garden-io/garden/issues/5036)) ([bc38c9747](https://github.com/garden-io/garden/commit/bc38c9747)) +* **framework:** several error handling improvements ([#5001](https://github.com/garden-io/garden/issues/5001)) ([1bfe7b5ad](https://github.com/garden-io/garden/commit/1bfe7b5ad)) + +### Features + +* add ephemeral kubernetes provider ([#4927](https://github.com/garden-io/garden/issues/4927)) ([ed0ab0198](https://github.com/garden-io/garden/commit/ed0ab0198)) + +### Improvements + +* **plugins:** debug log manifest dump ([#4997](https://github.com/garden-io/garden/issues/4997)) ([3a568369b](https://github.com/garden-io/garden/commit/3a568369b)) + ## [0.13.13](https://github.com/garden-io/garden/compare/0.13.12...0.13.13) (2023-08-31) diff --git a/README.md b/README.md index ab67f5ed0e..2ddb65ff42 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ _If you love Garden, please ★ star this repository to show your support :green   •   Docs   •   - Examples + Examples   •   Blog   •   diff --git a/cli/package.json b/cli/package.json index c92a386291..482f8d2c9f 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,6 +1,6 @@ { "name": "@garden-io/cli", - "version": "0.13.13", + "version": "0.13.14", "description": "Cloud native testing platform for testing and developing container applications on Kubernetes", "repository": { "type": "git", diff --git a/core/package.json b/core/package.json index 413355798b..3278e4980c 100644 --- a/core/package.json +++ b/core/package.json @@ -1,6 +1,6 @@ { "name": "@garden-io/core", - "version": "0.13.13", + "version": "0.13.14", "description": "A full-featured development framework for containers and serverless", "repository": { "type": "git", @@ -282,4 +282,4 @@ ] }, "gitHead": "b0647221a4d2ff06952bae58000b104215aed922" -} +} \ No newline at end of file diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index 352b91c559..aacb600401 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -112,7 +112,7 @@ If you'd like to better understand how a Garden project is configured, we recomm through our [first project tutorial](../tutorials/your-first-project/README.md) which walks you through configuring a Garden project step-by-step. If you like to dive right in and configure your own project for Garden, we recommend referencing our [example -projects on GitHub](https://github.com/garden-io/garden/tree/0.13.13/examples) and the section of our docs title [Using Garden](../using-garden/configuration-overview.md), which covers all parts of Garden in detail. +projects on GitHub](https://github.com/garden-io/garden/tree/0.13.14/examples) and the section of our docs title [Using Garden](../using-garden/configuration-overview.md), which covers all parts of Garden in detail. If you have any questions or feedback—or just want to say hi 🙂—we encourage you to join our [Discord community](https://go.garden.io/discord)! diff --git a/docs/guides/ephemeral-clusters.md b/docs/guides/ephemeral-clusters.md index f80d919999..81d7ef493a 100644 --- a/docs/guides/ephemeral-clusters.md +++ b/docs/guides/ephemeral-clusters.md @@ -17,7 +17,7 @@ You can add or remove ephemeral Kubernetes cluster easily via the `ephemeral-kub ## Getting started -There are multiple example garden projects that are already configured and ready to go with Garden ephemeral clusters. Checkout our [quickstart guide](../getting-started/quickstart.md) or the [ephemeral-cluster-demo](https://github.com/garden-io/garden/tree/main/examples/ephemeral-cluster-demo) example on GitHub. +There are multiple example garden projects that are already configured and ready to go with Garden ephemeral clusters. Checkout our [quickstart guide](../getting-started/quickstart.md) or the [ephemeral-cluster-demo](https://github.com/garden-io/garden/tree/0.13.14/examples/ephemeral-cluster-demo) example on GitHub. In the following steps you'll learn how to configure your own Garden projects to use the `ephemeral-kubernetes` provider. ### Step 1 - Configure the provider diff --git a/docs/guides/using-garden-in-ci.md b/docs/guides/using-garden-in-ci.md index 8346fc6494..e8e283493e 100644 --- a/docs/guides/using-garden-in-ci.md +++ b/docs/guides/using-garden-in-ci.md @@ -28,7 +28,7 @@ The guide uses the [Remote Kubernetes plugin](../k8s-plugins/remote-k8s/README.m ## Project overview -The project is based on our basic [demo-project](https://github.com/garden-io/garden/tree/0.13.13/examples/demo-project) example, but configured for multiple environments. Additionally it contains a CircleCI config file. You'll find the entire source code [here](https://github.com/garden-io/ci-demo-project). +The project is based on our basic [demo-project](https://github.com/garden-io/garden/tree/0.13.14/examples/demo-project) example, but configured for multiple environments. Additionally it contains a CircleCI config file. You'll find the entire source code [here](https://github.com/garden-io/ci-demo-project). The CI pipeline is configured so that Garden tests the project and deploys it to a **preview** environment on every pull request. Additionally, it tests the project and deploys it to a separate **staging** environment on every merge to the `main` branch. diff --git a/docs/k8s-plugins/remote-k8s/ingress-and-dns.md b/docs/k8s-plugins/remote-k8s/ingress-and-dns.md index a744407c90..c151a0f6a3 100644 --- a/docs/k8s-plugins/remote-k8s/ingress-and-dns.md +++ b/docs/k8s-plugins/remote-k8s/ingress-and-dns.md @@ -5,7 +5,7 @@ order: 3 # 3. Set Up Ingress, TLS and DNS -By default, Garden will not install an ingress controller for remote environments. This can be toggled by setting the [`setupIngressController` flag](../../reference/providers/kubernetes.md#providerssetupingresscontroller) to `nginx`. Alternatively, you can set up your own ingress controller, e.g. using [Traefik](https://traefik.io/), [Ambassador](https://www.getambassador.io/) or [Istio](https://istio.io/). You can find an example for [using Garden with Istio](https://github.com/garden-io/garden/tree/0.13.13/examples/istio) in our [examples directory](https://github.com/garden-io/garden/tree/0.13.13/examples). +By default, Garden will not install an ingress controller for remote environments. This can be toggled by setting the [`setupIngressController` flag](../../reference/providers/kubernetes.md#providerssetupingresscontroller) to `nginx`. Alternatively, you can set up your own ingress controller, e.g. using [Traefik](https://traefik.io/), [Ambassador](https://www.getambassador.io/) or [Istio](https://istio.io/). You can find an example for [using Garden with Istio](https://github.com/garden-io/garden/tree/0.13.14/examples/istio) in our [examples directory](https://github.com/garden-io/garden/tree/0.13.14/examples). You'll also need to point one or more DNS entries to your cluster, and configure a TLS certificate for the hostnames you will expose for ingress. diff --git a/docs/reference/action-types/Build/jib-container.md b/docs/reference/action-types/Build/jib-container.md index cda3dbdd3b..9db123e50f 100644 --- a/docs/reference/action-types/Build/jib-container.md +++ b/docs/reference/action-types/Build/jib-container.md @@ -7,7 +7,7 @@ tocTitle: "`jib-container` Build" ## Description -Extends the [container type](./container.md) to build the image with [Jib](https://github.com/GoogleContainerTools/jib). Use this to efficiently build container images for Java services. Check out the [jib example](https://github.com/garden-io/garden/tree/0.13.13/examples/jib-container) to see it in action. +Extends the [container type](./container.md) to build the image with [Jib](https://github.com/GoogleContainerTools/jib). Use this to efficiently build container images for Java services. Check out the [jib example](https://github.com/garden-io/garden/tree/0.13.14/examples/jib-container) to see it in action. The image is always built locally, directly from the source directory (see the note on that below), before shipping the container image to the right place. You can set `build.tarOnly: true` to only build the image as a tarball. diff --git a/docs/reference/module-types/jib-container.md b/docs/reference/module-types/jib-container.md index 845810399e..6a752ebfda 100644 --- a/docs/reference/module-types/jib-container.md +++ b/docs/reference/module-types/jib-container.md @@ -11,7 +11,7 @@ Modules are deprecated and will be removed in version `0.14`. Please use [action ## Description -Extends the [container type](./container.md) to build the image with [Jib](https://github.com/GoogleContainerTools/jib). Use this to efficiently build container images for Java services. Check out the [jib example](https://github.com/garden-io/garden/tree/0.13.13/examples/jib-container) to see it in action. +Extends the [container type](./container.md) to build the image with [Jib](https://github.com/GoogleContainerTools/jib). Use this to efficiently build container images for Java services. Check out the [jib example](https://github.com/garden-io/garden/tree/0.13.14/examples/jib-container) to see it in action. The image is always built locally, directly from the source directory (see the note on that below), before shipping the container image to the right place. You can set `build.tarOnly: true` to only build the image as a tarball. diff --git a/docs/reference/providers/conftest-kubernetes.md b/docs/reference/providers/conftest-kubernetes.md index 9008fa8761..8c81a541d7 100644 --- a/docs/reference/providers/conftest-kubernetes.md +++ b/docs/reference/providers/conftest-kubernetes.md @@ -14,7 +14,7 @@ Simply add this provider to your project configuration, and configure your polic reference for how to configure default policies, default namespaces, and test failure thresholds for the generated actions. -See the [conftest example project](https://github.com/garden-io/garden/tree/0.13.13/examples/conftest) for a simple +See the [conftest example project](https://github.com/garden-io/garden/tree/0.13.14/examples/conftest) for a simple usage example. Below is the full schema reference for the provider configuration. For an introduction to configuring a Garden project with providers, please look at our [configuration guide](../../using-garden/configuration-overview.md). diff --git a/docs/reference/providers/conftest.md b/docs/reference/providers/conftest.md index 3955b96176..4429be7029 100644 --- a/docs/reference/providers/conftest.md +++ b/docs/reference/providers/conftest.md @@ -9,7 +9,7 @@ tocTitle: "`conftest`" This provider allows you to validate your configuration files against policies that you specify, using the [conftest tool](https://github.com/open-policy-agent/conftest) and Open Policy Agent rego query files. The provider creates Test action types of the same name, which allow you to specify files to validate. -Note that, in many cases, you'll actually want to use more specific providers that can automatically configure your `conftest` actions, e.g. the [`conftest-container`](./conftest-container.md) and/or [`conftest-kubernetes`](./conftest-kubernetes.md) providers. See the [conftest example project](https://github.com/garden-io/garden/tree/0.13.13/examples/conftest) for a simple usage example of the latter. +Note that, in many cases, you'll actually want to use more specific providers that can automatically configure your `conftest` actions, e.g. the [`conftest-container`](./conftest-container.md) and/or [`conftest-kubernetes`](./conftest-kubernetes.md) providers. See the [conftest example project](https://github.com/garden-io/garden/tree/0.13.14/examples/conftest) for a simple usage example of the latter. If those don't match your needs, you can use this provider directly and manually configure your `conftest` actions. Simply add this provider to your project configuration, and see the [conftest action documentation](../action-types/Test/conftest.md) for a detailed reference. Also, check out the below reference for how to configure default policies, default namespaces, and test failure thresholds for all `conftest` actions. diff --git a/docs/reference/providers/hadolint.md b/docs/reference/providers/hadolint.md index c00a51a999..ad5d62cd86 100644 --- a/docs/reference/providers/hadolint.md +++ b/docs/reference/providers/hadolint.md @@ -11,7 +11,7 @@ This provider creates a [`hadolint`](../action-types/Test/hadolint.md) Test acti To configure `hadolint`, you can use `.hadolint.yaml` config files. For each Test, we first look for one in the relevant action's root. If none is found there, we check the project root, and if none is there we fall back to default configuration. Note that for reasons of portability, we do not fall back to global/user configuration files. -See the [hadolint docs](https://github.com/hadolint/hadolint#configure) for details on how to configure it, and the [hadolint example project](https://github.com/garden-io/garden/tree/0.13.13/examples/hadolint) for a usage example. +See the [hadolint docs](https://github.com/hadolint/hadolint#configure) for details on how to configure it, and the [hadolint example project](https://github.com/garden-io/garden/tree/0.13.14/examples/hadolint) for a usage example. Below is the full schema reference for the provider configuration. For an introduction to configuring a Garden project with providers, please look at our [configuration guide](../../using-garden/configuration-overview.md). diff --git a/docs/reference/providers/jib.md b/docs/reference/providers/jib.md index 499b8929b6..99b27ed370 100644 --- a/docs/reference/providers/jib.md +++ b/docs/reference/providers/jib.md @@ -11,7 +11,7 @@ tocTitle: "`jib`" Provides support for [Jib](https://github.com/GoogleContainerTools/jib) via the [jib action type](../action-types/Build/jib-container.md). -Use this to efficiently build container images for Java services. Check out the [jib example](https://github.com/garden-io/garden/tree/0.13.13/examples/jib-container) to see it in action. +Use this to efficiently build container images for Java services. Check out the [jib example](https://github.com/garden-io/garden/tree/0.13.14/examples/jib-container) to see it in action. Below is the full schema reference for the provider configuration. For an introduction to configuring a Garden project with providers, please look at our [configuration guide](../../using-garden/configuration-overview.md). diff --git a/docs/terraform-plugin/about.md b/docs/terraform-plugin/about.md index 55d65a8d2d..6672782e6f 100644 --- a/docs/terraform-plugin/about.md +++ b/docs/terraform-plugin/about.md @@ -15,7 +15,7 @@ Under the hood, Garden simply wraps Terraform, so there's no magic involved. Gar Terraform resources can be provisioned through the `terraform` provider when initializing Garden, or via `terraform` actions that are utilized like other actions in your stack. -The former, having a single Terraform stack for your whole project, is most helpful if other provider configurations need to reference the outputs from your Terraform stack, or if most/all of your services depend on the infrastructure provisioned in your Terraform stack. A good example of this is the [terraform-gke example](https://github.com/garden-io/garden/tree/0.13.13/examples/terraform-gke) project, which provisions a GKE cluster that the `kubernetes` provider then runs on, along with the services in the project. The drawback is that Garden doesn't currently watch for changes in those Terraform files, and you need to restart to apply new changes, or apply them manually. +The former, having a single Terraform stack for your whole project, is most helpful if other provider configurations need to reference the outputs from your Terraform stack, or if most/all of your services depend on the infrastructure provisioned in your Terraform stack. A good example of this is the [terraform-gke example](https://github.com/garden-io/garden/tree/0.13.14/examples/terraform-gke) project, which provisions a GKE cluster that the `kubernetes` provider then runs on, along with the services in the project. The drawback is that Garden doesn't currently watch for changes in those Terraform files, and you need to restart to apply new changes, or apply them manually. Using `terraform` _Deploy actions_, can be better if your other providers don't need to reference the stack outputs but other Deploy, Run and Test actions do. In this style, you can basically create small Terraform stacks that are part of your Stack Graph much like other services. A good example would be deploying a database instance, that other services in your project can then connect to. @@ -87,6 +87,6 @@ Now when you deploy a new Terraformed environment, the new backend statefile wil ## Next steps -Check out the [terraform-gke example](https://github.com/garden-io/garden/tree/0.13.13/examples/terraform-gke) project. Also take a look at the [Terraform provider reference](../reference/providers/terraform.md) and the [Terraform Deploy action type reference](../reference/action-types/Deploy/terraform.md) for details on all the configuration parameters. +Check out the [terraform-gke example](https://github.com/garden-io/garden/tree/0.13.14/examples/terraform-gke) project. Also take a look at the [Terraform provider reference](../reference/providers/terraform.md) and the [Terraform Deploy action type reference](../reference/action-types/Deploy/terraform.md) for details on all the configuration parameters. If you're having issues with Terraform itself, please refer to the [official docs](https://www.terraform.io/docs/index.html). diff --git a/docs/terraform-plugin/configure-provider.md b/docs/terraform-plugin/configure-provider.md index 8c39b9a7f5..866f50fc0b 100644 --- a/docs/terraform-plugin/configure-provider.md +++ b/docs/terraform-plugin/configure-provider.md @@ -17,7 +17,7 @@ providers: ... ``` -If you'd like to apply the stack when starting Garden, and then reference the stack outputs in other providers (or actions), you need to add a couple of more flags. Here's the project config from the aforementioned [terraform-gke example](https://github.com/garden-io/garden/tree/0.13.13/examples/terraform-gke): +If you'd like to apply the stack when starting Garden, and then reference the stack outputs in other providers (or actions), you need to add a couple of more flags. Here's the project config from the aforementioned [terraform-gke example](https://github.com/garden-io/garden/tree/0.13.14/examples/terraform-gke): ```yaml apiVersion: garden.io/v1 diff --git a/e2e/package.json b/e2e/package.json index 6a6dab816d..5406814b14 100644 --- a/e2e/package.json +++ b/e2e/package.json @@ -1,6 +1,6 @@ { "name": "@garden-io/e2e", - "version": "0.13.13", + "version": "0.13.14", "description": "End-to-end tests for the Garden CLI", "repository": { "type": "git", diff --git a/package.json b/package.json index f926c6ff31..9eeac8ab04 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "type": "git", "url": "git+https://github.com/garden-io/garden.git" }, - "version": "0.13.13", + "version": "0.13.14", "author": "Garden Technologies, Inc. ", "license": "MPL-2.0", "homepage": "https://github.com/garden-io/garden", @@ -101,4 +101,4 @@ "plugins/*", "sdk" ] -} +} \ No newline at end of file diff --git a/plugins/conftest-container/package.json b/plugins/conftest-container/package.json index c7768718ed..c6fdc11b1e 100644 --- a/plugins/conftest-container/package.json +++ b/plugins/conftest-container/package.json @@ -1,6 +1,6 @@ { "name": "@garden-io/garden-conftest-container", - "version": "0.13.13", + "version": "0.13.14", "description": "Auto-generator for the conftest plugin and Garden container modules", "main": "index.js", "dependencies": { @@ -28,4 +28,4 @@ "author": "Garden Technologies, Inc. ", "license": "MPL-2.0", "homepage": "https://github.com/garden-io/garden" -} +} \ No newline at end of file diff --git a/plugins/conftest-kubernetes/package.json b/plugins/conftest-kubernetes/package.json index 3cb314ce98..76cbf6534d 100644 --- a/plugins/conftest-kubernetes/package.json +++ b/plugins/conftest-kubernetes/package.json @@ -1,6 +1,6 @@ { "name": "@garden-io/garden-conftest-kubernetes", - "version": "0.13.13", + "version": "0.13.14", "description": "Auto-generator for the conftest plugin and Garden kubernetes/helm modules", "main": "index.js", "private": true, @@ -28,4 +28,4 @@ "author": "Garden Technologies, Inc. ", "license": "MPL-2.0", "homepage": "https://github.com/garden-io/garden" -} +} \ No newline at end of file diff --git a/plugins/conftest/package.json b/plugins/conftest/package.json index e3f350e0d8..8d324fbd93 100644 --- a/plugins/conftest/package.json +++ b/plugins/conftest/package.json @@ -1,6 +1,6 @@ { "name": "@garden-io/garden-conftest", - "version": "0.13.13", + "version": "0.13.14", "description": "conftest plugin for Garden", "main": "index.js", "private": true, @@ -27,4 +27,4 @@ "author": "Garden Technologies, Inc. ", "license": "MPL-2.0", "homepage": "https://github.com/garden-io/garden" -} +} \ No newline at end of file diff --git a/plugins/jib/package.json b/plugins/jib/package.json index 6105f33ec0..8ac464e2ab 100644 --- a/plugins/jib/package.json +++ b/plugins/jib/package.json @@ -1,6 +1,6 @@ { "name": "@garden-io/garden-jib", - "version": "0.13.13", + "version": "0.13.14", "description": "Jib container plugin for Garden", "main": "index.js", "dependencies": { @@ -32,4 +32,4 @@ "author": "Garden Technologies, Inc. ", "license": "MPL-2.0", "homepage": "https://github.com/garden-io/garden" -} +} \ No newline at end of file diff --git a/plugins/pulumi/package.json b/plugins/pulumi/package.json index 55fda3ab05..b91b1c232d 100644 --- a/plugins/pulumi/package.json +++ b/plugins/pulumi/package.json @@ -1,6 +1,6 @@ { "name": "@garden-io/garden-pulumi", - "version": "0.13.13", + "version": "0.13.14", "description": "Pulumi plugin for Garden", "main": "index.js", "dependencies": { @@ -28,4 +28,4 @@ "author": "Garden Technologies, Inc. ", "license": "MPL-2.0", "homepage": "https://github.com/garden-io/garden" -} +} \ No newline at end of file diff --git a/plugins/terraform/package.json b/plugins/terraform/package.json index 63b8d27155..6a427eee0b 100644 --- a/plugins/terraform/package.json +++ b/plugins/terraform/package.json @@ -1,6 +1,6 @@ { "name": "@garden-io/garden-terraform", - "version": "0.13.13", + "version": "0.13.14", "description": "Terraform plugin for Garden", "main": "index.js", "dependencies": { @@ -29,4 +29,4 @@ "author": "Garden Technologies, Inc. ", "license": "MPL-2.0", "homepage": "https://github.com/garden-io/garden" -} +} \ No newline at end of file diff --git a/sdk/package.json b/sdk/package.json index f21eb29911..f90d310cef 100644 --- a/sdk/package.json +++ b/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@garden-io/sdk", - "version": "0.13.13", + "version": "0.13.14", "description": "TypeScript plugin SDK for Garden", "repository": { "type": "git",