Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
da26ec43
Commit
da26ec43
authored
May 15, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
2f62a4de
40fc087c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
doc/ci/examples/test-and-deploy-python-application-to-heroku.md
.../examples/test-and-deploy-python-application-to-heroku.md
+7
-2
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+0
-3
No files found.
doc/ci/examples/test-and-deploy-python-application-to-heroku.md
View file @
da26ec43
...
...
@@ -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:
```
yaml
stages
:
-
test
-
deploy
test
:
stage
:
test
script
:
# 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
...
...
@@ -19,7 +24,7 @@ test:
-
python manage.py test
staging
:
typ
e
:
deploy
stag
e
:
deploy
script
:
-
apt-get update -qy
-
apt-get install -y ruby-dev
...
...
@@ -29,7 +34,7 @@ staging:
-
master
production
:
typ
e
:
deploy
stag
e
:
deploy
script
:
-
apt-get update -qy
-
apt-get install -y ruby-dev
...
...
doc/ci/yaml/README.md
View file @
da26ec43
...
...
@@ -1764,9 +1764,6 @@ TIP: **Tip:**
Use merging to customize and override included CI/CD configurations with local
definitions.
Recursive includes are not supported. Your external files should not use the
`include`
keyword as it will be ignored.
NOTE:
**Note:**
Using YAML aliases across different YAML files sourced by
`include`
is not
supported. You must only refer to aliases in the same file. Instead
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment