docker run -e "ALLURE_ENDPOINT=http://localhost:8080" \
-e "ALLURE_USERNAME=admin" \
-e "ALLURE_PASSWORD=admin" \
-e "ALLURE_INSECURE=true" \
...
Backup Test Cases in Project
docker run -e "ALLURE_ENDPOINT=http://localhost:8080" \
-e "ALLURE_USERNAME=admin" \
-e "ALLURE_PASSWORD=admin" \
-e "ALLURE_PROJECT_ID=1" \
-e "BACKUP_PATH=/data/backup" \
-v "backup:/data/backup"
ghcr.io/eroshenkoam/allure-testops-utils backup-testcases
Restore Test Cases in Project
docker run -e "ALLURE_ENDPOINT=http://localhost:8080" \
-e "ALLURE_USERNAME=admin" \
-e "ALLURE_PASSWORD=admin" \
-e "ALLURE_PROJECT_ID=1" \
-e "BACKUP_PATH=/data/backup" \
-v "backup:/data/backup"
ghcr.io/eroshenkoam/allure-testops-utils restore-testcases
docker run -e "ALLURE_ENDPOINT=http://localhost:8080" \
-e "ALLURE_USERNAME=admin" \
-e "ALLURE_PASSWORD=admin" \
-e "ALLURE_PROJECT_ID=1,2" \
ghcr.io/eroshenkoam/allure-testops-utils migrate-scenario
docker run -e "ALLURE_ENDPOINT=http://localhost:8080" \
-e "ALLURE_USERNAME=admin" \
-e "ALLURE_PASSWORD=admin" \
-e "ALLURE_PROJECT_ID=1" \
-e "ALLURE_TESTCASE_FILTER=tag = \"migrate\"" \
-v "$PWD/backup:/opt/allure-testops/backup" \
ghcr.io/eroshenkoam/allure-testops-utils migrate-expected-results
Export information from Allure TestOps
docker run -e "ALLURE_ENDPOINT=http://localhost:8080" \
-e "ALLURE_USERNAME=admin" \
-e "ALLURE_PASSWORD=admin" \
-e "ALLURE_PROJECT_ID=1" \
-e "ALLURE_TESTCASE_FILTER=tag = \"export\"" \
-v "$PWD/output:/opt/allure-testops/output" \
ghcr.io/eroshenkoam/allure-testops-utils export-testcases
docker run -e "ALLURE_ENDPOINT=http://localhost:8080" \
-e "ALLURE_USERNAME=admin" \
-e "ALLURE_PASSWORD=admin" \
-e "ALLURE_PROJECT_ID=1" \
-e "ALLURE_RESULTS_FILTER=launch = 15" \
-v "$PWD/output:/opt/allure-testops/output" \
ghcr.io/eroshenkoam/allure-testops-utils export-testresults
Sync auth groups with Allure TestOps
Atlassian Crowd -> Allure TestOps
docker run -e "ALLURE_ENDPOINT=http://localhost:8080" \
-e "ALLURE_USERNAME=admin" \
-e "ALLURE_PASSWORD=admin" \
-e "CROWD_ENDPOINT=http://localhost:8095/crowd" \
-e "CROWD_USERNAME=crowd-app-name" \
-e "CROWD_PASSWORD=crowd-app-pass" \
-e "CROWD_GROUP_FILTER=.*" \
ghcr.io/eroshenkoam/allure-testops-utils sync-crowd-groups
docker run -e "ALLURE_ENDPOINT=http://localhost:8080" \
-e "ALLURE_USERNAME=admin" \
-e "ALLURE_PASSWORD=admin" \
-e "GITLAB_ENDPOINT=https://github.com" \
-e "GITLAB_TOKEN=<token>" \
ghcr.io/eroshenkoam/allure-testops-utils sync-gitlab-groups
docker run -e "ALLURE_ENDPOINT=http://localhost:8080" \
-e "ALLURE_USERNAME=admin" \
-e "ALLURE_PASSWORD=admin" \
-e "LDAP_URL=ldap://localhost:389/dc=springframework,dc=org" \
-e "LDAP_USERDN=uid=admin,ou=people,dc=springframework,dc=org" \
-e "LDAP_PASSWORD=admin" \
-e "LDAP_UIDATTRIBUTE=uid" \
-e "LDAP_USERSEARCHBASE=ou=people" \
-e "LDAP_USERSEARCHFILTER=(&(uid={0})(objectClass=person))" \
-e "LDAP_GROUPSEARCHBASE=ou=groups" \
-e "LDAP_GROUPSEARCHFILTER=(uniqueMember={0})" \
-e "LDAP_GROUPROLEATTRIBUTE=cn" \
ghcr.io/eroshenkoam/allure-testops-utils sync-ldap-groups
Disable users in Allure TestOps
docker run -e "ALLURE_ENDPOINT=http://localhost:8080" \
-e "ALLURE_USERNAME=admin" \
-e "ALLURE_PASSWORD=admin" \
-e "LDAP_URL=ldap://localhost:389/dc=springframework,dc=org" \
-e "LDAP_USERDN=uid=admin,ou=people,dc=springframework,dc=org" \
-e "LDAP_PASSWORD=admin" \
-e "LDAP_USERSEARCHBASE=ou=people" \
-e "LDAP_USERSEARCHFILTER=(&(uid={0})(objectClass=person))" \
-e "LDAP_DISABLEDATTRIBUTENAME=accountDisabled" \
-e "LDAP_DISABLEDATTRIBUTEVALUE=true" \
ghcr.io/eroshenkoam/allure-testops-utils disable-ldap-users
docker run -e "ALLURE_ENDPOINT=http://localhost:8080" \
-e "ALLURE_USERNAME=admin" \
-e "ALLURE_PASSWORD=admin" \
-e "USER_FILE=/data/users.txt" \
-v "users.txt:/data/users.txt"
ghcr.io/eroshenkoam/allure-testops-utils disable-file-users
Delete launches in Allure TestOps
docker run -e "ALLURE_ENDPOINT=http://localhost:8080" \
-e "ALLURE_USERNAME=admin" \
-e "ALLURE_PASSWORD=admin" \
-e "PROJECT_ID=2" \
-e "LAUNCH_FILTER=tag = \"delete\"" \
-e "LAUNCH_CREATEDBEFORE=30d 0h 0m" \
ghcr.io/eroshenkoam/allure-testops-utils clean-launches
Rollback testcases in Allure TestOps
docker run -e "ALLURE_ENDPOINT=http://localhost:8080" \
-e "ALLURE_USERNAME=admin" \
-e "ALLURE_PASSWORD=admin" \
-e "ALLURE_PROJECT_ID=2" \
-e "ALLURE_AUDIT_AFTER=2022-07-11 10:00:00" \
-e "ALLURE_TESTCASE_FILTER=id in [123, 124]" \
ghcr.io/eroshenkoam/allure-testops-utils rollback-testcases
docker run -e "ALLURE_ENDPOINT=http://localhost:8080" \
-e "ALLURE_USERNAME=admin" \
-e "ALLURE_PASSWORD=admin" \
-e "ALLURE_PROJECT_ID=2" \
-e "ALLURE_AUDIT_AUTHOR=eroshenkoam" \
-e "ALLURE_AUDIT_AFTER=2022-07-11 10:00:00" \
-e "ALLURE_TESTCASE_FILTER=id in [123, 124]" \
ghcr.io/eroshenkoam/allure-testops-utils rollback-testcases