Skip to content

Commit

Permalink
Make some extensions show in browser
Browse files Browse the repository at this point in the history
And handle future prod/env deployment
  • Loading branch information
fauust committed Nov 29, 2023
1 parent bff7134 commit 30212cc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docker-compose/.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ BUILDMASTER_URL=https://buildbot.mariadb.org/
MQ_ROUTER_URL=ws://localhost:8085/ws
MASTER_PACKAGES_DIR="/mnt/autofs/master_packages"
GALERA_PACKAGES_DIR="/mnt/autofs/galera_packages"
ARTIFACTS_URL="https://ci.mariadb.org"
NGINX_ARTIFACTS_VHOST="ci.mariadb.org"
ARTIFACTS_URL="https://$NGINX_ARTIFACTS_VHOST"
ENVIRON="PROD"
BRANCH="main"
3 changes: 2 additions & 1 deletion docker-compose/.env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ BUILDMASTER_WG_IP=100.64.101.1
MQ_ROUTER_URL=ws://crossbar:8080/ws
MASTER_PACKAGES_DIR="/mnt/autofs/master_dev_packages"
GALERA_PACKAGES_DIR="/mnt/autofs/galera_dev_packages"
ARTIFACTS_URL="https://ci.dev.mariadb.org"
NGINX_ARTIFACTS_VHOST="ci.dev.mariadb.org"
ARTIFACTS_URL="https://$NGINX_ARTIFACTS_VHOST"
ENVIRON="DEV"
BRANCH="dev"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
server {
listen 80;
server_name ci.dev.mariadb.org;
server_name $NGINX_ARTIFACTS_VHOST;

root /srv/buildbot/packages/;
autoindex on;
Expand All @@ -18,4 +18,9 @@ server {
location ~ mysqld\.[0-9]+\.err\.[0-9]+$ {
add_header Content-Type text/plain;
}

# show some extensions directly in browser
types {
text/plain repo sources txt;
}
}

0 comments on commit 30212cc

Please sign in to comment.