Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,40 @@

This is the changelog for Scramjet Transform Hub. It holds only notable commits, others are grouped without commit info.

## [0.37.0] - 2023-11-27

## Features

* VDM-1493 [TEST CLI] Feat/Instance restart by @karoltylenda in https://github.com/scramjetorg/transform-hub/pull/965
* [CLI] Add `si seq start <seq-id> --inst-id` to CLI command by @a-tylenda in https://github.com/scramjetorg/transform-hub/pull/966
* Add option to provide file with arguments to start/deploy sequence by @patuwwy in https://github.com/scramjetorg/transform-hub/pull/971
* Feat/cli yaml config by @piotrek6641 in https://github.com/scramjetorg/transform-hub/pull/980
* Example configs by @a-tylenda in https://github.com/scramjetorg/transform-hub/pull/968
* add create and remove new profile by @karoltylenda in https://github.com/scramjetorg/transform-hub/pull/975
* GPU in Python Runner (docker) by @patuwwy in https://github.com/scramjetorg/transform-hub/pull/928
* [CLI]add path option to si init by @karoltylenda in https://github.com/scramjetorg/transform-hub/pull/989
* Pagination-support by @gzukowski in https://github.com/scramjetorg/transform-hub/pull/949
* [CLI TEST] VDM-1507 si init by @karoltylenda in https://github.com/scramjetorg/transform-hub/pull/990
* Set default runner envs with `--runner-envs` STH param by @piotrek6641 in https://github.com/scramjetorg/transform-hub/pull/986

## Fixed

* [FIX] Instance ID replacement in `si inst restart -` by @a-tylenda in https://github.com/scramjetorg/transform-hub/pull/963
* Bump @babel/traverse from 7.20.13 to 7.23.2 by @dependabot in https://github.com/scramjetorg/transform-hub/pull/964
* fix variable name by @piotrek6641 in https://github.com/scramjetorg/transform-hub/pull/967
* [CLI] Remove session configs with write access by @patuwwy in https://github.com/scramjetorg/transform-hub/pull/970
* Show Node version on Host start by @patuwwy in https://github.com/scramjetorg/transform-hub/pull/974
* Auto set contenty-type in PANG by @patuwwy in https://github.com/scramjetorg/transform-hub/pull/972
* Fix ObjLogger arguments reference by @patuwwy in https://github.com/scramjetorg/transform-hub/pull/973
* Fix logging circular args by @patuwwy in https://github.com/scramjetorg/transform-hub/pull/977
* Set Node to 18 in STH and Runner Dockerfiles by @patuwwy in https://github.com/scramjetorg/transform-hub/pull/979
* VDM-1516 change node in workflow and as defualt input from 16 to 18 by @tomekcrm in https://github.com/scramjetorg/transform-hub/pull/981
* [FIX] Add missing hostClient types by @a-tylenda in https://github.com/scramjetorg/transform-hub/pull/982
* Fix linting and duplicated code by @patuwwy in https://github.com/scramjetorg/transform-hub/pull/984
* [FIX] VDM-1507 add missed description by @karoltylenda in https://github.com/scramjetorg/transform-hub/pull/992
* Change in makeRequest method by @patuwwy in https://github.com/scramjetorg/transform-hub/pull/991
* Small cleanup in host and runner logs by @patuwwy in https://github.com/scramjetorg/transform-hub/pull/995

## [0.36.1] - 2023-10-02

## Fixed
Expand Down
2 changes: 1 addition & 1 deletion bdd/data/sequences/args-config-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/scramjetorg/transform-hub.git"
},
"devDependencies": {
"@scramjet/types": "0.36.1"
"@scramjet/types": "0.37.0"
},
"private": true
}
2 changes: 1 addition & 1 deletion bdd/data/sequences/args-to-output/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"author": "Scramjet <[email protected]>",
"license": "ISC",
"devDependencies": {
"@scramjet/types": "^0.36.1",
"@scramjet/types": "^0.37.0",
"@types/node": "15.12.5"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion bdd/data/sequences/deploy-app/dist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"author": "Scramjet <[email protected]>",
"license": "ISC",
"devDependencies": {
"@scramjet/types": "^0.36.1",
"@scramjet/types": "^0.37.0",
"@types/node": "15.12.5"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion bdd/data/sequences/deploy-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"author": "Scramjet <[email protected]>",
"license": "ISC",
"devDependencies": {
"@scramjet/types": "^0.36.1",
"@scramjet/types": "^0.37.0",
"@types/node": "15.12.5"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion bdd/iac-test-data/sequences/infinite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"build": "si pack -o ../hello-2.tar.gz ."
},
"devDependencies": {
"@scramjet/types": "^0.36.1"
"@scramjet/types": "^0.37.0"
}
}
12 changes: 6 additions & 6 deletions bdd/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "scramjet-bdd",
"version": "0.36.1",
"version": "0.37.0",
"description": "As the \"problem scope\" of the business problem that our technology solves is quite complex, we decided to use the BDD practice to support the development process. BDD is a methodology of high automation and agility. It describes a cycle of interactions with well-defined outcomes. As a result of these activities, we obtain working, tested software that has a real value.",
"main": "_cucumber.js",
"dependencies": {
"@scramjet/api-client": "^0.36.1",
"@scramjet/logger": "^0.36.1",
"@scramjet/obj-logger": "^0.36.1",
"@scramjet/sth-config": "^0.36.1",
"@scramjet/api-client": "^0.37.0",
"@scramjet/logger": "^0.37.0",
"@scramjet/obj-logger": "^0.37.0",
"@scramjet/sth-config": "^0.37.0",
"dockerode": "^3.3.4",
"find-package-json": "^1.2.0",
"freeport": "^1.0.5",
Expand All @@ -17,7 +17,7 @@
"devDependencies": {
"@cucumber/cucumber": "^7.3.2",
"@cucumber/pretty-formatter": "^1.0.0",
"@scramjet/types": "^0.36.1"
"@scramjet/types": "^0.37.0"
},
"scripts": {
"build:bdd": "tsc -p tsconfig.json",
Expand Down
47 changes: 29 additions & 18 deletions docs/adapters/classes/DockerInstanceAdapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Adapter for running Instance by Runner executed in Docker container.
- [id](DockerInstanceAdapter.md#id)
- [logger](DockerInstanceAdapter.md#logger)
- [resources](DockerInstanceAdapter.md#resources)
- [sthConfig](DockerInstanceAdapter.md#sthconfig)

### Methods

Expand Down Expand Up @@ -60,7 +61,7 @@ ___

#### Defined in

[docker-instance-adapter.ts:39](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L39)
[docker-instance-adapter.ts:40](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L40)

___

Expand All @@ -84,7 +85,7 @@ ILifeCycleAdapterMain.id

#### Defined in

[docker-instance-adapter.ts:35](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L35)
[docker-instance-adapter.ts:36](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L36)

___

Expand All @@ -98,7 +99,7 @@ ILifeCycleAdapterMain.logger

#### Defined in

[docker-instance-adapter.ts:37](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L37)
[docker-instance-adapter.ts:38](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L38)

___

Expand All @@ -110,6 +111,16 @@ ___

[docker-instance-adapter.ts:34](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L34)

___

### sthConfig

• `Private` **sthConfig**: `STHConfiguration`

#### Defined in

[docker-instance-adapter.ts:35](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L35)

## Methods

### cleanup
Expand All @@ -129,7 +140,7 @@ ILifeCycleAdapterMain.cleanup

#### Defined in

[docker-instance-adapter.ts:249](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L249)
[docker-instance-adapter.ts:254](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L254)

___

Expand All @@ -147,7 +158,7 @@ ILifeCycleAdapterMain.getCrashLog

#### Defined in

[docker-instance-adapter.ts:278](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L278)
[docker-instance-adapter.ts:283](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L283)

___

Expand All @@ -161,7 +172,7 @@ ___

#### Defined in

[docker-instance-adapter.ts:133](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L133)
[docker-instance-adapter.ts:135](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L135)

___

Expand All @@ -186,7 +197,7 @@ Configuration for exposing and binding ports in Docker container.

#### Defined in

[docker-instance-adapter.ts:97](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L97)
[docker-instance-adapter.ts:99](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L99)

___

Expand All @@ -204,7 +215,7 @@ ILifeCycleAdapterMain.init

#### Defined in

[docker-instance-adapter.ts:52](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L52)
[docker-instance-adapter.ts:54](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L54)

___

Expand All @@ -228,7 +239,7 @@ ILifeCycleAdapterRun.monitorRate

#### Defined in

[docker-instance-adapter.ts:261](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L261)
[docker-instance-adapter.ts:266](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L266)

___

Expand All @@ -254,7 +265,7 @@ Promise resolving with map of ports mapping.

#### Defined in

[docker-instance-adapter.ts:66](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L66)
[docker-instance-adapter.ts:68](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L68)

___

Expand All @@ -274,7 +285,7 @@ ILifeCycleAdapterMain.remove

#### Defined in

[docker-instance-adapter.ts:268](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L268)
[docker-instance-adapter.ts:273](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L273)

___

Expand All @@ -300,7 +311,7 @@ ILifeCycleAdapterRun.run

#### Defined in

[docker-instance-adapter.ts:171](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L171)
[docker-instance-adapter.ts:173](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L173)

___

Expand Down Expand Up @@ -328,24 +339,24 @@ ILifeCycleAdapterRun.stats

#### Defined in

[docker-instance-adapter.ts:114](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L114)
[docker-instance-adapter.ts:116](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L116)

## Constructors

### constructor

• **new DockerInstanceAdapter**(`_sthConfig`, `id?`)
• **new DockerInstanceAdapter**(`sthConfig`, `id?`)

#### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `_sthConfig` | `STHConfiguration` | `undefined` |
| `sthConfig` | `STHConfiguration` | `undefined` |
| `id` | `string` | `""` |

#### Defined in

[docker-instance-adapter.ts:44](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L44)
[docker-instance-adapter.ts:45](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L45)

## Accessors

Expand All @@ -363,7 +374,7 @@ ILifeCycleAdapterRun.limits

#### Defined in

[docker-instance-adapter.ts:41](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L41)
[docker-instance-adapter.ts:42](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L42)

• `set` **limits**(`value`): `void`

Expand All @@ -383,4 +394,4 @@ ILifeCycleAdapterRun.limits

#### Defined in

[docker-instance-adapter.ts:42](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L42)
[docker-instance-adapter.ts:43](https://github.com/scramjetorg/transform-hub/blob/HEAD/packages/adapters/src/docker-instance-adapter.ts#L43)
Loading