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

feat(ci): add lightwalletd_full_sync test to CI #4268

Merged
merged 192 commits into from
May 13, 2022
Merged

Conversation

gustavovalverde
Copy link
Member

@gustavovalverde gustavovalverde commented May 2, 2022

Motivation

We want to add all completed lightwalletd integration tests to CI, to confirm we're not introducing bugs to the RPC endpoints or any other implementation related to lightwalletd

Fixes #3926
Fixes #4165
Depends-On: #4298

Designs

  • Consider the implementations being done in test.yml and test-full-sync.yml

Solution

  • Add lightwalletd_full_sync test to CI
  • Add lightwalletd_full_sync to entrypoint.sh for easier execution

Review

Anyone from the DevOps team can review this

Reviewer Checklist

  • Verify tests are using the right execution methods
  • Confirm job id, step names and description

Follow Up Work

Simplify this job with the refactor being done for reusable workflows

This is a workaround for an issue related to disk partitioning, caused by a GCP service called Konlet, while mounting the cached disks to the VM and then to the container
Copy link
Contributor

@teor2345 teor2345 left a comment

Choose a reason for hiding this comment

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

I'm still not quite sure if we're mounting the disks correctly, it seems like we mount the same disk twice to two different paths.

(Does that even work?)

Maybe we could deal with these questions in a separate PR.

.github/workflows/deploy-gcp-tests.yml Show resolved Hide resolved
.github/workflows/deploy-gcp-tests.yml Show resolved Hide resolved
.github/workflows/deploy-gcp-tests.yml Show resolved Hide resolved
Copy link
Contributor

@teor2345 teor2345 left a comment

Choose a reason for hiding this comment

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

Thanks, that makes more sense now.

.github/workflows/deploy-gcp-tests.yml Outdated Show resolved Hide resolved
.github/workflows/deploy-gcp-tests.yml Outdated Show resolved Hide resolved
.github/workflows/deploy-gcp-tests.yml Outdated Show resolved Hide resolved
.github/workflows/deploy-gcp-tests.yml Show resolved Hide resolved
Copy link
Contributor

@teor2345 teor2345 left a comment

Choose a reason for hiding this comment

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

I'm happy for someone else to approve the PR tomorrow, I think we're just working on docs now.

@gustavovalverde
Copy link
Member Author

gustavovalverde commented May 13, 2022

We've fixed the conflicts and documented some confusing implementations. As this is working so far, I think this is good to go.

@gustavovalverde gustavovalverde enabled auto-merge (squash) May 13, 2022 04:54
@gustavovalverde gustavovalverde requested a review from dconnolly May 13, 2022 13:05
dconnolly
dconnolly previously approved these changes May 13, 2022
Copy link
Contributor

@dconnolly dconnolly left a comment

Choose a reason for hiding this comment

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

Small typo fix, non blocking, this is great 💯📜✨👌🧑‍🍳

Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
@gustavovalverde
Copy link
Member Author

Oops, the typo fix dismissed your approval @dconnolly

Copy link
Collaborator

@conradoplg conradoplg left a comment

Choose a reason for hiding this comment

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

The comments are very helpful, thanks!

@gustavovalverde gustavovalverde merged commit e3a65d8 into main May 13, 2022
@gustavovalverde gustavovalverde deleted the lwd-ci-fullsync branch May 13, 2022 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-devops Area: Pipelines, CI/CD and Dockerfiles C-testing Category: These are tests lightwalletd any work associated with lightwalletd
Projects
None yet
5 participants