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 d7ed779
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker-compose/.env
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ 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"
ENVIRON="PROD"
BRANCH="main"
1 change: 1 addition & 0 deletions docker-compose/.env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ 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"
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 d7ed779

Please sign in to comment.