Version Packages
This commit is contained in:
@@ -1,5 +1,93 @@
|
||||
# @backstage/backend-common
|
||||
|
||||
## 0.15.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 399286d7dd: Workaround support for `swc` instead of `sucrase`
|
||||
- eadf56bbbf: Bump `git-url-parse` version to `^13.0.0`
|
||||
- c3c90280be: Added a keep-alive refresh loop to the `DatabaseManager`, keeping the connection
|
||||
pool up.
|
||||
- c3c90280be: The options part of `DatabaseManager.fromConfig` now accepts an optional logger
|
||||
field.
|
||||
- 3d4f5daadf: Remove use of deprecated trimLeft/trimRight
|
||||
- bf3cc134eb: Implemented KubernetesContainerRunner: a ContainerRunner implementation that leverages Jobs on a kubernetes cluster
|
||||
|
||||
```ts
|
||||
const kubeConfig = new KubeConfig();
|
||||
kubeConfig.loadFromDefault();
|
||||
|
||||
const options: KubernetesContainerRunnerOptions = {
|
||||
kubeConfig,
|
||||
// namespace where Jobs will be created
|
||||
namespace: 'default',
|
||||
// Jobs name will be prefixed with this name
|
||||
name: 'my-runner',
|
||||
// An existing Kubernetes volume that will be used
|
||||
// as base for mounts
|
||||
mountBase: {
|
||||
volumeName: 'workdir',
|
||||
// Every mount must start with the base path
|
||||
// see example below
|
||||
basePath: '/workdir',
|
||||
},
|
||||
// Define a Pod template for the Jobs. It has to include
|
||||
// a volume definition named as the mountBase volumeName
|
||||
podTemplate: {
|
||||
spec: {
|
||||
containers: [],
|
||||
volumes: [
|
||||
{
|
||||
name: 'workdir',
|
||||
persistentVolumeClaim: {
|
||||
claimName: 'workdir-claim',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
};
|
||||
const containerRunner = new KubernetesContainerRunner(options);
|
||||
|
||||
const runOptions: RunContainerOptions = {
|
||||
imageName: 'golang:1.17',
|
||||
args: ['echo', 'hello world'],
|
||||
mountDirs: {
|
||||
'/workdir/app': '/app',
|
||||
},
|
||||
};
|
||||
containerRunner.runContainer(runOptions);
|
||||
```
|
||||
|
||||
- e3b1993788: Added port ranges in allowed hosts:
|
||||
|
||||
```yaml
|
||||
reading:
|
||||
allow:
|
||||
- host: *.examples.org:900-1000
|
||||
```
|
||||
|
||||
- 2f52e74b49: Got rid of usages of the uppercase String type
|
||||
- 60b85d8ade: Updated dependency `helmet` to `^6.0.0`.
|
||||
|
||||
Please note that these policies are no longer applied by default:
|
||||
|
||||
helmet.contentSecurityPolicy no longer sets block-all-mixed-content directive by default
|
||||
helmet.expectCt is no longer set by default. It can, however, be explicitly enabled. It will be removed in Helmet 7.
|
||||
|
||||
- 667d917488: Updated dependency `msw` to `^0.47.0`.
|
||||
- 87ec2ba4d6: Updated dependency `msw` to `^0.46.0`.
|
||||
- bf5e9030eb: Updated dependency `msw` to `^0.45.0`.
|
||||
- 709f468330: The `branch` command has been added to the `isomorphic-git` wrapper.
|
||||
- 0c780278e0: Fix for entries being skipped or incomplete when reading large zip archives.
|
||||
- 96689fbdcb: Workaround for a rare race condition in tests.
|
||||
- Updated dependencies
|
||||
- @backstage/integration@1.3.1
|
||||
- @backstage/config-loader@1.1.4
|
||||
- @backstage/cli-common@0.1.10
|
||||
- @backstage/config@1.0.2
|
||||
- @backstage/errors@1.1.1
|
||||
|
||||
## 0.15.1-next.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/backend-common",
|
||||
"description": "Common functionality library for Backstage backends",
|
||||
"version": "0.15.1-next.3",
|
||||
"version": "0.15.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"publishConfig": {
|
||||
@@ -34,11 +34,11 @@
|
||||
"test:kubernetes": "backstage-cli package test -t KubernetesContainerRunner --no-watch"
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/cli-common": "^0.1.10-next.0",
|
||||
"@backstage/config": "^1.0.2-next.0",
|
||||
"@backstage/config-loader": "^1.1.4-next.2",
|
||||
"@backstage/errors": "^1.1.1-next.0",
|
||||
"@backstage/integration": "^1.3.1-next.2",
|
||||
"@backstage/cli-common": "^0.1.10",
|
||||
"@backstage/config": "^1.0.2",
|
||||
"@backstage/config-loader": "^1.1.4",
|
||||
"@backstage/errors": "^1.1.1",
|
||||
"@backstage/integration": "^1.3.1",
|
||||
"@backstage/types": "^1.0.0",
|
||||
"@google-cloud/storage": "^6.0.0",
|
||||
"@keyv/redis": "^2.2.3",
|
||||
@@ -94,8 +94,8 @@
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/backend-test-utils": "^0.1.28-next.3",
|
||||
"@backstage/cli": "^0.19.0-next.3",
|
||||
"@backstage/backend-test-utils": "^0.1.28",
|
||||
"@backstage/cli": "^0.19.0",
|
||||
"@types/archiver": "^5.1.0",
|
||||
"@types/base64-stream": "^1.0.2",
|
||||
"@types/compression": "^1.7.0",
|
||||
|
||||
Reference in New Issue
Block a user