Skip to content

Commit

Permalink
Migrate Codacy from Drone to Codacy/GitHub integration
Browse files Browse the repository at this point in the history
  • Loading branch information
vascoguita committed Nov 1, 2022
1 parent 9f13fc5 commit bfeb233
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/3421

0 comments on commit bfeb233

Please sign in to comment.