2020-04-09 08:27:42 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
2020-12-08 15:45:02 +00:00
|
|
|
type: docker
|
2020-04-09 08:27:42 +00:00
|
|
|
|
|
|
|
steps:
|
2020-12-08 16:17:24 +00:00
|
|
|
- name: flake8
|
2020-12-08 16:20:44 +00:00
|
|
|
image: python:slim
|
2020-12-08 16:17:24 +00:00
|
|
|
commands:
|
|
|
|
- pip install flake8
|
|
|
|
- flake8 pynyaata --ignore=E501
|
2020-04-09 08:27:42 +00:00
|
|
|
- name: docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: xefir/pynyaata
|
|
|
|
auto_tag: true
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2020-04-10 08:08:22 +00:00
|
|
|
- name: pypi
|
|
|
|
image: plugins/pypi
|
|
|
|
settings:
|
|
|
|
username:
|
2020-04-25 09:04:50 +00:00
|
|
|
from_secret: pypi_username
|
2020-04-10 08:08:22 +00:00
|
|
|
password:
|
2020-04-25 09:04:50 +00:00
|
|
|
from_secret: pypi_password
|
2020-12-08 15:45:02 +00:00
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
|
2020-12-09 22:17:42 +00:00
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- cron
|
|
|
|
|
2020-12-08 15:45:02 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: dependabot
|
|
|
|
type: docker
|
|
|
|
|
|
|
|
steps:
|
2020-12-11 08:49:03 +00:00
|
|
|
- name: dependabot-pip
|
2020-12-08 15:45:02 +00:00
|
|
|
image: xefir/docker-dependabot-gitea
|
|
|
|
environment:
|
|
|
|
GITHUB_ACCESS_TOKEN:
|
|
|
|
from_secret: github_access_token
|
|
|
|
GITEA_ACCESS_TOKEN:
|
|
|
|
from_secret: gitea_access_token
|
2020-12-10 09:29:30 +00:00
|
|
|
PROJECT_PATH: Xefir/PyNyaaTa
|
2020-12-11 08:49:03 +00:00
|
|
|
GITEA_HOSTNAME: git.crystalyx.net
|
2020-12-11 15:44:30 +00:00
|
|
|
GITEA_SCHEME: https
|
2020-12-11 08:49:03 +00:00
|
|
|
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
|
2020-12-11 15:44:30 +00:00
|
|
|
GITEA_SCHEME: https
|
2020-12-11 08:49:03 +00:00
|
|
|
PACKAGE_MANAGER: docker
|
2020-12-09 22:17:42 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- cron
|