Skip to content

Commit f88b620

Browse files
authored
fix: return hostPortMapping propert for a build (#95)
1 parent 4a43901 commit f88b620

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎src/server/services/build.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export default class BuildService extends BaseService {
195195
);
196196
})
197197
.modifyGraph('deploys.deployable', (b) => {
198-
b.select('name', 'type', 'dockerfilePath', 'deploymentDependsOn', 'builder', 'ecr', 'grpc');
198+
b.select('name', 'type', 'dockerfilePath', 'deploymentDependsOn', 'builder', 'ecr', 'grpc', 'hostPortMapping');
199199
})
200200
.modifyGraph('deploys.repository', (b) => {
201201
b.select('fullName');

‎src/shared/openApiSpec.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ export const openApiSpecificationForV2Api: OAS3Options = {
555555
},
556556
ecr: { type: 'string', example: '123456789012.dkr.ecr.us-west-2.amazonaws.com/myapp' },
557557
grpc: { type: 'boolean', example: true },
558+
hostPortMapping: { type: 'object', example: { '80': 8080 } },
558559
},
559560
required: ['name', 'type', 'dockerfilePath', 'deploymentDependsOn', 'builder', 'ecr'],
560561
},

0 commit comments

Comments
 (0)