Tried to use reference in ci yaml config.

Fixed?


Lets try again.


... and again.


Perhaps like this?


Just one command.


Setup in lint stage.


Bugfix for dependency in ci.
This commit is contained in:
Maximilian Kratz 2020-12-18 17:43:42 +01:00
parent 54b52406b3
commit 2f1419433e
2 changed files with 4 additions and 9 deletions

View file

@ -3,22 +3,16 @@ kind: pipeline
name: default
steps:
- name: setup-ci
image: python:3.6
commands:
- python --version
- pip install -r requirements.txt
- name: lint
image: python:3.6
commands:
- &setup pip install -r requirements.txt
- pylint-fail-under --fail_under 9.0 -d pep8 matrix_synapse_saml_mapper/*.py setup.py
depends_on:
- setup-ci
- name: build
image: python:3.6
commands:
- *setup
- python setup.py sdist bdist_wheel
depends_on:
- lint
@ -26,6 +20,7 @@ steps:
- name: test
image: python:3.6
commands:
- *setup
- python setup.py install
depends_on:
- build

View file

@ -1,6 +1,6 @@
# Matrix Synapse SAML Mapper
[![Build Status](https://github.ci.maxkratz.com/api/badges/maxkratz/matrix-synapse-saml-mapper/status.svg)](https://github.ci.maxkratz.com/maxkratz/matrix-synapse-saml-mapper)
[![Build Status](https://github.ci.maxkratz.com/api/badges/maxkratz/matrix-synapse-saml-mapper/status.svg?ref=refs/heads/main)](https://github.ci.maxkratz.com/maxkratz/matrix-synapse-saml-mapper)
A Synapse plugin module which allows administrators to ...
* ... concatenate and/or modify provided SAML attributes,