tarantool / tarantool-qa

QA related issues of Tarantool
3 stars 0 forks source link

Make on-demand integration between EE and SDK #296

Closed NickVolynkin closed 1 year ago

NickVolynkin commented 1 year ago

Make a workflow for integration testing of Tarantool CE with Tarantool EE and SDK.

Pull requests

CI:

Tools:

Experiments and testing:

Choice matrix

fork-based PR non-fork PR, label sdk-test non-fork PR, no label
opened run sdk-test-intro no action * run sdk-test-intro
synchronize run sdk-test-intro run sdk-test run sdk-test-intro
reopened run sdk-test-intro run sdk-test run sdk-test-intro
closed no action run sdk-test-cleanup run sdk-test-cleanup
labeled with 'sdk-test' no action run sdk-test -
unlabeled from 'sdk-test' no action run sdk-test-cleanup -
workflow_dispatch run sdk-test run sdk-test run sdk-test

* when a PR is opened with a label, two events trigger: pull_request.opened, and immediately after it pull_request.labeled. Both will trigger a workflow run, but the first one will be canceled due to concurrency rules. This logic is vulnerable when there is more than one label on the PR. So the common rule is this: don't add other labels at the same time as 'sdk-test'.

Examples

Introductory comment

Screenshot 2022-12-22 at 19 13 02

Introductory comment in a fork-based PR

Screenshot 2022-12-22 at 19 13 11

Integration testing in progress

Screenshot 2022-12-22 at 19 42 49

Commit message

integration-test: tarantool-master@nickvolynkin/sdk-test-workflow

bump submodule tarantool-master to commit

HEAD_REPO=NickVolynkin/tarantool-ee HEAD_REF=nickvolynkin/sdk-test-workflow HEAD_SHA=fcbbbdfce6b2a4b028ce6889cca008bf679697be BASE_REPO=tarantool/tarantool-ee BASE_REF=master BASE_SHA=3f8cc97250a59bc6f878efd6c18b044696654b51 MERGE_COMMIT_SHA=c918c03a6bc98cbd972b0f7e79e3f90b5025e569 PR_NUMBER=316

Reference

Subtasks:

NickVolynkin commented 1 year ago

Resoved by https://github.com/tarantool/tarantool-ee/pull/311.

There's a lot more to do, and it will be done as a separate epic https://github.com/tarantool/tarantool-qa/issues/302