Michel Roux
3393cb696f
All checks were successful
continuous-integration/drone/push Build is passing
68 lines
1.4 KiB
YAML
68 lines
1.4 KiB
YAML
kind: pipeline
|
|
name: default
|
|
type: docker
|
|
|
|
steps:
|
|
- name: flake8
|
|
image: python:slim
|
|
commands:
|
|
- pip install flake8
|
|
- flake8 pynyaata --ignore=E501
|
|
- name: docker
|
|
image: plugins/docker
|
|
settings:
|
|
repo: xefir/pynyaata
|
|
auto_tag: true
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
- name: pypi
|
|
image: plugins/pypi
|
|
settings:
|
|
username:
|
|
from_secret: pypi_username
|
|
password:
|
|
from_secret: pypi_password
|
|
when:
|
|
branch:
|
|
- master
|
|
|
|
trigger:
|
|
event:
|
|
exclude:
|
|
- cron
|
|
|
|
---
|
|
kind: pipeline
|
|
name: dependabot
|
|
type: docker
|
|
|
|
steps:
|
|
- name: dependabot-pip
|
|
image: xefir/docker-dependabot-gitea
|
|
environment:
|
|
GITHUB_ACCESS_TOKEN:
|
|
from_secret: github_access_token
|
|
GITEA_ACCESS_TOKEN:
|
|
from_secret: gitea_access_token
|
|
PROJECT_PATH: Xefir/PyNyaaTa
|
|
GITEA_HOSTNAME: git.crystalyx.net
|
|
GITEA_SCHEME: https
|
|
PACKAGE_MANAGER: pip
|
|
- name: dependabot-docker
|
|
image: xefir/docker-dependabot-gitea
|
|
environment:
|
|
GITHUB_ACCESS_TOKEN:
|
|
from_secret: github_access_token
|
|
GITEA_ACCESS_TOKEN:
|
|
from_secret: gitea_access_token
|
|
PROJECT_PATH: Xefir/PyNyaaTa
|
|
GITEA_HOSTNAME: git.crystalyx.net
|
|
GITEA_SCHEME: https
|
|
PACKAGE_MANAGER: docker
|
|
|
|
trigger:
|
|
event:
|
|
- cron
|