0
0
mirror of https://github.com/thegeeklab/corenetworks.git synced 2024-11-21 21:20:38 +00:00

fix drone config

This commit is contained in:
Robert Kaussow 2020-03-30 23:33:27 +02:00
parent 252a30c087
commit ca5f94e7b3
3 changed files with 69 additions and 15 deletions

View File

@ -1,5 +1,5 @@
local PythonVersion(pyversion='2.7') = { local PythonVersion(pyversion='2.7') = {
name: 'python' + std.strReplace(pyversion, '.', '') + '-ansible', name: 'python' + std.strReplace(pyversion, '.', ''),
image: 'python:' + pyversion, image: 'python:' + pyversion,
environment: { environment: {
PY_COLORS: 1, PY_COLORS: 1,
@ -67,7 +67,7 @@ local PipelineTest = {
}, },
], ],
depends_on: [ depends_on: [
'dependencies', 'lint',
], ],
trigger: { trigger: {
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
@ -232,9 +232,6 @@ local PipelineDocs = {
], ],
depends_on: [ depends_on: [
'build-package', 'build-package',
'build-container-amd64',
'build-container-arm64',
'build-container-arm',
], ],
trigger: { trigger: {
ref: ['refs/heads/master', 'refs/tags/**'], ref: ['refs/heads/master', 'refs/tags/**'],

View File

@ -31,7 +31,7 @@ platform:
arch: amd64 arch: amd64
steps: steps:
- name: python27-ansible - name: python27
image: python:2.7 image: python:2.7
commands: commands:
- pip install -r test-requirements.txt -qq - pip install -r test-requirements.txt -qq
@ -42,7 +42,7 @@ steps:
depends_on: depends_on:
- clone - clone
- name: python35-ansible - name: python35
image: python:3.5 image: python:3.5
commands: commands:
- pip install -r test-requirements.txt -qq - pip install -r test-requirements.txt -qq
@ -53,7 +53,7 @@ steps:
depends_on: depends_on:
- clone - clone
- name: python36-ansible - name: python36
image: python:3.6 image: python:3.6
commands: commands:
- pip install -r test-requirements.txt -qq - pip install -r test-requirements.txt -qq
@ -64,7 +64,7 @@ steps:
depends_on: depends_on:
- clone - clone
- name: python37-ansible - name: python37
image: python:3.7 image: python:3.7
commands: commands:
- pip install -r test-requirements.txt -qq - pip install -r test-requirements.txt -qq
@ -75,7 +75,7 @@ steps:
depends_on: depends_on:
- clone - clone
- name: python38-ansible - name: python38
image: python:3.8 image: python:3.8
commands: commands:
- pip install -r test-requirements.txt -qq - pip install -r test-requirements.txt -qq
@ -103,7 +103,7 @@ trigger:
- refs/pull/** - refs/pull/**
depends_on: depends_on:
- dependencies - lint
--- ---
kind: pipeline kind: pipeline
@ -260,9 +260,6 @@ trigger:
depends_on: depends_on:
- build-package - build-package
- build-container-amd64
- build-container-arm64
- build-container-arm
--- ---
kind: pipeline kind: pipeline
@ -303,6 +300,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: e0cd32befb8e01ec9cb6bd0e7bc032fe0816bcda9e16d89f37789a7db9ba9b82 hmac: 4e001299fba8e9facecdb33b8892f3eb45d30334f47bb4babf9e78d9bcd90d09
... ...

60
.github/settings.yml vendored Normal file
View File

@ -0,0 +1,60 @@
---
repository:
name: corenetworks
description: Python library for the https://core-networks.de DNS API
homepage: https://corenetworks.geekdocs.de
topics: corenetworks, api, dns, python
private: false
has_issues: true
has_projects: false
has_wiki: false
has_downloads: false
default_branch: master
allow_squash_merge: true
allow_merge_commit: true
allow_rebase_merge: true
labels:
- name: bug
color: d73a4a
description: Something isn't working
- name: documentation
color: 0075ca
description: Improvements or additions to documentation
- name: duplicate
color: cfd3d7
description: This issue or pull request already exists
- name: enhancement
color: a2eeef
description: New feature or request
- name: good first issue
color: 7057ff
description: Good for newcomers
- name: help wanted
color: 008672
description: Extra attention is needed
- name: invalid
color: e4e669
description: This doesn't seem right
- name: question
color: d876e3
description: Further information is requested
- name: wontfix
color: ffffff
description: This will not be worked on
branches:
- name: master
protection:
required_pull_request_reviews: null
required_status_checks:
strict: true
contexts:
- continuous-integration/drone/pr
enforce_admins: null
restrictions: null
...