Skip to content

Commit

Permalink
Merge pull request #583 from zebrunner/develop
Browse files Browse the repository at this point in the history
2.5
  • Loading branch information
vdelendik authored May 29, 2024
2 parents 606a271 + 6696261 commit bcf76cf
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 88 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ Enjoy using Zebrunner Reporting in your testing process! Feel free to support th

## Software requirements

* Install docker ([Ubuntu 16.04](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-16-04), [Ubuntu 18.04](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04), [Ubuntu 20.04](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04), [Amazon Linux 2](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/docker-basics.html), [Redhat/Cent OS](https://www.cyberciti.biz/faq/install-use-setup-docker-on-rhel7-centos7-linux/))
* Install [docker-composer](https://docs.docker.com/compose/install/#install-compose) 1.25.5+
* Installed Docker v19+

* Installed Docker compose plugin v2.20.3+

* Install git 2.20.0+

Expand Down
5 changes: 2 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
version: '3.7'
networks:
default:
external:
name: infra
name: infra
external: true
services:
nginx:
image: "nginx:${TAG_NGINX}"
Expand Down
71 changes: 0 additions & 71 deletions docs/faq.md

This file was deleted.

2 changes: 1 addition & 1 deletion jenkins
2 changes: 1 addition & 1 deletion mcloud
2 changes: 1 addition & 1 deletion reporting
2 changes: 1 addition & 1 deletion selenoid
2 changes: 1 addition & 1 deletion sonarqube
16 changes: 10 additions & 6 deletions zebrunner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
setup() {
print_banner

if [ "$1" == "-d" ]; then
set -x
fi

# load default interactive installer settings
# shellcheck disable=SC1091
source backup/settings.env.original
Expand Down Expand Up @@ -234,7 +238,7 @@
sonarqube/zebrunner.sh shutdown
mcloud/zebrunner.sh shutdown
selenoid/zebrunner.sh shutdown
docker-compose down -v
docker compose down -v

rm -f NOTICE.txt
rm -f .env
Expand Down Expand Up @@ -281,7 +285,7 @@
reporting/zebrunner.sh start
sonarqube/zebrunner.sh start

docker-compose up -d
docker compose up -d
}

stop() {
Expand All @@ -296,7 +300,7 @@
sonarqube/zebrunner.sh stop
mcloud/zebrunner.sh stop
selenoid/zebrunner.sh stop
docker-compose stop
docker compose stop
}

restart() {
Expand All @@ -322,7 +326,7 @@
sonarqube/zebrunner.sh down
mcloud/zebrunner.sh down
selenoid/zebrunner.sh down
docker-compose down
docker compose down
}

backup() {
Expand Down Expand Up @@ -628,7 +632,7 @@
Flags:
--help | -h Print help
Arguments:
setup Setup Zebrunner Community Edition
setup [-d] Setup Zebrunner Community Edition ('-d' - debug mode)
start Start container
stop Stop and keep container
restart Restart container
Expand All @@ -651,7 +655,7 @@ source reporting/patch/settings.sh

case "$1" in
setup)
setup
setup "$2"
;;
start)
start
Expand Down

0 comments on commit bcf76cf

Please sign in to comment.