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

Stabilize resolved profiles #11727

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

jan-cerny
Copy link
Collaborator

Currently, the resolved profiles have random order of items in the selections list. This makes it less convenient to update the profile stability test data, because copying a resolved profile causes shuffling the git diff. This problem is a recent regression. Git bisect shows that it has been broken by 890ce49. The proposed fix is to use a list instead of set so that the original order of elements is preserved.

Related to conversation in #11719.

Currently, the resolved profiles have random order of items in the
selections list. This makes it less convenient to update the profile
stability test data, because copying a resolved profile causes shuffling
the git diff. This problem is a recent regression. Git bisect shows
that it has been broken by 890ce49.
The proposed fix is to use a list instead of set so that the original
order of elements is preserved.

Related to conversation in ComplianceAsCode#11719.
@jan-cerny jan-cerny added the Infrastructure Our content build system label Mar 19, 2024
@jan-cerny jan-cerny added this to the 0.1.73 milestone Mar 19, 2024
Copy link

Start a new ephemeral environment with changes proposed in this pull request:

Fedora Environment
Open in Gitpod

Oracle Linux 8 Environment
Open in Gitpod

Copy link

🤖 A k8s content image for this PR is available at:
ghcr.io/complianceascode/k8scontent:11727
This image was built from commit: 33e4563

Click here to see how to deploy it

If you alread have Compliance Operator deployed:
utils/build_ds_container.py -i ghcr.io/complianceascode/k8scontent:11727

Otherwise deploy the content and operator together by checking out ComplianceAsCode/compliance-operator and:
CONTENT_IMAGE=ghcr.io/complianceascode/k8scontent:11727 make deploy-local

Copy link

codeclimate bot commented Mar 19, 2024

Code Climate has analyzed commit 33e4563 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 59.3% (0.0% change).

View more on Code Climate.

@jan-cerny
Copy link
Collaborator Author

/retest

1 similar comment
@jan-cerny
Copy link
Collaborator Author

/retest

@Mab879 Mab879 self-assigned this Mar 19, 2024
@Mab879 Mab879 merged commit cdbc38b into ComplianceAsCode:master Mar 19, 2024
44 checks passed
Mab879 added a commit to Mab879/content that referenced this pull request Mar 22, 2024
Hopefully this will be the last shake up since ComplianceAsCode#11727
was merged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infrastructure Our content build system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants