Skip to content

Fix for - Minimal and full CI matrix impl #2051 - #2500

Merged
avifenesh merged 7 commits into
mainfrom
CI/TrrigerByLabel
Oct 30, 2024
Merged

avifenesh merged 7 commits into
mainfrom
CI/TrrigerByLabel

Conversation

@avifenesh

@avifenesh avifenesh commented Oct 22, 2024

Copy link
Copy Markdown
Member

This pull request includes significant updates to the CI/CD workflow documentation and configurations. The changes enhance clarity, add new testing capabilities, and improve the flexibility of the CI/CD pipeline.

Documentation Updates:

  • .github/DEVELOPER.md: Updated the CI/CD workflow guide with detailed descriptions of workflow triggers, test coverage levels, and language-specific workflows. Added images for better visualization. [1] [2] [3] [4] [5]

Configuration Enhancements:

Workflow Updates:

Workflow Trigger Updates:

  • .github/workflows/csharp.yml: Expanded the branches and paths that trigger the workflow. Added new inputs for manual triggers and updated the job structure to use the new matrix creation logic.

Issue link

#2524

Fix for #2051

Checklist

Before submitting the PR make sure the following are checked:

  • [v] This Pull Request is related to one issue.
  • [v] Commit message has a detailed description of what changed and why.
  • [v] Tests are added or updated.
  • [v] CHANGELOG.md and documentation files are updated.
  • [v] Destination branch is correct - main or release
  • [v] Commits will be squashed upon merging.

@avifenesh
avifenesh requested a review from a team as a code owner October 22, 2024 19:40
@avifenesh avifenesh changed the title Ci/trriger by label Fix for - Minimal and full CI matrix impl #2051 Oct 22, 2024
@Yury-Fridlyand Yury-Fridlyand mentioned this pull request Oct 22, 2024
Comment thread .github/workflows/create-test-matrices/action.yml
@Yury-Fridlyand

Copy link
Copy Markdown

Please add repo check for lint rust job in java, node, python and others' workflow files. It runs on forks by cron now.

@Yury-Fridlyand

Copy link
Copy Markdown

You also need to fix install shared deps step, because it ignores engine type and always installs valkey, even when redis requested

@avifenesh

Copy link
Copy Markdown
Member Author

Please add repo check for lint rust job in java, node, python and others' workflow files. It runs on forks by cron now.

Are we running cron in forks? Shouldn't we disable the cron completely on forks?
@Yury-Fridlyand

Comment thread node/tests/TestUtilities.ts
Comment thread node/tests/TestUtilities.ts
@Yury-Fridlyand

Copy link
Copy Markdown

Are we running cron in forks? Shouldn't we disable the cron completely on forks?

Something went wrong and linter tasks run on forks

@avifenesh

Copy link
Copy Markdown
Member Author

You also need to fix install shared deps step, because it ignores engine type and always installs valkey, even when redis requested

I don't have a problem to fix, but it's redundant. 7.2 < it's the same code. Over, we don't use Redis.

Comment thread .github/workflows/npm-cd.yml Outdated
Comment thread .github/workflows/python.yml Outdated
Comment thread node/tests/GlideClient.test.ts Outdated
Comment thread node/tests/GlideClusterClient.test.ts
Comment thread node/tests/TestUtilities.ts Outdated
@Yury-Fridlyand

Copy link
Copy Markdown

You also need to fix install shared deps step, because it ignores engine type and always installs valkey, even when redis requested

I don't have a problem to fix, but it's redundant. 7.2 < it's the same code. Over, we don't use Redis.

This step goes to valeky repo and tries to checkout 6.2.0 and fails

@avifenesh

Copy link
Copy Markdown
Member Author

You also need to fix install shared deps step, because it ignores engine type and always installs valkey, even when redis requested

I don't have a problem to fix, but it's redundant. 7.2 < it's the same code. Over, we don't use Redis.

This step goes to valeky repo and tries to checkout 6.2.0 and fails

Ill check it, but the Valkey repo has 6.2, that's how i use 6.2.

@Yury-Fridlyand

Copy link
Copy Markdown

@Yury-Fridlyand

Copy link
Copy Markdown

Currently, GHA install valkey 7+ instead redis 6.2 due to cache misuse. Please drop all caches and rerun CI.

@avifenesh avifenesh left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Currently, GHA install valkey 7+ instead redis 6.2 due to cache misuse. Please drop all caches and rerun CI.

so we need to avoid cache in valkey instalation unsless were able to create a seperation

@avifenesh

Copy link
Copy Markdown
Member Author

return responseData;
}

/**

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is wrong and a repetitive usage of dump and restore test

Comment thread .github/workflows/install-valkey/action.yml
Comment thread .github/workflows/install-valkey/action.yml
Comment thread .github/workflows/install-valkey/action.yml Outdated
Comment thread .github/workflows/install-valkey/action.yml Outdated
Comment thread .github/workflows/install-shared-dependencies/action.yml
Comment thread .github/workflows/node.yml
Comment thread .github/workflows/pypi-cd.yml
Comment thread .github/workflows/python.yml Outdated
Comment thread node/package.json Outdated
Comment thread node/tests/AsyncClient.test.ts Outdated

@Yury-Fridlyand Yury-Fridlyand left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

A couple last comments.
Nice work!

Comment thread .github/workflows/create-test-matrices/action.yml
Comment thread .github/workflows/go.yml
Comment thread .github/workflows/install-redis/action.yml
Comment thread .github/workflows/install-valkey/action.yml
Comment thread .github/workflows/nightly.yml Outdated
Comment thread .github/workflows/npm-cd.yml
Comment thread .github/workflows/pypi-cd.yml Outdated
@Yury-Fridlyand

Copy link
Copy Markdown

@avifenesh CI is red, please have a look

@avifenesh

Copy link
Copy Markdown
Member Author

@avifenesh CI is red, please have a look

Yep, adding support for py 3.13, new errors, on it

Signed-off-by: avifenesh <aviarchi1994@gmail.com>
…pts and dependencies

Signed-off-by: avifenesh <aviarchi1994@gmail.com>
…t versions

Signed-off-by: avifenesh <aviarchi1994@gmail.com>
… version checks

Signed-off-by: avifenesh <aviarchi1994@gmail.com>
…l to actual reads; update connection handling in utilities and allow unused imports in types

Signed-off-by: avifenesh <aviarchi1994@gmail.com>
…mprove type handling

Signed-off-by: avifenesh <aviarchi1994@gmail.com>
…e version requirements, and remove obsolete Redis installation workflow

Signed-off-by: avifenesh <aviarchi1994@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD ⚒️ CI/CD related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants