Commit 88fdc26f authored by Laurent Peuch's avatar Laurent Peuch
Browse files

ci(fix): use modern templates with existing images

parent c2687f5918a0
Pipeline #131326 failed with stage
in 41 seconds
image: python:3.7
---
include:
- project: "open-source/gitlab-ci-templates"
ref: "branch/v2"
file: # the stages are:
- "templates/base.yml" # obligatory base template
- "templates/no-duplicated-ci-pipelines.yml" # no stage
# - "templates/lint/black.yml"
- "templates/lint/flake8.yml"
- "templates/lint/check-manifest.yml"
# - "templates/lint/yamllint.yml"
# - "templates/lint/mypy.yml"
# - "templates/lint/check-dependencies-resolution.yml"
before_script:
- pip install tox
check-manifest:
script: tox -e check-manifest
flake8:
script: tox -e flake8
stages:
- lint
- tests
- release
- publish
- deploy
py27:
image: r.ext.logilab.fr/jenkins/jnlp:buster
# before_script:
# - sudo pip install tox
# - sudo apt-get update
# - sudo apt-get install -y -qq python-dev postgresql
script: PATH=/usr/lib/postgresql/11/bin:${PATH} tox -e py27
stage: lint
image: ${CI_REGISTRY}/cubicweb/dockerfiles/buster-slim-pg11
before_script:
- sudo apt-get update
- sudo apt-get install -y python-dev
script:
- PATH=/usr/lib/postgresql/11/bin:${PATH} tox -e py27
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