Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove dependency on go-arty and improve testing suite #156

Merged
merged 19 commits into from
Nov 28, 2023

Conversation

plyr4
Copy link
Contributor

@plyr4 plyr4 commented Nov 17, 2023

decoupling from github.com/target/go-arty and migrating to just use the jfrog client directly.
it required some rewrites to make docker-promote function as expected, and also fixes a bug where api key and password were being set simultaneously, leading to flaky failure responses from the artifactory api

@plyr4 plyr4 requested a review from a team as a code owner November 17, 2023 20:56
cmd/vela-artifactory/artifactoryservice.go Outdated Show resolved Hide resolved
cmd/vela-artifactory/mock/mock.go Show resolved Hide resolved
cmd/vela-artifactory/mock/mock.go Outdated Show resolved Hide resolved
cmd/vela-artifactory/mock/mock.go Outdated Show resolved Hide resolved
cmd/vela-artifactory/config.go Outdated Show resolved Hide resolved
cmd/vela-artifactory/docker_promote.go Outdated Show resolved Hide resolved
cmd/vela-artifactory/prop_test.go Show resolved Hide resolved
Copy link

codecov bot commented Nov 17, 2023

Codecov Report

Merging #156 (200ce72) into main (8630ae7) will decrease coverage by 7.18%.
The diff coverage is 18.18%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #156      +/-   ##
==========================================
- Coverage   49.27%   42.09%   -7.18%     
==========================================
  Files           8        8              
  Lines         688      772      +84     
==========================================
- Hits          339      325      -14     
- Misses        342      438      +96     
- Partials        7        9       +2     
Files Coverage Δ
cmd/vela-artifactory/copy.go 100.00% <100.00%> (+3.22%) ⬆️
cmd/vela-artifactory/delete.go 90.00% <100.00%> (+6.66%) ⬆️
cmd/vela-artifactory/plugin.go 95.65% <100.00%> (ø)
cmd/vela-artifactory/prop.go 96.77% <100.00%> (+9.67%) ⬆️
cmd/vela-artifactory/upload.go 100.00% <100.00%> (ø)
cmd/vela-artifactory/config.go 85.29% <81.81%> (-5.03%) ⬇️
cmd/vela-artifactory/main.go 0.00% <0.00%> (ø)
cmd/vela-artifactory/docker_promote.go 12.58% <3.60%> (-45.11%) ⬇️

@plyr4 plyr4 marked this pull request as draft November 17, 2023 21:23
@plyr4 plyr4 marked this pull request as ready for review November 22, 2023 16:56
Copy link

@ecrupper ecrupper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

Copy link
Contributor

@KellyMerrick KellyMerrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@plyr4 plyr4 merged commit bf4c53c into main Nov 28, 2023
10 of 12 checks passed
@plyr4 plyr4 deleted the feat/rm-goarty branch November 28, 2023 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants