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 CI integration #143

Merged
merged 4 commits into from
Dec 30, 2018
Merged

Add CI integration #143

merged 4 commits into from
Dec 30, 2018

Conversation

wagoodman
Copy link
Owner

This was an opportune time to take care of a few things:

  • add CI package for handling rule evaluation
  • add tests for export option (--json)
  • added test image tar for integration testing

closes #74

Makefile Outdated
./build/$(BIN) build -t dive-example:latest -f .data/Dockerfile.example .

run-ci: build
CI=true ./build/$(BIN) build -t dive-example:latest -f .data/Dockerfile.example .
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we add --ci-config ./.data/.dive-ci?

The default rules make sense, but I think the defile behavior of make run-ci should exercise all the rules, and not skip the wasted bytes rule.

README.md Outdated
@@ -16,6 +16,13 @@ or if you want to build your image then jump straight into analyzing it:
dive build -t <some-tag> .
```

Additionally you can run this in your CI pipeline to ensure you're keeping wasted space to a minimum (this skips the TUI):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Did you mean this skips the UI not this skips the TUI?

Copy link
Owner Author

Choose a reason for hiding this comment

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

TUI = terminal UI, but UI makes more sense universally

@wagoodman wagoodman merged commit fc27dcd into master Dec 30, 2018
@wagoodman wagoodman deleted the ci-integration branch December 30, 2018 19:07
DeanAyalon pushed a commit to DeanAyalon/fork-dive that referenced this pull request Oct 17, 2024
Bumps [github.com/docker/cli](https://github.com/docker/cli) from 27.0.1+incompatible to 27.0.2+incompatible.
- [Commits](docker/cli@v27.0.1...v27.0.2)

---
updated-dependencies:
- dependency-name: github.com/docker/cli
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

Make CI friendly
2 participants