From bfeb233126c8c925b0d690422c2d771515554fa3 Mon Sep 17 00:00:00 2001 From: Vasco Guita Date: Tue, 1 Nov 2022 10:30:36 +0100 Subject: [PATCH] Migrate Codacy from Drone to Codacy/GitHub integration --- .drone.star | 37 ---------------------- changelog/unreleased/enhancement-codacy.md | 3 ++ 2 files changed, 3 insertions(+), 37 deletions(-) create mode 100644 changelog/unreleased/enhancement-codacy.md diff --git a/.drone.star b/.drone.star index 4396c1e6c20..85987da72f9 100644 --- a/.drone.star +++ b/.drone.star @@ -80,7 +80,6 @@ def main(ctx): # implemented for: ocisIntegrationTests and s3ngIntegrationTests return [ checkStarlark(), - coverage(), buildAndPublishDocker(), buildOnly(), testIntegration(), @@ -219,42 +218,6 @@ def buildAndPublishDocker(): ], } -def coverage(): - return { - "kind": "pipeline", - "type": "docker", - "name": "unit-test-coverage", - "platform": { - "os": "linux", - "arch": "amd64", - }, - "trigger": { - "ref": [ - "refs/heads/master", - "refs/pull/**", - ], - }, - "steps": [ - { - "name": "unit-test", - "image": "registry.cern.ch/docker.io/library/golang:1.19", - "commands": [ - "make test", - ], - }, - { - "name": "codacy", - "image": "plugins/codacy:1", - "pull": "always", - "settings": { - "token": { - "from_secret": "codacy_token", - }, - }, - }, - ], - } - def buildOnly(): return { "kind": "pipeline", diff --git a/changelog/unreleased/enhancement-codacy.md b/changelog/unreleased/enhancement-codacy.md new file mode 100644 index 00000000000..73414e37742 --- /dev/null +++ b/changelog/unreleased/enhancement-codacy.md @@ -0,0 +1,3 @@ +Enhancement: Migrate Codacy from Drone to Codacy/GitHub integration + +https://github.com/cs3org/reva/pull/3421 \ No newline at end of file