diff --git a/lib/restate-constructs/fargate-restate-deployment.ts b/lib/restate-constructs/fargate-restate-deployment.ts index ddb4844..c9e93be 100644 --- a/lib/restate-constructs/fargate-restate-deployment.ts +++ b/lib/restate-constructs/fargate-restate-deployment.ts @@ -28,7 +28,7 @@ const PUBLIC_ADMIN_PORT = 9070; const RESTATE_INGRESS_PORT = 8080; const RESTATE_ADMIN_PORT = 9070; const RESTATE_IMAGE_DEFAULT = "docker.restate.dev/restatedev/restate"; -const RESTATE_DOCKER_DEFAULT_TAG = "1.6"; +const RESTATE_DOCKER_DEFAULT_TAG = "1.7"; const ADOT_DOCKER_DEFAULT_TAG = "latest"; export interface RestateFargateProps { @@ -101,6 +101,9 @@ export interface RestateFargateProps { * Creates a Restate service deployment running as a Fargate task and backed by EFS. * * Please note that this construct is still experimental! Use with caution. + * + * @deprecated This construct will be removed in a future release. To run Restate on Kubernetes, use the Restate Helm + * chart or the restate-operator instead. */ export class FargateRestateDeployment extends Construct implements IRestateEnvironment { readonly invokerRole: iam.IRole; diff --git a/lib/restate-constructs/single-node-restate-deployment.ts b/lib/restate-constructs/single-node-restate-deployment.ts index 30496f9..2d4f472 100644 --- a/lib/restate-constructs/single-node-restate-deployment.ts +++ b/lib/restate-constructs/single-node-restate-deployment.ts @@ -146,8 +146,8 @@ const RESTATE_TLS_INGRESS_PORT = 443; const RESTATE_ADMIN_PORT = 9070; const RESTATE_TLS_ADMIN_PORT = 9073; const RESTATE_IMAGE_DEFAULT = "docker.restate.dev/restatedev/restate"; -const RESTATE_DOCKER_DEFAULT_TAG = "1.6"; -const RESTATE_NPM_DEFAULT_TAG = "1.6"; +const RESTATE_DOCKER_DEFAULT_TAG = "1.7"; +const RESTATE_NPM_DEFAULT_TAG = "1.7"; const ADOT_DOCKER_DEFAULT_TAG = "latest"; const DATA_DEVICE_NAME = "/dev/sdd"; @@ -168,6 +168,9 @@ const DATA_DEVICE_NAME = "/dev/sdd"; * * See {@link SingleNodeRestateProps} for available configuration options, and {@link ServiceDeployer} for deploying * Lambda handlers to environments. + * + * @deprecated This construct will be removed in a future release. To run Restate on Kubernetes, use the Restate Helm + * chart or the restate-operator instead. */ export class SingleNodeRestateDeployment extends Construct implements IRestateEnvironment { readonly instance: ec2.Instance; diff --git a/package-lock.json b/package-lock.json index c318f07..14efed8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@restatedev/restate-cdk", - "version": "1.6.2", + "version": "1.7.0-SNAPSHOT", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@restatedev/restate-cdk", - "version": "1.6.2", + "version": "1.7.0-SNAPSHOT", "license": "MIT", "devDependencies": { "@aws-sdk/client-secrets-manager": "^3.1072.0", diff --git a/package.json b/package.json index daa8626..0e7f7f7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@restatedev/restate-cdk", "description": "Restate.dev CDK constructs", - "version": "1.6.2", + "version": "1.7.0-SNAPSHOT", "author": "Restate Developers", "license": "MIT", "email": "code@restate.dev", diff --git a/test/__snapshots__/restate-constructs.test.ts.snap b/test/__snapshots__/restate-constructs.test.ts.snap index 8e479aa..459e71e 100644 --- a/test/__snapshots__/restate-constructs.test.ts.snap +++ b/test/__snapshots__/restate-constructs.test.ts.snap @@ -659,7 +659,7 @@ exports[`Restate constructs Create a self-hosted Restate environment deployed on yum install -y aws-cfn-bootstrap yum install -y npm && npm install -gq - @restatedev/restate@1.6 @restatedev/restatectl@1.6 + @restatedev/restate@1.7 @restatedev/restatectl@1.7 yum install -y docker @@ -745,7 +745,7 @@ exports[`Restate constructs Create a self-hosted Restate environment deployed on --log-driver=awslogs --log-opt awslogs-group= - Ref: RestateLogsFD86ECAE - >2- - docker.restate.dev/restatedev/restate:1.6 --config-file /etc/restate/config.toml + docker.restate.dev/restatedev/restate:1.7 --config-file /etc/restate/config.toml yum install -y nginx mkdir -p /etc/pki/private @@ -1049,7 +1049,7 @@ exports[`Restate constructs Create a self-hosted Restate environment deployed on yum install -y aws-cfn-bootstrap yum install -y npm && npm install -gq - @restatedev/restate@1.6 @restatedev/restatectl@1.6 + @restatedev/restate@1.7 @restatedev/restatectl@1.7 yum install -y docker