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

ci(core): standarize all CIs with required checks #1334

Merged
merged 16 commits into from
Nov 28, 2024
Merged

Conversation

mpaulucci
Copy link
Collaborator

@mpaulucci mpaulucci commented Nov 28, 2024

Motivation
Required checks in Github works in a weird way, it is based on the job name. So we will define a couple of required checks:

  • Lint
  • Test
  • Build Docker
  • Integration Test

Each team will have one or more workflow, prepended with "ci_". There they need to define all the above jobs. If there are multiple jobs with the same name, they are all required.

For the merge queue, we keep it minimal and aim only to avoid breaking changes that should be caught by the Rust compiler or linter. We don't want to run heavy integration tests since those will be run on the push event anyway.

Description

  • Standardized ci workflows
  • Standardized job names
  • Simplified Hive to don't overuse makefiles (we don't need the build capabilities)
  • Added Integration Test job
  • Re-added ci-skipped workflow for documentation changes.

@mpaulucci mpaulucci changed the title ci(l1): cleanup hive commands ci(core): standarize required checks across all CI's Nov 28, 2024
@mpaulucci mpaulucci changed the title ci(core): standarize required checks across all CI's ci(core): standarize all CIs with required checks Nov 28, 2024
@mpaulucci mpaulucci marked this pull request as ready for review November 28, 2024 17:45
@mpaulucci mpaulucci requested a review from a team as a code owner November 28, 2024 17:45
Copy link
Collaborator

@rodrigo-o rodrigo-o left a comment

Choose a reason for hiding this comment

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

Looking great!

- name: Run Hive Simulation
run: ${{ matrix.run_command }}
run: cd hive && ./hive --client ethrex --sim ${{ matrix.simulation }} --sim.parallelism 4
Copy link
Collaborator

Choose a reason for hiding this comment

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

Great!

@mpaulucci mpaulucci added this pull request to the merge queue Nov 28, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 28, 2024
@mpaulucci mpaulucci added this pull request to the merge queue Nov 28, 2024
@mpaulucci mpaulucci removed this pull request from the merge queue due to a manual request Nov 28, 2024
@mpaulucci mpaulucci enabled auto-merge November 28, 2024 19:06
@mpaulucci mpaulucci added this pull request to the merge queue Nov 28, 2024
Merged via the queue into main with commit 87ec9df Nov 28, 2024
10 checks passed
@mpaulucci mpaulucci deleted the ci-cleanup-hive branch November 28, 2024 19:21
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