Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Migrate Codacy from Drone to Codacy/GitHub integration (cs3org#3422)
Browse files Browse the repository at this point in the history
Co-authored-by: Vasco Guita <vasco.guita@cern.ch>
  • Loading branch information
vascoguita and vascoguita committed Nov 2, 2022
1 parent f325597 commit ad049ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 37 deletions.
37 changes: 0 additions & 37 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ def main(ctx):
# implemented for: ocisIntegrationTests and s3ngIntegrationTests
return [
checkStarlark(),
coverage(),
buildAndPublishDocker(),
buildOnly(),
testIntegration(),
Expand Down Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions changelog/unreleased/enhancement-codacy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Enhancement: Migrate Codacy from Drone to Codacy/GitHub integration

https://github.com/cs3org/reva/pull/3422

0 comments on commit ad049ce

Please sign in to comment.