Skip to content

Constraint docker-swarm #80

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

Merged
merged 9 commits into from
Sep 2, 2020
Merged

Constraint docker-swarm #80

merged 9 commits into from
Sep 2, 2020

Conversation

yoavrotems
Copy link
Contributor

Add docker-swarm as a constraint and auto-detect if swarm is active.
Fix #61
But need to wait for #79 and aquasecurity/bench-common#102 to be merged.
Until then leaving it as a draft

function get control changed, so tests need to be changed accordingly
@codecov
Copy link

codecov bot commented Jul 2, 2020

Codecov Report

Merging #80 into master will decrease coverage by 7.07%.
The diff coverage is 12.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #80      +/-   ##
==========================================
- Coverage   51.51%   44.44%   -7.08%     
==========================================
  Files           3        4       +1     
  Lines         132      153      +21     
==========================================
  Hits           68       68              
- Misses         56       76      +20     
- Partials        8        9       +1     
Impacted Files Coverage Δ
utils.go 0.00% <0.00%> (ø)
app.go 43.63% <16.66%> (-6.37%) ⬇️

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 2a0efff...0d5f7b8. Read the comment docs.

@yoavrotems yoavrotems marked this pull request as ready for review July 19, 2020 08:34
@lizrice
Copy link
Contributor

lizrice commented Jul 29, 2020

Does this need a new release of bench-common?

@lizrice lizrice added this to the v0.4.0 milestone Jul 29, 2020
@yoavrotems
Copy link
Contributor Author

Yes we need to cut a new release for bench-common and then it should work just fine

use Bench-common version 0.4.3
update to bench-common 0.4.3
Fix typo - missing } and handling error from function GetSubstitutionMap
@yoavrotems yoavrotems requested a review from lizrice August 4, 2020 09:10
Copy link
Contributor

@lizrice lizrice left a comment

Choose a reason for hiding this comment

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

Some spaces (!) but otherwise LGTM

yoavrotems and others added 3 commits September 2, 2020 12:19
Co-authored-by: Liz Rice <liz@lizrice.com>
Co-authored-by: Liz Rice <liz@lizrice.com>
Co-authored-by: Liz Rice <liz@lizrice.com>
@lizrice lizrice merged commit c13717b into master Sep 2, 2020
@lizrice lizrice deleted the constraints-docker-swarm branch September 2, 2020 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker Swarm error even if no Docker Swarm installed.
2 participants