Skip to content

Refactor the config/logging stuff out of build #581

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 6 commits into from
Jul 27, 2023

Conversation

Elizafox
Copy link
Contributor

This is the preliminary part of work to refactor renovate to allow it to use var transforms and other future config infrastructure.

Elizafox and others added 2 commits July 27, 2023 00:45
This is the preliminary part of work to refactor renovate to allow it to
use var transforms and other future config infrastructure.

Signed-off-by: Elizabeth Myers <[email protected]>
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 24.0.2+incompatible to 24.0.5+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](moby/moby@v24.0.2...v24.0.5)

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

Signed-off-by: dependabot[bot] <[email protected]>
@Elizafox Elizafox requested a review from a team as a code owner July 27, 2023 07:51
@Elizafox Elizafox requested review from rawlingsj and removed request for a team July 27, 2023 07:51
@kaniini
Copy link
Contributor

kaniini commented Jul 27, 2023

Looks like some solid work!

Tests need to be fixed up, obviously, and once those are fixed, the linter should be happy too. The integration tests appear OK.

@Elizafox
Copy link
Contributor Author

Looks like some solid work!

Tests need to be fixed up, obviously, and once those are fixed, the linter should be happy too. The integration tests appear OK.

On that. The big issue I'm having right now is trying to figure out how to sort the build test from the config test. They're sort of joined at the hip at the moment (to be fair, Build is a major consumer of the API). Most of the tests in pkg/build/build_test.go look like config tests at first glance, but also use Build. I'm not 100% sure how to solve this particular cross-cutting concern.

@Elizafox Elizafox force-pushed the main branch 3 times, most recently from 04bcc2c to 85cf4ae Compare July 27, 2023 23:09
Elizafox added 3 commits July 27, 2023 16:10
Signed-off-by: Elizabeth Myers <[email protected]>
@Elizafox
Copy link
Contributor Author

Sorry about the noise. I messed up my git history (forgot to sign commits and signoff a commit).

Git is not a very user-friendly tool when you have to amend history. :(

@Elizafox
Copy link
Contributor Author

Looks like some solid work!
Tests need to be fixed up, obviously, and once those are fixed, the linter should be happy too. The integration tests appear OK.

On that. The big issue I'm having right now is trying to figure out how to sort the build test from the config test. They're sort of joined at the hip at the moment (to be fair, Build is a major consumer of the API). Most of the tests in pkg/build/build_test.go look like config tests at first glance, but also use Build. I'm not 100% sure how to solve this particular cross-cutting concern.

I just decided to edit the existing tests and go with that for now. They also happen to test the config.

Signed-off-by: Elizabeth Myers <[email protected]>
@kaniini kaniini merged commit 966aa49 into chainguard-dev:main Jul 27, 2023
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