Skip to content

scripts/regression.sh: allow for execution of tests from the release … #969

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

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

krystian-hebel
Copy link
Contributor

…scope

Release scope can be taken directly from the release document in the database to avoid running unnecessary tests and avoid mistakes. To run the script that way, it must be started as:

DB_URL=http://web:site@localhost:5984 \
REL_ID=f1ce0f69153f6e229363c653aacb4aad \
FW_FILE=... CONFIG=... DEVICE_IP=... \
./scripts/regression.sh

It was only tested by swapping echo "$command" and eval "$command" in scripts/lib/robot.sh, not with real regression tests. Documentation TBD.

…scope

Release scope can be taken directly from the release document in the
database to avoid running unnecessary tests and avoid mistakes. To run
the script that way, it must be started as:

    DB_URL=http://web:site@localhost:5984 \
    REL_ID=f1ce0f69153f6e229363c653aacb4aad \
    FW_FILE=... CONFIG=... DEVICE_IP=... \
    ./scripts/regression.sh

Signed-off-by: Krystian Hebel <[email protected]>
@krystian-hebel krystian-hebel requested a review from macpijan July 28, 2025 14:29
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.

1 participant