add hosting.properties to airgapped build

This commit is contained in:
Martin McKeaveney 2021-10-28 18:22:47 +02:00
parent 6e6018c8c7
commit 969d2f5377
1 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,8 @@ const IMAGES = {
const FILES = { const FILES = {
COMPOSE: "docker-compose.yaml", COMPOSE: "docker-compose.yaml",
ENVOY: "envoy.yaml" ENVOY: "envoy.yaml",
PROPERTIES: "hosting.properties"
} }
const OUTPUT_DIR = path.join(__dirname, "../", "bb-airgapped") const OUTPUT_DIR = path.join(__dirname, "../", "bb-airgapped")
@ -41,6 +42,7 @@ for (let image in IMAGES) {
// copy config files // copy config files
copyFile(FILES.COMPOSE) copyFile(FILES.COMPOSE)
copyFile(FILES.ENVOY) copyFile(FILES.ENVOY)
copyFile(FILES.PROPERTIES)
// compress // compress
execSync(`tar -czf bb-airgapped.tar.gz hosting/scripts/bb-airgapped`) execSync(`tar -czf bb-airgapped.tar.gz hosting/scripts/bb-airgapped`)