mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-01-02 05:53:13 +00:00
pin interop lmn PR workflow to SMOKE_TEST_STABLE (#148)
This commit is contained in:
parent
251772b76d
commit
d6428af91d
2
.github/workflows/test_PR_image.yml
vendored
2
.github/workflows/test_PR_image.yml
vendored
@ -43,7 +43,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: logos-messaging/logos-messaging-interop-tests
|
repository: logos-messaging/logos-messaging-interop-tests
|
||||||
ref: SMOKE_TEST_0.0.1
|
ref: SMOKE_TEST_STABLE
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
|
|
||||||
|
|||||||
24
README.md
24
README.md
@ -1,13 +1,13 @@
|
|||||||
# waku-interop-tests
|
# logos-messaging-interop-tests
|
||||||
|
|
||||||
Waku end‑to‑end (e2e) interoperability test framework for the [Waku v2 protocol](https://rfc.vac.dev/spec/10/). It exercises multiple clients (nwaku, js‑waku, go‑waku…) in realistic network topologies and reports results via Allure.
|
Logos Messaging end‑to‑end (e2e) interoperability test framework for the [Waku v2 protocol](https://rfc.vac.dev/spec/10/). It exercises multiple clients (logos-messaging-nim, js‑waku, go‑waku…) in realistic network topologies and reports results via Allure.
|
||||||
|
|
||||||
## Setup & contribution
|
## Setup & contribution
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Use sparse checkout since the repo has large history
|
# Use sparse checkout since the repo has large history
|
||||||
git clone --depth=1 git@github.com:logos-messaging/logos-messaging-interop-tests.git
|
git clone --depth=1 git@github.com:logos-messaging/logos-messaging-interop-tests.git
|
||||||
cd waku-interop-tests
|
cd logos-messaging-interop-tests
|
||||||
|
|
||||||
# create and activate a virtual environment
|
# create and activate a virtual environment
|
||||||
python -m venv .venv
|
python -m venv .venv
|
||||||
@ -52,7 +52,7 @@ To launch it manually:
|
|||||||
2. Click **► Run workflow**.
|
2. Click **► Run workflow**.
|
||||||
3. Pick the branch you want to test (defaults to `master`) and press **Run workflow**.
|
3. Pick the branch you want to test (defaults to `master`) and press **Run workflow**.
|
||||||
|
|
||||||
### On‑demand matrix against custom *nwaku* versions
|
### On‑demand matrix against custom *logos-messaging-nim* versions
|
||||||
|
|
||||||
Use **interop\_tests.yml** when you need to test a PR or a historical image:
|
Use **interop\_tests.yml** when you need to test a PR or a historical image:
|
||||||
|
|
||||||
@ -65,21 +65,11 @@ Use **interop\_tests.yml** when you need to test a PR or a historical image:
|
|||||||
* When the job finishes GitHub will display an **Allure Report** link in the run summary.
|
* When the job finishes GitHub will display an **Allure Report** link in the run summary.
|
||||||
* The bot also posts the same link in the **Waku / test‑reports** Discord channel.
|
* The bot also posts the same link in the **Waku / test‑reports** Discord channel.
|
||||||
|
|
||||||
### Updating the CI job used from *nwaku*
|
### Updating the CI job used from *logos-messaging-nim*
|
||||||
|
|
||||||
In the **nwaku** repository itself the file `.github/workflows/test_PR_image.yml` pins the interop test version.
|
In the **logos-messaging-nim** repository itself the file `.github/workflows/test_PR_image.yml` pins the interop test version to `SMOKE_TEST_STABLE`.
|
||||||
To update it:
|
|
||||||
|
|
||||||
1. Tag the desired commit in `waku-interop-tests` and push the tag
|
To update it, move the `SMOKE_TEST_STABLE` tag to point to the desired commit in `waku-interop-tests`.
|
||||||
|
|
||||||
```bash
|
|
||||||
git tag vX.Y.Z
|
|
||||||
git push origin vX.Y.Z
|
|
||||||
```
|
|
||||||
|
|
||||||
2. Edit `test_PR_image.yml` in **nwaku** and set `ref: vX.Y.Z` for the `tests` job.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user