Skip to content

Commit

Permalink
Merge pull request #20 from hopinc/feat/deployment-stateful-type
Browse files Browse the repository at this point in the history
  • Loading branch information
alii authored Sep 21, 2022
2 parents d209ef9 + bd1fdb0 commit d86479a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/hot-hairs-appear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@onehop/js': patch
---

Added stateful RuntimeType
5 changes: 5 additions & 0 deletions src/rest/types/ignite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ export enum RuntimeType {
* Persistent deployments/containers will restart if they exit. They can also be started and stopped programmatically.
*/
PERSISTENT = 'persistent',

/**
* Stateful deployments/containers can only run one container at a time, and will have a persistent volume attached.
*/
STATEFUL = 'stateful',
}

/**
Expand Down

1 comment on commit d86479a

@vercel
Copy link

@vercel vercel bot commented on d86479a Sep 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

hop-js – ./

hop-js-git-master-onehop.vercel.app
js.hop.io
hop-js.vercel.app
hop-js-onehop.vercel.app

Please sign in to comment.