From 636b2b6a39e5c9049c53357a777d99172a8cb198 Mon Sep 17 00:00:00 2001 From: Vasco Guita <33404234+vascoguita@users.noreply.github.com> Date: Tue, 1 Nov 2022 11:48:45 +0100 Subject: [PATCH] Migrate Codacy from Drone to Codacy/GitHub integration (#3422) Co-authored-by: Vasco Guita --- .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 4396c1e6c2..85987da72f 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 0000000000..04d88e50ae --- /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/3422 \ No newline at end of file