From ca5f94e7b3405a89dec0d712bbb935ce79b75616 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 30 Mar 2020 23:33:27 +0200 Subject: [PATCH] fix drone config --- .drone.jsonnet | 7 ++---- .drone.yml | 17 ++++++------- .github/settings.yml | 60 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+), 15 deletions(-) create mode 100644 .github/settings.yml diff --git a/.drone.jsonnet b/.drone.jsonnet index 56297b4..31364c3 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -1,5 +1,5 @@ local PythonVersion(pyversion='2.7') = { - name: 'python' + std.strReplace(pyversion, '.', '') + '-ansible', + name: 'python' + std.strReplace(pyversion, '.', ''), image: 'python:' + pyversion, environment: { PY_COLORS: 1, @@ -67,7 +67,7 @@ local PipelineTest = { }, ], depends_on: [ - 'dependencies', + 'lint', ], trigger: { ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], @@ -232,9 +232,6 @@ local PipelineDocs = { ], depends_on: [ 'build-package', - 'build-container-amd64', - 'build-container-arm64', - 'build-container-arm', ], trigger: { ref: ['refs/heads/master', 'refs/tags/**'], diff --git a/.drone.yml b/.drone.yml index db740fe..56e8c1f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,7 +31,7 @@ platform: arch: amd64 steps: -- name: python27-ansible +- name: python27 image: python:2.7 commands: - pip install -r test-requirements.txt -qq @@ -42,7 +42,7 @@ steps: depends_on: - clone -- name: python35-ansible +- name: python35 image: python:3.5 commands: - pip install -r test-requirements.txt -qq @@ -53,7 +53,7 @@ steps: depends_on: - clone -- name: python36-ansible +- name: python36 image: python:3.6 commands: - pip install -r test-requirements.txt -qq @@ -64,7 +64,7 @@ steps: depends_on: - clone -- name: python37-ansible +- name: python37 image: python:3.7 commands: - pip install -r test-requirements.txt -qq @@ -75,7 +75,7 @@ steps: depends_on: - clone -- name: python38-ansible +- name: python38 image: python:3.8 commands: - pip install -r test-requirements.txt -qq @@ -103,7 +103,7 @@ trigger: - refs/pull/** depends_on: -- dependencies +- lint --- kind: pipeline @@ -260,9 +260,6 @@ trigger: depends_on: - build-package -- build-container-amd64 -- build-container-arm64 -- build-container-arm --- kind: pipeline @@ -303,6 +300,6 @@ depends_on: --- kind: signature -hmac: e0cd32befb8e01ec9cb6bd0e7bc032fe0816bcda9e16d89f37789a7db9ba9b82 +hmac: 4e001299fba8e9facecdb33b8892f3eb45d30334f47bb4babf9e78d9bcd90d09 ... diff --git a/.github/settings.yml b/.github/settings.yml new file mode 100644 index 0000000..c0f8882 --- /dev/null +++ b/.github/settings.yml @@ -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 + +...