From b4660ef84e016f9b8c4f633c278a4d736653631a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 31 Jul 2023 13:20:06 +0000 Subject: [PATCH 1/4] chore(deps): update dependency better-sqlite3 to v8.5.0 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: ModupeD --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index d6275c8b42..b9261d6fc0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -20186,13 +20186,13 @@ __metadata: linkType: hard "better-sqlite3@npm:^8.0.0": - version: 8.4.0 - resolution: "better-sqlite3@npm:8.4.0" + version: 8.5.0 + resolution: "better-sqlite3@npm:8.5.0" dependencies: bindings: ^1.5.0 node-gyp: latest prebuild-install: ^7.1.0 - checksum: f8b180c26428a2d381482e83b4519d0d81a918e00f92cafd255f42eb9583f49b2fed1015121ad49ebe1f3f790cc8c6f4697d1e805193d65e70dacf2e8abbd6af + checksum: 98243cb08a410fad0b5c443410428c8ea00376a4eb7d2c9a8a5a695970bc7a2a4007221930460939594d728e7d6bcb1889f46ec11a3bbb2257b996c80fbaacb1 languageName: node linkType: hard From 6a8ae4daf98fef57544b71a6dae408841d4b1902 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 3 Aug 2023 01:59:17 +0000 Subject: [PATCH 2/4] fix(deps): update swc monorepo Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: ModupeD --- yarn.lock | 92 +++++++++++++++++++++++++++---------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) diff --git a/yarn.lock b/yarn.lock index b9261d6fc0..d48e6a94b2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16067,90 +16067,90 @@ __metadata: languageName: node linkType: hard -"@swc/core-darwin-arm64@npm:1.3.68": - version: 1.3.68 - resolution: "@swc/core-darwin-arm64@npm:1.3.68" +"@swc/core-darwin-arm64@npm:1.3.74": + version: 1.3.74 + resolution: "@swc/core-darwin-arm64@npm:1.3.74" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@swc/core-darwin-x64@npm:1.3.68": - version: 1.3.68 - resolution: "@swc/core-darwin-x64@npm:1.3.68" +"@swc/core-darwin-x64@npm:1.3.74": + version: 1.3.74 + resolution: "@swc/core-darwin-x64@npm:1.3.74" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@swc/core-linux-arm-gnueabihf@npm:1.3.68": - version: 1.3.68 - resolution: "@swc/core-linux-arm-gnueabihf@npm:1.3.68" +"@swc/core-linux-arm-gnueabihf@npm:1.3.74": + version: 1.3.74 + resolution: "@swc/core-linux-arm-gnueabihf@npm:1.3.74" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@swc/core-linux-arm64-gnu@npm:1.3.68": - version: 1.3.68 - resolution: "@swc/core-linux-arm64-gnu@npm:1.3.68" +"@swc/core-linux-arm64-gnu@npm:1.3.74": + version: 1.3.74 + resolution: "@swc/core-linux-arm64-gnu@npm:1.3.74" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-arm64-musl@npm:1.3.68": - version: 1.3.68 - resolution: "@swc/core-linux-arm64-musl@npm:1.3.68" +"@swc/core-linux-arm64-musl@npm:1.3.74": + version: 1.3.74 + resolution: "@swc/core-linux-arm64-musl@npm:1.3.74" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@swc/core-linux-x64-gnu@npm:1.3.68": - version: 1.3.68 - resolution: "@swc/core-linux-x64-gnu@npm:1.3.68" +"@swc/core-linux-x64-gnu@npm:1.3.74": + version: 1.3.74 + resolution: "@swc/core-linux-x64-gnu@npm:1.3.74" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-x64-musl@npm:1.3.68": - version: 1.3.68 - resolution: "@swc/core-linux-x64-musl@npm:1.3.68" +"@swc/core-linux-x64-musl@npm:1.3.74": + version: 1.3.74 + resolution: "@swc/core-linux-x64-musl@npm:1.3.74" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@swc/core-win32-arm64-msvc@npm:1.3.68": - version: 1.3.68 - resolution: "@swc/core-win32-arm64-msvc@npm:1.3.68" +"@swc/core-win32-arm64-msvc@npm:1.3.74": + version: 1.3.74 + resolution: "@swc/core-win32-arm64-msvc@npm:1.3.74" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@swc/core-win32-ia32-msvc@npm:1.3.68": - version: 1.3.68 - resolution: "@swc/core-win32-ia32-msvc@npm:1.3.68" +"@swc/core-win32-ia32-msvc@npm:1.3.74": + version: 1.3.74 + resolution: "@swc/core-win32-ia32-msvc@npm:1.3.74" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@swc/core-win32-x64-msvc@npm:1.3.68": - version: 1.3.68 - resolution: "@swc/core-win32-x64-msvc@npm:1.3.68" +"@swc/core-win32-x64-msvc@npm:1.3.74": + version: 1.3.74 + resolution: "@swc/core-win32-x64-msvc@npm:1.3.74" conditions: os=win32 & cpu=x64 languageName: node linkType: hard "@swc/core@npm:^1.3.46": - version: 1.3.68 - resolution: "@swc/core@npm:1.3.68" + version: 1.3.74 + resolution: "@swc/core@npm:1.3.74" dependencies: - "@swc/core-darwin-arm64": 1.3.68 - "@swc/core-darwin-x64": 1.3.68 - "@swc/core-linux-arm-gnueabihf": 1.3.68 - "@swc/core-linux-arm64-gnu": 1.3.68 - "@swc/core-linux-arm64-musl": 1.3.68 - "@swc/core-linux-x64-gnu": 1.3.68 - "@swc/core-linux-x64-musl": 1.3.68 - "@swc/core-win32-arm64-msvc": 1.3.68 - "@swc/core-win32-ia32-msvc": 1.3.68 - "@swc/core-win32-x64-msvc": 1.3.68 + "@swc/core-darwin-arm64": 1.3.74 + "@swc/core-darwin-x64": 1.3.74 + "@swc/core-linux-arm-gnueabihf": 1.3.74 + "@swc/core-linux-arm64-gnu": 1.3.74 + "@swc/core-linux-arm64-musl": 1.3.74 + "@swc/core-linux-x64-gnu": 1.3.74 + "@swc/core-linux-x64-musl": 1.3.74 + "@swc/core-win32-arm64-msvc": 1.3.74 + "@swc/core-win32-ia32-msvc": 1.3.74 + "@swc/core-win32-x64-msvc": 1.3.74 peerDependencies: "@swc/helpers": ^0.5.0 dependenciesMeta: @@ -16177,7 +16177,7 @@ __metadata: peerDependenciesMeta: "@swc/helpers": optional: true - checksum: f56ad1d4cb91f7cc1cb5d4b9894bbb528da0b2eabc98984581f5b3f3187cf2c0d512003880f6ff7a3f6d215b7a3dcbf5a9c45e8a428ac2d711941027c0151d89 + checksum: fd61d65fbfceb372178a14cfa998c649481a728e33b68bad90fed0ff05b34fb432f88dafb0c2257d54c4de49cdcdd12d2b5fe66f79abc553656445910f163adb languageName: node linkType: hard @@ -16191,14 +16191,14 @@ __metadata: linkType: hard "@swc/jest@npm:^0.2.22": - version: 0.2.26 - resolution: "@swc/jest@npm:0.2.26" + version: 0.2.27 + resolution: "@swc/jest@npm:0.2.27" dependencies: "@jest/create-cache-key-function": ^27.4.2 jsonc-parser: ^3.2.0 peerDependencies: "@swc/core": "*" - checksum: 771821ed08cf168ca0b6307dee7689253d0af0685acd08408ac431860a7c42ace892db2cb6bb6dcfe297edbdce0f2e22d44ed4ed72d1c621be9e841cffd408a0 + checksum: db258e13f9eb9441d4d924684452939fb49016a4a2eaf7700cbf5eb4f90dff96bb7ce240ed539adbcd41b45fe62bacdc1d3f3d995403af44d54501b41f1ec72f languageName: node linkType: hard From 072b7e26a44b27b632acba1dd3d3c73e3662652f Mon Sep 17 00:00:00 2001 From: ModupeD Date: Thu, 3 Aug 2023 16:13:51 -0400 Subject: [PATCH 3/4] Added Flightcontrol deployment option Signed-off-by: ModupeD Signed-off-by: ModupeD --- .github/vale/Vocab/Backstage/accept.txt | 2 + docs/deployment/flightcontrol.md | 78 +++++++++++++++++++++++++ microsite/sidebars.json | 1 + 3 files changed, 81 insertions(+) create mode 100644 docs/deployment/flightcontrol.md diff --git a/.github/vale/Vocab/Backstage/accept.txt b/.github/vale/Vocab/Backstage/accept.txt index ed09c73c91..c61c6bdf46 100644 --- a/.github/vale/Vocab/Backstage/accept.txt +++ b/.github/vale/Vocab/Backstage/accept.txt @@ -123,6 +123,8 @@ FireHydrant Firekube Firestore Fiverr +Flightcontrol +flightcontrol Francesco Frontside gerrit diff --git a/docs/deployment/flightcontrol.md b/docs/deployment/flightcontrol.md new file mode 100644 index 0000000000..76dbd95984 --- /dev/null +++ b/docs/deployment/flightcontrol.md @@ -0,0 +1,78 @@ +--- +id: flightcontrol +title: Deploying with Flightcontrol +sidebar_label: AWS Fargate via Flightcontrol +description: Deploying Backstage to AWS Fargate via Flightcontrol +--- + +This guide explains how to deploy Backstage to [Flightcontrol](https://www.flightcontrol.dev?ref=backstage), a platform that fully automates deployments to Amazon Web Services (AWS). Flightcontrol supports git-driven and image registry deployments. + +Before you begin, make sure you have a [Flightcontrol account](https://app.flightcontrol.dev/signup?ref=backstage) and a [Github account](https://github.com/login) to follow this guide. + +# Deployment Via Dashboard + +1. Create a new project from the Flightcontrol Dashboard + +2. Select the GitHub repo for your Backstage project + +3. Select `GUI` as the config type: + +4. Then, choose `+ Add Web Server (Fargate)` under Services before entering the following server information: + +| Field Name | Value | +| ----------------- | ----------------- | +| Build Type | Custom Dockerfile | +| Health Check Path | /catalog | +| Port | 7007 | + +5. Click `Create Project` and complete any required steps (like linking your AWS account). + +# Deployment via Code + +1. Create a new project from the Flightcontrol Dashboard + +2. Select the GitHub repo for your Backstage project + +3. Select the `flightcontrol.json` Config Type. + +```json filename="flightcontrol.json" +{ + "$schema": "https://app.flightcontrol.dev/schema.json", + "environments": [ + { + "id": "backstage", + "name": "Backstage", + "region": "us-west-2", + "source": { + "branch": "main" + }, + "services": [ + { + "id": "backstage", + "name": "Backstage", + "type": "fargate", + "buildType": "docker", + "dockerfilePath": "Dockerfile", + "dockerContext": ".", + "healthCheckPath": "/catalog", + "cpu": 0.5, + "memory": 1, + "domain": "backstage.yourapp.com", + "port": 7007, + "minInstances": 1, + "maxInstances": 1 + } + ] + } + ] +} +``` + +# Databases and Redis + +If you need a database or Redis for your Backstage plugins, you can easily add those to your Flightcontrol deployment. For more information, see [the flightcontrol docs](https://www.flightcontrol.dev/docs/guides/flightcontrol/using-code#redis?ref=backstage). + +## Troubleshooting + +- [Flightcontrol Documentation](https://www.flightcontrol.dev/docs?ref=backstage) +- [Troubleshooting](https://www.flightcontrol.dev/docs/troubleshooting?ref=backstage) diff --git a/microsite/sidebars.json b/microsite/sidebars.json index d9178396e8..80ca42a25c 100644 --- a/microsite/sidebars.json +++ b/microsite/sidebars.json @@ -328,6 +328,7 @@ "deployment/index", "deployment/scaling", "deployment/docker", + "deployment/flightcontrol", "deployment/k8s", "deployment/heroku", "deployment/koyeb", From 04913b7b7e8a4dbe974259b2037df2e00aa11133 Mon Sep 17 00:00:00 2001 From: ModupeD Date: Fri, 4 Aug 2023 09:09:20 -0400 Subject: [PATCH 4/4] Updated Sidebar and Redis Links Signed-off-by: ModupeD --- docs/deployment/flightcontrol.md | 2 +- microsite/sidebars.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/deployment/flightcontrol.md b/docs/deployment/flightcontrol.md index 76dbd95984..482e9341ea 100644 --- a/docs/deployment/flightcontrol.md +++ b/docs/deployment/flightcontrol.md @@ -70,7 +70,7 @@ Before you begin, make sure you have a [Flightcontrol account](https://app.fligh # Databases and Redis -If you need a database or Redis for your Backstage plugins, you can easily add those to your Flightcontrol deployment. For more information, see [the flightcontrol docs](https://www.flightcontrol.dev/docs/guides/flightcontrol/using-code#redis?ref=backstage). +If you need a database or Redis for your Backstage plugins, you can easily add those to your Flightcontrol deployment. For more information, see [the flightcontrol docs](https://www.flightcontrol.dev/docs/guides/flightcontrol/using-code?ref=backstage#redis). ## Troubleshooting diff --git a/microsite/sidebars.json b/microsite/sidebars.json index 80ca42a25c..198195eea1 100644 --- a/microsite/sidebars.json +++ b/microsite/sidebars.json @@ -328,10 +328,10 @@ "deployment/index", "deployment/scaling", "deployment/docker", - "deployment/flightcontrol", "deployment/k8s", "deployment/heroku", "deployment/koyeb", + "deployment/flightcontrol", { "type": "category", "label": "Using Backstage Deploy (alpha)",