Skip to content
Snippets Groups Projects
Commit 89645cefaf74 authored by Arthur Lutz's avatar Arthur Lutz
Browse files

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

parent afb3ed6d5b83
No related branches found
No related tags found
1 merge request!22docs(readme): update recommended jobs for cubes (no more debian)
Pipeline #78156 passed
......@@ -36,6 +36,10 @@
A recommended configuration for a cube would be:
```yaml
---
default:
image: python:3.7
include:
- project: "open-source/gitlab-ci-templates"
ref: "branch/default"
......@@ -39,5 +43,5 @@
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
......@@ -43,8 +47,14 @@
- "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
......@@ -47,9 +57,7 @@
stages:
- lint
- tests
- build-debian-package
- upload-deb-to-heptapod
- release
- publish
```
......@@ -62,7 +70,7 @@
## 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`:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment