Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Gruesso <dgruesso@gitlab.com>2019-01-30 22:57:03 +0300
committerdanielgruesso <dgruesso@gitlab.com>2019-01-30 22:59:16 +0300
commit46dc355ad2eb1803e94ab181f8f3b52e13d8ad03 (patch)
treeb12a7ebe946ef5242c14c0b1db97e5650fc964ed /doc
parent3e93d3981d8ff9501ea2a10342963bdafab73e3c (diff)
Update private repo steps
Diffstat (limited to 'doc')
-rw-r--r--doc/user/project/clusters/serverless/index.md11
1 files changed, 1 insertions, 10 deletions
diff --git a/doc/user/project/clusters/serverless/index.md b/doc/user/project/clusters/serverless/index.md
index d09f0b431f9..83c3dd0faec 100644
--- a/doc/user/project/clusters/serverless/index.md
+++ b/doc/user/project/clusters/serverless/index.md
@@ -90,16 +90,7 @@ Follow these steps to deploy a function using the Node.js runtime to your Knativ
1. Create the file that will contain the function code. In this example, our file is called `echo.js` and is located inside the `echo` directory. If your project is public, skip to step 4.
-1. If your project is private you will need to [Create a GitLab deploy token](../../deploy_tokens/index.md#creating-a-deploy-token).
-This will enable the `tm` cli to be able to be used in a deployment step and gives it access to the container registry.
-
- 1. Go to **Settings** > **Repository**.
- 1. Click on "Expand" on **Deploy Tokens** section.
- 1. Enter `gitlab-deploy-token` as the name.
- 1. Check the `read_registry` scope
- 1. Click on **Create deploy token**.
- 1. Save the deploy token somewhere safe. Once you leave or refresh
- the page, **you won't be able to access it again**.
+1. If your project is private you will need to [create a GitLab deploy token](../../deploy_tokens/index.md#creating-a-deploy-token) with `gitlab-deploy-token` as the name and the `read_registry` scope.
1. `.gitlab-ci.yml`: This template allows to define the stage, environment, and
image to be used for your functions. It must be included at the root of your repository: