summaryrefslogtreecommitdiff
path: root/doc/topics/autodevops/customize.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/topics/autodevops/customize.md')
-rw-r--r--doc/topics/autodevops/customize.md15
1 files changed, 13 insertions, 2 deletions
diff --git a/doc/topics/autodevops/customize.md b/doc/topics/autodevops/customize.md
index 2d6da4d322b..b5952494201 100644
--- a/doc/topics/autodevops/customize.md
+++ b/doc/topics/autodevops/customize.md
@@ -5,7 +5,8 @@ almost everything to fit your needs. Auto DevOps offers everything from custom
[buildpacks](#custom-buildpacks), to [Dockerfiles](#custom-dockerfile), and
[Helm charts](#custom-helm-chart). You can even copy the complete
[CI/CD configuration](#customizing-gitlab-ciyml) into your project to enable
-staging and canary deployments, and more.
+staging and canary deployments,
+[manage Auto DevOps with GitLab APIs](customize.md#extend-auto-devops-with-the-api), and more.
## Custom buildpacks
@@ -77,6 +78,16 @@ Avoid passing secrets as Docker build arguments if possible, as they may be
persisted in your image. See
[this discussion of best practices with secrets](https://github.com/moby/moby/issues/13490) for details.
+## Extend Auto DevOps with the API
+
+You can extend and manage your Auto DevOps configuration with GitLab APIs:
+
+- [Settings that can be accessed with API calls](../../api/settings.md#list-of-settings-that-can-be-accessed-via-api-calls),
+ which include `auto_devops_enabled`, to enable Auto DevOps on projects by default.
+- [Creating a new project](../../api/projects.md#create-project).
+- [Editing groups](../../api/groups.md#update-group).
+- [Editing projects](../../api/projects.md#edit-project).
+
## Forward CI variables to the build environment
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/25514) in GitLab 12.3, but available in versions 11.9 and above.
@@ -381,7 +392,7 @@ these prefixed variables available to the deployed application as environment va
To configure your application variables:
-1. Go to your project's **{settings}** **Settings > CI/CD**, then expand the
+1. Go to your project's **Settings > CI/CD**, then expand the
**Variables** section.
1. Create a CI/CD variable, ensuring the key is prefixed with