arc/bucklint/non-fbcode-build: cover Mononoke and its dependencies with oss build

Summary: This is step #5 of T78216315

Reviewed By: farnz

Differential Revision: D24506457

fbshipit-source-id: 1417693d3bbc2c7316d63149b945d522a5a8efb2
This commit is contained in:
Lukas Piatkowski 2020-12-01 09:41:10 -08:00 committed by Facebook GitHub Bot
parent 561ff43310
commit 25a93e6a09
22 changed files with 0 additions and 142 deletions

View File

@ -1,27 +0,0 @@
#!/bin/bash
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.
CONFIGLINT="$1"; shift
DIR="$1"; shift
if [ ! -d "$DIR" ]; then
echo "No test fixture dir $DIR found" 1>&2
exit 1
fi
for TEST in "$DIR"/*; do
echo "Testing $TEST"
case "$TEST" in
*fixtures/OK-*) expected=0;;
*fixtures/BAD-*) expected=1;;
esac
"$CONFIGLINT" --mononoke-config-path "$TEST"
if [ "$?" != "$expected" ]; then
exit 1
fi
done

View File

@ -1,8 +0,0 @@
repoid = 123
storage_config = "files"
[storage.files.metadata.local]
local_db_path = "/tmp/foo"
[storage.files.blobstore.blob_files]
path = "/tmp/foo"

View File

@ -1,8 +0,0 @@
repoid = 123
storage_config = "files"
[storage.files.metadata.local]
local_db_path = "/tmp/foo"
[storage.files.blobstore.blob_files]
path = "/tmp/foo"

View File

@ -1,18 +0,0 @@
[coolsync]
large_repo_id = 123
direction = "small_to_large"
common_pushrebase_bookmarks = ["master"]
[[coolsync.small_repos]]
repoid = 456
bookmark_prefix = "repo1"
default_action = "prepend_prefix"
default_prefix = "subdir"
[[coolsync.small_repos]]
repoid = 789
bookmark_prefix = "repo2"
default_action = "preserve"
[coolsync.small_repos.mapping]
p1 = "subdir/p2"

View File

@ -1,8 +0,0 @@
repoid = 123
storage_config = "files"
[storage.files.metadata.local]
local_db_path = "/tmp/foo"
[storage.files.blobstore.blob_files]
path = "/tmp/foo"

View File

@ -1,7 +0,0 @@
storage_config = "files"
[storage.files.metadata.local]
local_db_path = "/tmp/foo"
[storage.files.blobstore.blob_files]
path = "/tmp/foo"

View File

@ -1,8 +0,0 @@
repoid = 123
storage_config = "complex"
[storage.simple.metadata.local]
local_db_path = "/tmp/foo"
[storage.simple.blobstore.blob_files]
path = "/tmp/foo"

View File

@ -1,8 +0,0 @@
repoid = 123
storage_config = "simple"
[storage.simple.metadata.local]
local_db_path = "/tmp/foo"
[storage.simple.blobstore.manifold]
manifold_bucket = "bucket"

View File

@ -1,9 +0,0 @@
repoid = 456
storage_config = "simple"
[storage.simple.metadata.remote]
primary = { db_address = "somedb" }
filenodes = { unsharded = { db_address = "somedb" } }
[storage.simple.blobstore.blob_files]
path = "/tmp/blobstore"

View File

@ -1,9 +0,0 @@
repoid = 123
storage_config = "files"
random_unknown_field = "hello"
[storage.files.metadata.local]
local_db_path = "/tmp/foo"
[storage.files.blobstore.blob_files]
path = "/tmp/foo"

View File

@ -1,5 +0,0 @@
[simple.metadata.local]
local_db_path = "/tmp/foo"
[simple.blobstore.blob_files]
path = "/tmp/foo"

View File

@ -1,2 +0,0 @@
repoid = 123
storage_config = "simple"

View File

@ -1,17 +0,0 @@
repoid = 123
storage_config = "multiplex"
[storage.multiplex.metadata.remote]
primary = { db_address="xdb.mononoke_production" }
filenodes = { unsharded = { db_address="xdb.mononoke_production" } }
mutation = { db_address="xdb.mononoke_mutation" }
[storage.multiplex.blobstore.multiplexed]
multiplex_id = 1
components = [
{ blobstore_id = 1, blobstore = { manifold = { manifold_bucket = "mononoke_prod" } } },
{ blobstore_id = 2, blobstore = { manifold = { manifold_bucket = "mononoke_prod_replica" } } },
{ blobstore_id = 3, blobstore = { mysql = { remote = { sharded = { shard_map = "mononoke_replica", shard_num=123 } } } } },
{ blobstore_id = 4, blobstore = { blob_files = { path = "/tmp/foo" } } },
]
queue_db = { remote = { db_address = "xdb.foobar" } }

View File

@ -1,8 +0,0 @@
repoid = 123
storage_config = "files"
[storage.files.metadata.local]
local_db_path = "/tmp/foo"
[storage.files.blobstore.blob_files]
path = "/tmp/foo"