Skip to content

Commit

Permalink
Merge pull request #51 from hopinc/add-metadata-to-deployment
Browse files Browse the repository at this point in the history
Add metadata to deployment
  • Loading branch information
Looskie authored Nov 4, 2022
2 parents 9f9956c + f5c258a commit 90088f2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/thin-weeks-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@onehop/js': patch
---

Add metadata to deployment
9 changes: 9 additions & 0 deletions src/rest/types/ignite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,15 @@ export interface Deployment {
* The target amount of containers a deployment should run
*/
target_container_count: number;

/**
* Metadata for deployment
*/
metadata: DeploymentMetaData | null;
}

export interface DeploymentMetaData {
container_port_mappings: Record<string, string[]>;
}

export interface BuildMetaData {
Expand Down

1 comment on commit 90088f2

@vercel
Copy link

@vercel vercel bot commented on 90088f2 Nov 4, 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-onehop.vercel.app
hop-js.vercel.app

Please sign in to comment.