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

Zombie tests build pipeline rework #2159

Merged
merged 101 commits into from
Jul 30, 2024
Merged

Zombie tests build pipeline rework #2159

merged 101 commits into from
Jul 30, 2024

Conversation

zerg-su
Copy link
Contributor

@zerg-su zerg-su commented Jul 23, 2024

Referenced issues

Description of the Change

• Improved and fixed the Zombie tests pipeline.
• Used apt packages for artifact transfer between steps.
• Packages are built for kagome-dev, polkadot binaries, runtime caches.
• Cloud infrastructure GCP is used for storing packages and Docker images.
• More details can be read and questions can be asked in the documentation (https://docs.google.com/document/d/1fLZbhOBaMm3WTZe7MjUj9rjhIhyJ5YizUTXcwF8X1GQ/edit#heading=h.h7pwawor6wy6).
• Ability to build packages and use the build on a local machine.
• The build is based on the use of Makefiles to perform pipeline steps.
• -Werror flag selector for the Zombie tests pipeline.

Possible Drawbacks

• The concept has changed (Docker images were used previously), it may take some time to get used to the new concept.
• Some environment variables and a credentials file for GCP are required.
• Currently, a built package is used for the runtime, but it has been observed that runtime caches may sometimes differ. It is necessary to ensure that no new runtime cache files appear after running Zombie tests.

Checklist Before Opening a PR

Before you open a Pull Request (PR), please make sure you've completed the following steps and confirm by answering 'Yes' to each item:

  1. Code is formatted: Have you run your code through clang-format to ensure it adheres to the project's coding standards? [Yes]
  2. Code is documented: Have you added comments and documentation to your code according to the guidelines in the project's contributing guidelines? [Yes]
  3. Self-review: Have you reviewed your own code to ensure it is free of typos, syntax errors, logical errors, and unresolved TODOs or FIXME without linking to an issue? [Yes]
  4. Zombienet Tests: Have you ensured that the zombienet tests are passing? Zombienet is a network simulation and testing tool used in this project. It's important to ensure that these tests pass to maintain the stability and reliability of the project. [Yes]

@zerg-su zerg-su force-pushed the ci/builld_pipeline_rework branch 2 times, most recently from 99c1b41 to 3a35273 Compare July 24, 2024 09:32
@zerg-su zerg-su merged commit 0c912ae into master Jul 30, 2024
16 of 17 checks passed
@zerg-su zerg-su deleted the ci/builld_pipeline_rework branch July 30, 2024 21:56
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.

5 participants