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

Unify Kani bundle CI jobs #2841

Merged
merged 4 commits into from
Oct 27, 2023

Conversation

celinval
Copy link
Contributor

@celinval celinval commented Oct 26, 2023

We have two different ways today of building release bundles, one in kani.yml and another one in release.yml, and only the kani.yml actually run tests. This is error prone, since the release workflow only runs during a release without validation tests, and the build can diverge from what's being tested in CI.

Instead, we will always run the same workflow, except for the steps that create the release.

Resolves #2703

Call-outs

  1. I've tested this in my fork:
  2. Should we keep publishing the docker image? I'm tempted to at least mark this step with continue-on-error: true so it doesn't fail the release workflow.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

We have two different ways today of building and testing release
bundles, one in `kani.yml` and another one in `release.yml`.

This is error prone, since the release workflow only runs during a
release, and it can diverge from what's being tested in CI.

Instead, we will always run the same workflow, except for the steps that
create the release.
@celinval celinval requested a review from a team as a code owner October 26, 2023 17:40
@celinval celinval force-pushed the issue-2703-bundle-test branch 2 times, most recently from 84c0d66 to 9337c97 Compare October 26, 2023 17:58
@celinval
Copy link
Contributor Author

Note that to merge this PR, we will need to remove the "Required" check from the jobs that were removed

Copy link
Contributor

@zhassan-aws zhassan-aws left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks.

scripts/ci/Dockerfile.bundle-test-ubuntu-18-04 Outdated Show resolved Hide resolved
celinval and others added 2 commits October 26, 2023 20:43
Co-authored-by: Zyad Hassan <88045115+zhassan-aws@users.noreply.github.com>
@celinval celinval enabled auto-merge (squash) October 27, 2023 03:44
@celinval celinval merged commit 81ec454 into model-checking:main Oct 27, 2023
20 checks passed
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.

Unify release bundle tests
2 participants