Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
vladbogo committed Jan 24, 2024
2 parents d6be8b2 + 1772830 commit 8ffd424
Show file tree
Hide file tree
Showing 6 changed files with 117 additions and 52 deletions.
2 changes: 1 addition & 1 deletion constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@
"aarch64-fedora-38",
"aarch64-fedora-39",
"aarch64-rhel-9",
"aix",
"amd64-centos-stream9",
"amd64-debian-11",
"amd64-debian-11-msan",
Expand All @@ -125,6 +124,7 @@
"amd64-fedora-39",
"amd64-freebsd-14",
"amd64-rhel-9",
"ppc64be-aix-71",
"ppc64le-centos-stream9",
"ppc64le-debian-11",
"ppc64le-rhel-9",
Expand Down
2 changes: 1 addition & 1 deletion cross-reference/crossreference/cr/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def select_test_failures(filters, include_failures=True):
available_filters = ["branch", "revision", "platform", "dt", "bbnum", "typ", "info", "test_name", "test_variant", "info_text", "failure_text"]

# New implementation
limit = 5
limit = 50
if 'limit' in filters and filters['limit'] != '':
limit = int(filters['limit'])

Expand Down
123 changes: 87 additions & 36 deletions docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ services:
image: mariadb:10.6
restart: unless-stopped
container_name: mariadb
hostname: mariadb
environment:
- MARIADB_ROOT_PASSWORD=password
- MARIADB_DATABASE=buildbot
Expand All @@ -21,18 +22,28 @@ services:
# - ./db:/docker-entrypoint-initdb.d:ro
- ./mariadb:/var/lib/mysql:rw
# command: --tmpdir=/var/lib/mysql/tmp
logging:
driver: journald
options:
tag: "bb-mariadb"

crossbar:
image: crossbario/crossbar
restart: unless-stopped
container_name: crossbar
hostname: crossbar
networks:
net_back:
logging:
driver: journald
options:
tag: "bb-crossbar"

nginx:
image: nginx:latest
restart: unless-stopped
container_name: nginx
hostname: nginx
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./nginx/conf.d/:/etc/nginx/conf.d/:ro
Expand All @@ -43,22 +54,29 @@ services:
- "127.0.0.1:8080:80"
networks:
net_front:
logging:
driver: journald
options:
tag: "bb-nginx"

master-web:
image: quay.io/mariadb-foundation/bb-master:master-web
restart: unless-stopped
container_name: master-web
environment:
- ENVIRON
- GALERA_PACKAGES_DIR
- ENVIRON
- TITLE
- BRANCH
- ARTIFACTS_URL
- TITLE_URL
- MASTER_PACKAGES_DIR
- BUILDMASTER_WG_IP
- NGINX_ARTIFACTS_VHOST
- MASTER_PACKAGES_DIR
- MQ_ROUTER_URL
- ARTIFACTS_URL
- BUILDMASTER_URL
- PORT=8010
hostname: master-web
volumes:
- ./logs:/var/log/buildbot
- ./buildbot/:/srv/buildbot/master
Expand All @@ -78,16 +96,19 @@ services:
restart: unless-stopped
container_name: master-nonlatent
environment:
- ENVIRON
- GALERA_PACKAGES_DIR
- ENVIRON
- TITLE
- BRANCH
- ARTIFACTS_URL
- TITLE_URL
- MASTER_PACKAGES_DIR
- BUILDMASTER_WG_IP
- NGINX_ARTIFACTS_VHOST
- MASTER_PACKAGES_DIR
- MQ_ROUTER_URL
- ARTIFACTS_URL
- BUILDMASTER_URL
- PORT=9996
hostname: master-nonlatent
volumes:
- ./logs:/var/log/buildbot
- ./buildbot/:/srv/buildbot/master
Expand All @@ -109,16 +130,19 @@ services:
restart: unless-stopped
container_name: master-libvirt
environment:
- ENVIRON
- GALERA_PACKAGES_DIR
- ENVIRON
- TITLE
- BRANCH
- ARTIFACTS_URL
- TITLE_URL
- MASTER_PACKAGES_DIR
- BUILDMASTER_WG_IP
- NGINX_ARTIFACTS_VHOST
- MASTER_PACKAGES_DIR
- MQ_ROUTER_URL
- ARTIFACTS_URL
- BUILDMASTER_URL
- PORT=9997
hostname: master-libvirt
volumes:
- ./logs:/var/log/buildbot
- ./buildbot/:/srv/buildbot/master
Expand All @@ -140,16 +164,19 @@ services:
restart: unless-stopped
container_name: autogen_aarch64-master-0
environment:
- ENVIRON
- GALERA_PACKAGES_DIR
- ENVIRON
- TITLE
- BRANCH
- ARTIFACTS_URL
- TITLE_URL
- MASTER_PACKAGES_DIR
- BUILDMASTER_WG_IP
- NGINX_ARTIFACTS_VHOST
- MASTER_PACKAGES_DIR
- MQ_ROUTER_URL
- ARTIFACTS_URL
- BUILDMASTER_URL
- PORT=9998
hostname: autogen_aarch64-master-0
volumes:
- ./logs:/var/log/buildbot
- ./buildbot/:/srv/buildbot/master
Expand All @@ -171,16 +198,19 @@ services:
restart: unless-stopped
container_name: autogen_amd64-master-0
environment:
- ENVIRON
- GALERA_PACKAGES_DIR
- ENVIRON
- TITLE
- BRANCH
- ARTIFACTS_URL
- TITLE_URL
- MASTER_PACKAGES_DIR
- BUILDMASTER_WG_IP
- NGINX_ARTIFACTS_VHOST
- MASTER_PACKAGES_DIR
- MQ_ROUTER_URL
- ARTIFACTS_URL
- BUILDMASTER_URL
- PORT=9999
hostname: autogen_amd64-master-0
volumes:
- ./logs:/var/log/buildbot
- ./buildbot/:/srv/buildbot/master
Expand All @@ -202,16 +232,19 @@ services:
restart: unless-stopped
container_name: autogen_amd64-master-1
environment:
- ENVIRON
- GALERA_PACKAGES_DIR
- ENVIRON
- TITLE
- BRANCH
- ARTIFACTS_URL
- TITLE_URL
- MASTER_PACKAGES_DIR
- BUILDMASTER_WG_IP
- NGINX_ARTIFACTS_VHOST
- MASTER_PACKAGES_DIR
- MQ_ROUTER_URL
- ARTIFACTS_URL
- BUILDMASTER_URL
- PORT=10000
hostname: autogen_amd64-master-1
volumes:
- ./logs:/var/log/buildbot
- ./buildbot/:/srv/buildbot/master
Expand All @@ -233,16 +266,19 @@ services:
restart: unless-stopped
container_name: autogen_ppc64le-master-0
environment:
- ENVIRON
- GALERA_PACKAGES_DIR
- ENVIRON
- TITLE
- BRANCH
- ARTIFACTS_URL
- TITLE_URL
- MASTER_PACKAGES_DIR
- BUILDMASTER_WG_IP
- NGINX_ARTIFACTS_VHOST
- MASTER_PACKAGES_DIR
- MQ_ROUTER_URL
- ARTIFACTS_URL
- BUILDMASTER_URL
- PORT=10001
hostname: autogen_ppc64le-master-0
volumes:
- ./logs:/var/log/buildbot
- ./buildbot/:/srv/buildbot/master
Expand All @@ -264,16 +300,19 @@ services:
restart: unless-stopped
container_name: autogen_s390x-master-0
environment:
- ENVIRON
- GALERA_PACKAGES_DIR
- ENVIRON
- TITLE
- BRANCH
- ARTIFACTS_URL
- TITLE_URL
- MASTER_PACKAGES_DIR
- BUILDMASTER_WG_IP
- NGINX_ARTIFACTS_VHOST
- MASTER_PACKAGES_DIR
- MQ_ROUTER_URL
- ARTIFACTS_URL
- BUILDMASTER_URL
- PORT=10002
hostname: autogen_s390x-master-0
volumes:
- ./logs:/var/log/buildbot
- ./buildbot/:/srv/buildbot/master
Expand All @@ -295,16 +334,19 @@ services:
restart: unless-stopped
container_name: autogen_x86-master-0
environment:
- ENVIRON
- GALERA_PACKAGES_DIR
- ENVIRON
- TITLE
- BRANCH
- ARTIFACTS_URL
- TITLE_URL
- MASTER_PACKAGES_DIR
- BUILDMASTER_WG_IP
- NGINX_ARTIFACTS_VHOST
- MASTER_PACKAGES_DIR
- MQ_ROUTER_URL
- ARTIFACTS_URL
- BUILDMASTER_URL
- PORT=10003
hostname: autogen_x86-master-0
volumes:
- ./logs:/var/log/buildbot
- ./buildbot/:/srv/buildbot/master
Expand All @@ -326,16 +368,19 @@ services:
restart: unless-stopped
container_name: master-docker-nonstandard
environment:
- ENVIRON
- GALERA_PACKAGES_DIR
- ENVIRON
- TITLE
- BRANCH
- ARTIFACTS_URL
- TITLE_URL
- MASTER_PACKAGES_DIR
- BUILDMASTER_WG_IP
- NGINX_ARTIFACTS_VHOST
- MASTER_PACKAGES_DIR
- MQ_ROUTER_URL
- ARTIFACTS_URL
- BUILDMASTER_URL
- PORT=10004
hostname: master-docker-nonstandard
volumes:
- ./logs:/var/log/buildbot
- ./buildbot/:/srv/buildbot/master
Expand All @@ -357,16 +402,19 @@ services:
restart: unless-stopped
container_name: master-galera
environment:
- ENVIRON
- GALERA_PACKAGES_DIR
- ENVIRON
- TITLE
- BRANCH
- ARTIFACTS_URL
- TITLE_URL
- MASTER_PACKAGES_DIR
- BUILDMASTER_WG_IP
- NGINX_ARTIFACTS_VHOST
- MASTER_PACKAGES_DIR
- MQ_ROUTER_URL
- ARTIFACTS_URL
- BUILDMASTER_URL
- PORT=10005
hostname: master-galera
volumes:
- ./logs:/var/log/buildbot
- ./buildbot/:/srv/buildbot/master
Expand All @@ -388,16 +436,19 @@ services:
restart: unless-stopped
container_name: master-protected-branches
environment:
- ENVIRON
- GALERA_PACKAGES_DIR
- ENVIRON
- TITLE
- BRANCH
- ARTIFACTS_URL
- TITLE_URL
- MASTER_PACKAGES_DIR
- BUILDMASTER_WG_IP
- NGINX_ARTIFACTS_VHOST
- MASTER_PACKAGES_DIR
- MQ_ROUTER_URL
- ARTIFACTS_URL
- BUILDMASTER_URL
- PORT=10006
hostname: master-protected-branches
volumes:
- ./logs:/var/log/buildbot
- ./buildbot/:/srv/buildbot/master
Expand Down
12 changes: 12 additions & 0 deletions docker-compose/generate-config.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
# - ./db:/docker-entrypoint-initdb.d:ro
- ./mariadb:/var/lib/mysql:rw
# command: --tmpdir=/var/lib/mysql/tmp
logging:
driver: journald
options:
tag: "bb-mariadb"
crossbar:
image: crossbario/crossbar
Expand All @@ -52,6 +56,10 @@
hostname: crossbar
networks:
net_back:
logging:
driver: journald
options:
tag: "bb-crossbar"
nginx:
image: nginx:latest
Expand All @@ -68,6 +76,10 @@
- "127.0.0.1:8080:80"
networks:
net_front:
logging:
driver: journald
options:
tag: "bb-nginx"
master-web:
image: quay.io/mariadb-foundation/bb-master:master-web
Expand Down
Loading

0 comments on commit 8ffd424

Please sign in to comment.