Commit 161b8839 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs-ci-videos' into 'master'

Docs: CI - link videos

Closes #62293

See merge request gitlab-org/gitlab-ce!29491
parents 3efd59b9 2c2d2bbf
...@@ -29,11 +29,11 @@ the development cycle, ensuring that all the code deployed to ...@@ -29,11 +29,11 @@ the development cycle, ensuring that all the code deployed to
production complies with the code standards you established for production complies with the code standards you established for
your app. your app.
For a: For a complete overview of these methodologies and GitLab CI/CD,
read the [Introduction to CI/CD with GitLab](introduction/index.md).
- Complete overview of these methodologies and GitLab CI/CD, <i class="fa fa-youtube-play youtube" aria-hidden="true"></i>
read the [Introduction to CI/CD with GitLab](introduction/index.md). For a video demonstration of GitLab CI/CD, see [Demo: CI/CD with GitLab](https://www.youtube.com/watch?v=1iXFbchozdY).
- Video demonstration of GitLab CI/CD, see [Demo: CI/CD with GitLab](https://www.youtube.com/watch?v=1iXFbchozdY).
## Getting started ## Getting started
......
...@@ -5,24 +5,17 @@ type: howto ...@@ -5,24 +5,17 @@ type: howto
# Using GitLab CI/CD with a GitHub repository **[PREMIUM]** # Using GitLab CI/CD with a GitHub repository **[PREMIUM]**
GitLab CI/CD can be used with **GitHub.com** and **GitHub Enterprise** by GitLab CI/CD can be used with **GitHub.com** and **GitHub Enterprise** by
creating a [CI/CD project](https://docs.gitlab.com/ee/user/project/ci_cd_for_external_repo.html) to connect your GitHub repository to creating a [CI/CD project](index.md) to connect your GitHub repository to
GitLab. GitLab.
NOTE: **Note:** <i class="fa fa-youtube-play youtube" aria-hidden="true"></i>
To use **GitHub Enterprise** with **GitLab.com** you should use the Watch a video on [Using GitLab CI/CD pipelines with GitHub repositories](https://www.youtube.com/watch?v=qgl3F2j-1cI).
manual method.
## Connect with GitHub integration ## Connect with GitHub integration
If the [GitHub integration](../../integration/github.md) has been enabled by your GitLab If the [GitHub integration](../../integration/github.md) has been enabled by your GitLab
administrator: administrator:
NOTE: **Note:**
Due to a 10-token limitation on the [GitHub OAuth Implementation](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#creating-multiple-tokens-for-oauth-apps),
if you import more than 10 times, your oldest imported project's token will be
revoked. See issue [#9147](https://gitlab.com/gitlab-org/gitlab-ee/issues/9147)
for more information.
1. In GitLab create a **CI/CD for external repo** project and select 1. In GitLab create a **CI/CD for external repo** project and select
**GitHub**. **GitHub**.
...@@ -42,6 +35,12 @@ GitLab will: ...@@ -42,6 +35,12 @@ GitLab will:
1. Enable [GitHub project integration](https://docs.gitlab.com/ee/user/project/integrations/github.html). 1. Enable [GitHub project integration](https://docs.gitlab.com/ee/user/project/integrations/github.html).
1. Create a web hook on GitHub to notify GitLab of new commits. 1. Create a web hook on GitHub to notify GitLab of new commits.
CAUTION: **Caution:**
Due to a 10-token limitation on the [GitHub OAuth Implementation](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#creating-multiple-tokens-for-oauth-apps),
if you import more than 10 times, your oldest imported project's token will be
revoked. See issue [#9147](https://gitlab.com/gitlab-org/gitlab-ee/issues/9147)
for more information.
## Connect with Personal Access Token ## Connect with Personal Access Token
NOTE: **Note:** NOTE: **Note:**
...@@ -79,6 +78,9 @@ GitLab will: ...@@ -79,6 +78,9 @@ GitLab will:
## Connect manually ## Connect manually
NOTE: **Note:**
To use **GitHub Enterprise** with **GitLab.com** use this method.
If the [GitHub integration](../../integration/github.md) is not enabled, or is enabled If the [GitHub integration](../../integration/github.md) is not enabled, or is enabled
for a different GitHub instance, you GitLab CI/CD can be manually enabled for for a different GitHub instance, you GitLab CI/CD can be manually enabled for
your repository: your repository:
......
...@@ -4,12 +4,12 @@ type: index, howto ...@@ -4,12 +4,12 @@ type: index, howto
# GitLab CI/CD for external repositories **[PREMIUM]** # GitLab CI/CD for external repositories **[PREMIUM]**
>[Introduced][ee-4642] in [GitLab Premium][eep] 10.6.
NOTE: **Note:** NOTE: **Note:**
This feature [is available for free](https://about.gitlab.com/2019/03/21/six-more-months-ci-cd-github/) to This feature [is available for free](https://about.gitlab.com/2019/03/21/six-more-months-ci-cd-github/) to
GitLab.com users until September 22nd, 2019. GitLab.com users until September 22nd, 2019.
>[Introduced][ee-4642] in [GitLab Premium][eep] 10.6.
GitLab CI/CD can be used with: GitLab CI/CD can be used with:
- [GitHub](github_integration.md). - [GitHub](github_integration.md).
......
...@@ -63,6 +63,12 @@ For examples of setting up GitLab CI/CD for cloud-based environments, see: ...@@ -63,6 +63,12 @@ For examples of setting up GitLab CI/CD for cloud-based environments, see:
- [How to autoscale continuous deployment with GitLab Runner on DigitalOcean](https://about.gitlab.com/2018/06/19/autoscale-continuous-deployment-gitlab-runner-digital-ocean/) - [How to autoscale continuous deployment with GitLab Runner on DigitalOcean](https://about.gitlab.com/2018/06/19/autoscale-continuous-deployment-gitlab-runner-digital-ocean/)
- [How to create a CI/CD pipeline with Auto Deploy to Kubernetes using GitLab and Helm](https://about.gitlab.com/2017/09/21/how-to-create-ci-cd-pipeline-with-autodeploy-to-kubernetes-using-gitlab-and-helm/) - [How to create a CI/CD pipeline with Auto Deploy to Kubernetes using GitLab and Helm](https://about.gitlab.com/2017/09/21/how-to-create-ci-cd-pipeline-with-autodeploy-to-kubernetes-using-gitlab-and-helm/)
<i class="fa fa-youtube-play youtube" aria-hidden="true"></i>
See also the following video overviews:
- [Containers, Schedulers, and GitLab CI](https://www.youtube.com/watch?v=d-9awBxEbvQ).
- [Deploying to IBM Cloud with GitLab CI/CD](https://www.youtube.com/watch?v=6ZF4vgKMd-g).
### Customer stories ### Customer stories
For some customer experiences with GitLab CI/CD, see: For some customer experiences with GitLab CI/CD, see:
......
...@@ -205,6 +205,9 @@ With GitLab CI/CD you can also: ...@@ -205,6 +205,9 @@ With GitLab CI/CD you can also:
To see all CI/CD features, navigate back to the [CI/CD index](../README.md). To see all CI/CD features, navigate back to the [CI/CD index](../README.md).
<i class="fa fa-youtube-play youtube" aria-hidden="true"></i>
Watch the video [GitLab CI Live Demo](https://www.youtube.com/watch?v=pBe4t1CD8Fc) with a deeper overview of GitLab CI/CD.
### Setting up GitLab CI/CD for the first time ### Setting up GitLab CI/CD for the first time
To get started with GitLab CI/CD, you need to familiarize yourself To get started with GitLab CI/CD, you need to familiarize yourself
......
...@@ -19,6 +19,9 @@ GitLab's Jenkins integration allows you to trigger a Jenkins build when you ...@@ -19,6 +19,9 @@ GitLab's Jenkins integration allows you to trigger a Jenkins build when you
push code to a repository, or when a merge request is created. Additionally, push code to a repository, or when a merge request is created. Additionally,
it shows the pipeline status on merge requests widgets and on the project's home page. it shows the pipeline status on merge requests widgets and on the project's home page.
<i class="fa fa-youtube-play youtube" aria-hidden="true"></i>
For a video overview, see [Migrating from Jenkins to GitLab](https://www.youtube.com/watch?v=RlEVGOpYF5Y).
## Use cases ## Use cases
- Suppose you are new to GitLab, and want to keep using Jenkins until you prepare - Suppose you are new to GitLab, and want to keep using Jenkins until you prepare
...@@ -30,6 +33,8 @@ running with Jenkins, but view the results in your project's repository in GitLa ...@@ -30,6 +33,8 @@ running with Jenkins, but view the results in your project's repository in GitLa
therefore, you opt for keep using Jenkins to build your apps. Show the results of your therefore, you opt for keep using Jenkins to build your apps. Show the results of your
pipelines directly in GitLab. pipelines directly in GitLab.
For a real use case, read the blog post [Continuous integration: From Jenkins to GitLab using Docker](https://about.gitlab.com/2017/07/27/docker-my-precious/).
## Requirements ## Requirements
* [Jenkins GitLab Plugin](https://wiki.jenkins.io/display/JENKINS/GitLab+Plugin) * [Jenkins GitLab Plugin](https://wiki.jenkins.io/display/JENKINS/GitLab+Plugin)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment