Commit 89645cef authored by Arthur Lutz's avatar Arthur Lutz
Browse files

docs(readme): update recommended jobs for cubes (no more debian)

parent afb3ed6d5b83
Pipeline #78156 passed with stage
in 17 seconds
......@@ -36,20 +36,28 @@ stages:
A recommended configuration for a cube would be:
```yaml
---
default:
image: python:3.7
include:
- project: "open-source/gitlab-ci-templates"
ref: "branch/default"
file: # the stages are:
file:
- "templates/no-duplicated-ci-pipelines.yml" # use workflow to avoid duplicated pipelines
- "templates/build-debian-package.yml" # will build a .deb and upload it to heptapod
- "templates/create-release-on-heptapod-including-debian-package.yml"
- "templates/upload-to-pypi.yml"
- "templates/lint/flake8.yml" # will do the equivalent of 'tox -e flake8'
- "templates/lint/check-manifest.yml" # will do the equivalent of 'tox -e check-manifest'
- "templates/lint/yamllint.yml" # will do the equivalent of 'tox -e yamllint'
- "templates/tests/py3.yml" # will do the equivalent of 'tox -e py3'
- "templates/create-release-on-heptapod.yml" # this will create a release on heptapod
- "templates/upload-to-pypi.yml" # on a new mercurial tag (expected to be done with release-new), will push a release on pypi
# uncomment and uses to customize/extend the configuration here if needed
# (it needs to be at the same level than "- project")
# - ".gitlab-ci-extended.yml"
stages:
- lint
- tests
- build-debian-package
- upload-deb-to-heptapod
- release
- publish
```
......@@ -62,7 +70,7 @@ and some examples [here](https://docs.gitlab.com/ee/ci/yaml/README.html#include)
## Job customisation
If you want to modify a job in your project, you can override it.
If you want to modify a job in your project, you can override it.
For example, you need to change the `rule` condition of `image_build`.
This is your default `.gitlab-ci.yml`:
......
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