Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
rqlcontroller
Commits
889440263e74
Commit
80db8818
authored
Jul 22, 2021
by
Laurent Peuch
Browse files
ci(gitlab-ci): use templates from a common repository
parent
f7c8bb0be714
Pipeline
#76864
passed with stages
in 2 minutes and 15 seconds
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
88944026
...
@@ -6,13 +6,16 @@ include:
...
@@ -6,13 +6,16 @@ include:
-
project
:
"
open-source/gitlab-ci-templates"
-
project
:
"
open-source/gitlab-ci-templates"
ref
:
"
branch/default"
ref
:
"
branch/default"
file
:
file
:
-
"
templates/no-duplicated-ci-pipelines.yml"
# use workflow to avoid duplicated pipelines
-
"
templates/no-duplicated-ci-pipelines.yml"
# use workflow to avoid duplicated pipelines
-
"
templates/lint/flake8.yml"
# will do the equivalent of 'tox -e flake8'
-
"
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/black.yml"
# will do the equivalent of 'tox -e black'
-
"
templates/lint/black.yml"
# will do the equivalent of 'tox -e black'
-
"
templates/lint/check-manifest.yml"
# will do the equivalent of 'tox -e check-manifest'
-
"
templates/tests/py3.yml"
# will do the equivalent of 'tox -e py3'
-
"
templates/lint/yamllint.yml"
# will do the equivalent of 'tox -e yamllint'
-
"
templates/create-release-on-heptapod.yml"
# this will create a release on heptapod
-
"
templates/tests/py3.yml"
# will do the equivalent of 'tox -e py3'
-
"
templates/upload-to-pypi.yml"
# on a new mercurial tag (expected to be done with release-new), will push a release on pypi
-
"
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"
# - ".gitlab-ci-extended.yml"
stages
:
stages
:
...
@@ -20,17 +23,3 @@ stages:
...
@@ -20,17 +23,3 @@ stages:
-
tests
-
tests
-
release
-
release
-
publish
-
publish
yamllint
:
image
:
python
stage
:
lint
rules
:
-
changes
:
-
"
**/*.yaml"
-
"
*.yaml"
-
"
**/*.yml"
-
"
*.yml"
before_script
:
-
pip install tox
script
:
-
tox -e yamllint
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