Commit da26ec43 authored by GitLab Bot's avatar GitLab Bot

Automatic merge of gitlab-org/gitlab-ce master

parents 2f62a4de 40fc087c
...@@ -9,7 +9,12 @@ You can checkout the [example source](https://gitlab.com/ayufan/python-getting-s ...@@ -9,7 +9,12 @@ You can checkout the [example source](https://gitlab.com/ayufan/python-getting-s
This is what the `.gitlab-ci.yml` file looks like for this project: This is what the `.gitlab-ci.yml` file looks like for this project:
```yaml ```yaml
stages:
- test
- deploy
test: test:
stage: test
script: script:
# this configures Django application to use attached postgres database that is run on `postgres` host # this configures Django application to use attached postgres database that is run on `postgres` host
- export DATABASE_URL=postgres://postgres:@postgres:5432/python-test-app - export DATABASE_URL=postgres://postgres:@postgres:5432/python-test-app
...@@ -19,7 +24,7 @@ test: ...@@ -19,7 +24,7 @@ test:
- python manage.py test - python manage.py test
staging: staging:
type: deploy stage: deploy
script: script:
- apt-get update -qy - apt-get update -qy
- apt-get install -y ruby-dev - apt-get install -y ruby-dev
...@@ -29,7 +34,7 @@ staging: ...@@ -29,7 +34,7 @@ staging:
- master - master
production: production:
type: deploy stage: deploy
script: script:
- apt-get update -qy - apt-get update -qy
- apt-get install -y ruby-dev - apt-get install -y ruby-dev
......
...@@ -1764,9 +1764,6 @@ TIP: **Tip:** ...@@ -1764,9 +1764,6 @@ TIP: **Tip:**
Use merging to customize and override included CI/CD configurations with local Use merging to customize and override included CI/CD configurations with local
definitions. definitions.
Recursive includes are not supported. Your external files should not use the
`include` keyword as it will be ignored.
NOTE: **Note:** NOTE: **Note:**
Using YAML aliases across different YAML files sourced by `include` is not Using YAML aliases across different YAML files sourced by `include` is not
supported. You must only refer to aliases in the same file. Instead supported. You must only refer to aliases in the same file. Instead
......
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