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

Add ability to set source in status checks #492

Closed
wants to merge 2 commits into from
Closed

Conversation

lkysow
Copy link
Member

@lkysow lkysow commented Feb 25, 2019

No description provided.

This is the same interface as vcs.Client so no need to have both.
This is needed so we can set different commit statuses for plan and
apply phases.

Also, append os env variables to git commands during cloning. This fixed
a bug when running tests where I got an error because git couldn't expand
'~' from its git config to my home directory because the HOME env var
wasn't set.
@codecov
Copy link

codecov bot commented Feb 25, 2019

Codecov Report

Merging #492 into master will increase coverage by 0.01%.
The diff coverage is 36.36%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #492      +/-   ##
==========================================
+ Coverage   70.65%   70.67%   +0.01%     
==========================================
  Files          63       63              
  Lines        4291     4290       -1     
==========================================
  Hits         3032     3032              
+ Misses       1031     1030       -1     
  Partials      228      228
Impacted Files Coverage Δ
server/locks_controller.go 87.14% <ø> (ø) ⬆️
server/events_controller.go 53.19% <ø> (ø) ⬆️
server/events/pull_closed_executor.go 89.74% <ø> (ø) ⬆️
server/events/project_command_builder.go 84.68% <ø> (ø) ⬆️
server/events/command_runner.go 65.46% <ø> (ø) ⬆️
server/events/vcs/gitlab_client.go 25.86% <0%> (+0.22%) ⬆️
server/events/vcs/bitbucketserver/client.go 33.72% <0%> (ø) ⬆️
server/events/vcs/not_configured_vcs_client.go 0% <0%> (ø) ⬆️
server/events/vcs/bitbucketcloud/client.go 40.16% <0%> (ø) ⬆️
server/events/vcs/github_client.go 73.14% <100%> (-0.25%) ⬇️
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5e9464b...b749a32. Read the comment docs.

@osterman
Copy link

@lkysow is this related to #446?

@lkysow
Copy link
Member Author

lkysow commented Feb 28, 2019

Maybe... 😄

@lkysow
Copy link
Member Author

lkysow commented Feb 28, 2019

Closing for #503

@lkysow lkysow closed this Feb 28, 2019
@lkysow lkysow deleted the status-check-src branch February 28, 2019 16:04
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.

2 participants