Releases: zebrunner/community-edition
4.8 (2019-12-24)
Enhancements
- [#76] Integrated pipeline 4.8
- Updated to jenkins-master 4.8
- Updated to selenium-hub 3.5.1
- Completely switched to W3C capabilities by deleting custom devicePool and deviceBrowser
- [#79][#89] Improved configuration with internal and external Selenium-hub providers:
- Selenium
- MCloud
- Zebrunner
- Aerokube
- BrowserStack
- SauceLabs
- LambdaTest
- Organized secured access to the hub providers via NGiNX
- [#74] Updated Selenoid/VNC to the latest versions
- [#5] Added the possibility to select ANY devices to perform test execution based on a specific mask
- Enabled automatic updates of Zafira DB
Fixes
- [#75] RegisterZafiraCredentials job is gone
- [#82] grid-router/quota/demo.xml - delete QPS-HUB entry
- [#87] Hide JAVA_OPTS debugging for Zafira container
[COMPONENTS UPDATES]
zafira 4.1.73->4.1.83
zafira-ui 1.25->1.31
jenkins-master 4.7->4.8
qps-pipeline 4.7->4.8
[MIGRATION STEPS]
- Stop everything
./stop.sh
docker-compose rm -fv
- Generate new htpasswd private creds for GGR, MCloud, Zebrunner, etc.
mkdir ./nginx/htpasswd
cd ./nginx/htpasswd
htpasswd -bc ggr.htpasswd ggr MYSECUREPASSWORD
- Share htpasswd folder in docker-compose for NGiNX
nginx:
image: nginx
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./nginx/conf.d:/etc/nginx/conf.d:ro
- ./nginx/html:/usr/share/nginx/html:ro
- ./nginx/htpasswd:/usr/share/nginx/htpasswd:ro
- ./selenoid/video:/usr/share/nginx/video:rw
- Bump up selenium-hub to 3.5.1
- Bump up to jenkins-master 4.8 in accordance with the Release Note
- Bump up Zafira to 4.1.83 and Zafira-UI to 1.20
- Remove the QPS-HUB declaration from the GGR quota file: grid-router/quota/demo.xml
- Copy the new rules for GGR, MCloud, etc. providers to nginx/conf/default.conf: https://github.com/qaprosoft/qps-infra/blob/5a27f5db3c3fb6c77dc6bf431fa6f11ebf58f4d5/nginx/conf.d/default.conf.original#L173
- Start everything
./start.sh
4.7 (2019-10-12)
Enhancements
- Upgraded to new jenkins-master 4.7 with an improved plugins manipulation feature
- Fixed nginx configuration permissions including shared volumes
[COMPONENTS UPDATES]
zafira 4.1.72->4.1.73
jenkins-master 4.6->4.7
qps-pipeline 4.6->4.7
[MIGRATION STEPS]
- Pull the latest changes and restart
4.6 (2019-09-19)
Enhancements
- Updated to new jenkins-master 4.6 with an improved feature for the plugins manipulation
- Secured Redis container to be able to share it outside for external use
- Adjusted clear.sh script to delete the unnamed volumes as well
[COMPONENTS UPDATES]
zafira 4.1.69->4.1.72
zafira-ui 1.18->1.20
jenkins-master 4.5->4.6
qps-pipeline 4.5->4.6
carina-core 6.1.25->6.2.26
[redis] 4.0.11 -> 5.0.5
[MIGRATION STEPS]
- Create config/redis.conf file
Note: if necessary, replace the default password "changeit" with a new one - Update the Redis container configuration data:
redis:
image: redis:5.0.5
volumes:
- ./config/redis.conf:/etc/redis/redis.conf
command: ["redis-server", "/etc/redis/redis.conf"]
ports:
- 6379:6379
restart: always
- Declare a new variable in your variables.env and *variables.env.original:
# make sure you are in sync with the password value in ./config/redis.conf
REDIS_PASSWORD=changeit
4.5 (2019-08-29)
Enhancements
- zafira-related variables in variables.env.original are renamed, see Migration steps
- qps-hub value in grid-router/quota/demo.xml is replaced with mcloud
- db-app-structure.sql is updated
[COMPONENTS UPDATES]
zafira 4.0.61->4.1.69
zafira-ui 1.14->1.18
jenkins-master 4.4->4.5
qps-pipeline 4.4->4.5
carina-core 6.1.24->6.1.25
[MIGRATION STEPS]
- Rename variables in your variables.env:
ZAFIRA_URL -> ZAFIRA_WEB_HOST
Delete ZAFIRA_WS_URL
Add:
ZAFIRA_API_HOST (value possibly the same as web host)
ZAFIRA_WEB_CONTEXT_PATH=app
ZAFIRA_API_CONTEXT_PATH=zafira-ws
ZAFIRA_USE_ARTIFACT_PROXY=false
ZAFIRA_MULTITENANT=false
ZAFIRA_USER -> ZAFIRA_ADMIN_USERNAME
ZAFIRA_PASS -> ZAFIRA_ADMIN_PASSWORD
Add:
ZAFIRA_ADMIN_GROUP="Super admins"
ZAFIRA_DEBUG_MODE -> ZAFIRA_DEBUG_ENABLED
ZAFIRA_JDBC_URL -> DATABASE_URL
ZAFIRA_JDBC_USER -> DATABASE_USERNAME
ZAFIRA_JDBC_PASS -> DATABASE_PASSWORD
Add:
DATABASE_POOL_SIZE=50
DATABASE_STATE_MANAGEMENT_ENABLED=false
ZAFIRA_GITHUB_CLIENT_ID -> GITHUB_CLIENT_ID
ZAFIRA_GITHUB_CLIENT_SECRET -> GITHUB_CLIENT_SECRET
RABBITMQ_ENABLED=true
ZAFIRA_RABBITMQ_HOST -> RABBITMQ_HOST
ZAFIRA_RABBITMQ_PORT -> RABBITMQ_PORT
ZAFIRA_RABBITMQ_USER -> RABBITMQ_USERNAME
ZAFIRA_RABBITMQ_PASS -> RABBITMQ_PASSWORD
ZAFIRA_RABBITMQ_STOMP_HOST -> RABBITMQ_STOMP_HOST
ZAFIRA_RABBITMQ_STOMP_PORT -> RABBITMQ_STOMP_PORT
ZAFIRA_REDIS_HOST -> REDIS_HOST
ZAFIRA_REDIS_PORT -> REDIS_PORT
ZAFIRA_ELASTICSEARCH_URL -> ELASTICSEARCH_URL
ZAFIRA_ELASTICSEARCH_USER -> ELASTICSEARCH_USERNAME
ZAFIRA_ELASTICSEARCH_PASS -> ELASTICSEARCH_PASSWORD
Add:
AUTH_TOKEN_SECRET=AUwMLdWFBtUHVgvjFfMmAEadXqZ6HA4dKCiCmjgCXxaZ4ZO8od
CRYPTO_SALT=TDkxalR4T3EySGI0T0YyMitScmkxWDlsUXlPV2R4OEZ1b2kyL1VJeFVHST0=
4.4 (2019-07-18)
Enhancements
- db-app-data script update
[COMPONENTS UPDATES]
zafira 4.0.60->4.0.63
zafira-ui 1.11->1.14
jenkins-master 4.3->4.4
qps-pipeline 4.3->4.4
carina-core 6.1.22->6.1.24
4.3 (2019-06-30)
4.3 (2019-06-30)
Enhancements
- The possibility to register repositories and job launchers from Zafira UI was added.
Migration steps
-
Remove zafira-batch container details from docker-compose.yml
-
Bump up selenium-hub to 3.3, zafira to 4.0.60 and zafira-ui container to 1.11
-
Create OAuth app in your Github organization.
- Activate Settings -> Developer settings -> OAuth Apps -> new OAuth App
- Specify your qps-infra url as Homepage URL and Authorization callback URL
- Provide valuable Application name so guys in your team could authorize this app via UA on their own
- Click Register application
Example of the created OAuth App:
-
Declare ZAFIRA_GITHUB_CLIENT_ID and ZAFIRA_GITHUB_CLIENT_SECRET in your variables.env file using Client ID and Client Secret values from the previously registered application.
-
Restart everything and enjoy!
[COMPONENTS UPDATES]
updated selenium hub 3.1 -> 3.3
updated jenkins-master 4.2 -> 4.3
updated qps-pipeline 4.2 -> 4.3
updated zafira 4.0.59 -> 4.0.60
updated zafira-ui 1.10 -> 1.11
4.2 (2019-06-09)
4.2 (2019-06-09)
Enhancements
- db-app-data, db-app-structure, db-mng-data.sql, db-mng-data.sql, db-views.sql, db-widgets.sql sql scripts updates
- zafira is updated to 4.0.56 version
- zafira-ui is updated to 1.8 version
- jenkins-master is updated to 4.2
[COMPONENTS UPDATES]
updated qps-pipeline 4.0->4.2
updated selenium-hub 3.2->3.3
4.0 (2019-04-22)
4.0 (2019-04-22)
Enhancements
- Introduced setup.sh configuration steps and updated readme to simplify the deployment and startup process
- Switched to the latest 3.4.xx Zafira (starting from 3.4, 2 containers should be configured: zafira and zafira-ui)
- Declared the default set of boards including system ones which can't be removed
- Zafira functionality is fully integrated with the new widget templates (10+ default templates added)
- Selenoid chrome browser version is updated to 73.0
- Selenoid firefox browser version is updated to 66.0
[COMPONENTS UPDATES]
updated qps-pipeline 3.14->4.0
updated selenium-hub 3.1->3.2
3.10 (2019-02-26)
3.10 (2019-02-26)
[COMPONENTS UPDATES]
updated qps-pipeline 3.13->3.14
updated jenkins-master 3.11->3.12
3.9 (2019-02-18)
3.9 (2019-02-18)
Enhancements
- db-app-data, db-views-cron & db-app-structure sql scripts updates
[COMPONENTS UPDATES]
updated qps-pipeline 3.12->3.13
updated jenkins-master 3.10->3.11