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

Update Conftest to v0.43.1 #801

Merged

Conversation

zregvart
Copy link
Member

We no longer need the workaround and can use the upstream version.

@codecov
Copy link

codecov bot commented Jun 29, 2023

Codecov Report

Merging #801 (9b41ae8) into main (493327a) will decrease coverage by 3.14%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #801      +/-   ##
==========================================
- Coverage   77.48%   74.34%   -3.14%     
==========================================
  Files          53       55       +2     
  Lines        4632     4736     +104     
==========================================
- Hits         3589     3521      -68     
- Misses       1043     1215     +172     
Flag Coverage Δ
acceptance 68.72% <ø> (?)
generative 47.82% <ø> (ø)
integration 60.95% <ø> (ø)
unit ?

Flags with carried forward coverage won't be shown. Click here to find out more.

see 47 files with indirect coverage changes

@zregvart
Copy link
Member Author

Seems we were impacted by this change in OPA. This bit of code is trying to parse any task result in the pipeline, some of which will not be valid JSON...

@lcarva
Copy link
Member

lcarva commented Jul 12, 2023

What should we do here? Close it for now? Move it to draft? Rebase?

@zregvart
Copy link
Member Author

I'll rebase this, the feedback as to what is broken helps

@zregvart zregvart force-pushed the pr/upstream-conftest-version branch from 8ad123f to 3087c1c Compare July 12, 2023 14:01
We no longer need the workaround and can use the upstream version.
@zregvart
Copy link
Member Author

enterprise-contract/ec-policies#546 fixed the last issue here, this is now ready to be merged

@lcarva lcarva merged commit 443b250 into enterprise-contract:main Jul 14, 2023
@zregvart zregvart deleted the pr/upstream-conftest-version branch July 19, 2023 08:34
zregvart added a commit to zregvart/e2e-tests that referenced this pull request Jul 19, 2023
This upgrades EC release policy to the latest version which includes a
fix[1] needed for the upgraded version of OPA in[2].

The proper fix would not use a pinned version of rules/data but rely on
the defaults from the `enterprise-contract/default` ConfigMap, as used
in other scenarios. This is not possible at the moment because we need
a change[3] that restores the missing acceptable bundles merged first.

[1] enterprise-contract/ec-policies#546
[2] enterprise-contract/ec-cli#801
[3] redhat-appstudio/infra-deployments#2130
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