diff --git a/website/docs/using-qovery/deployment/image-mirroring.md b/website/docs/using-qovery/deployment/image-mirroring.md index 817b41811b..efaa8a57ad 100644 --- a/website/docs/using-qovery/deployment/image-mirroring.md +++ b/website/docs/using-qovery/deployment/image-mirroring.md @@ -1,5 +1,5 @@ --- -last_modified_on: "2023-10-27" +last_modified_on: "2024-04-24" title: "Image Mirroring" description: "Learn how images are mirrored within your cloud account" --- @@ -41,6 +41,8 @@ Otherwise, the image is built by the Qovery pipeline the resulting image is push Mirroring built image

+In order to speed up the image build, we are using remote caches (available in AWS, GCP and Scaleway). It will avoid building the image from scratch, only the layers that changed will be built. + Given this isolation mechanism, if the same application is cloned (via the [clone][docs.using-qovery.configuration.environment#clone-environment] or [preview environment][docs.using-qovery.configuration.environment#preview-environment] feature), Qovery will re-build the application since the environment variables have changed (the ones at environment level). ## Application deployed from a container registry diff --git a/website/docs/using-qovery/deployment/image-mirroring.md.erb b/website/docs/using-qovery/deployment/image-mirroring.md.erb index e7a6cdabd3..dd6db83649 100644 --- a/website/docs/using-qovery/deployment/image-mirroring.md.erb +++ b/website/docs/using-qovery/deployment/image-mirroring.md.erb @@ -32,6 +32,8 @@ Otherwise, the image is built by the Qovery pipeline the resulting image is push Mirroring built image

+In order to speed up the image build, we are using remote caches (available in AWS, GCP and Scaleway). It will avoid building the image from scratch, only the layers that changed will be built. + Given this isolation mechanism, if the same application is cloned (via the [clone][docs.using-qovery.configuration.environment#clone-environment] or [preview environment][docs.using-qovery.configuration.environment#preview-environment] feature), Qovery will re-build the application since the environment variables have changed (the ones at environment level). ## Application deployed from a container registry diff --git a/website/docs/using-qovery/interface/cli.md b/website/docs/using-qovery/interface/cli.md index 6395d6641b..0dbb3503e1 100644 --- a/website/docs/using-qovery/interface/cli.md +++ b/website/docs/using-qovery/interface/cli.md @@ -1,5 +1,5 @@ --- -last_modified_on: "2024-01-31" +last_modified_on: "2024-04-24" title: CLI description: How to use the Qovery CLI (Command Line Interface) --- @@ -552,6 +552,7 @@ These commands allow you to manage all these services via the CLI. You can run t - list: List the service of the specified type - redeploy: Redeploy a service (already deployed before) - stop: Stop a service +- update: Update a service (service name, git branch, auto-deploy, ...) Each action allows you to specify additional parameters to define the service you want to modify (you can find them via the --help command) @@ -571,6 +572,12 @@ backend | Application | RUNNING | 2023-02-13 12:59:23.228231 +0000 UTC front-end | Application | STOPPED | 2023-02-09 14:04:38.079792 +0000 UTC ``` +Example: Enable the auto-deploy feature for an application +```bash +$ qovery application update --application backend --auto-deploy true +Application backend updated! +``` + ### Environment The command `environment` allow you to manage a specific environment via the CLI. You can run the following actions on environments: - cancel: Cancel an environment deployment diff --git a/website/docs/using-qovery/interface/cli.md.erb b/website/docs/using-qovery/interface/cli.md.erb index 4bf16c41b2..b936ca6075 100644 --- a/website/docs/using-qovery/interface/cli.md.erb +++ b/website/docs/using-qovery/interface/cli.md.erb @@ -375,6 +375,7 @@ These commands allow you to manage all these services via the CLI. You can run t - list: List the service of the specified type - redeploy: Redeploy a service (already deployed before) - stop: Stop a service +- update: Update a service (service name, git branch, auto-deploy, ...) Each action allows you to specify additional parameters to define the service you want to modify (you can find them via the --help command) @@ -394,6 +395,12 @@ backend | Application | RUNNING | 2023-02-13 12:59:23.228231 +0000 UTC front-end | Application | STOPPED | 2023-02-09 14:04:38.079792 +0000 UTC ``` +Example: Enable the auto-deploy feature for an application +```bash +$ qovery application update --application backend --auto-deploy true +Application backend updated! +``` + ### Environment The command `environment` allow you to manage a specific environment via the CLI. You can run the following actions on environments: - cancel: Cancel an environment deployment